From bc5375149c0ecb416848a2d3657ea41ae97177b3 Mon Sep 17 00:00:00 2001 From: Fox Caminiti Date: Wed, 10 Aug 2022 21:24:03 -0400 Subject: path rasterization started with opengl --- functions.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'functions.h') diff --git a/functions.h b/functions.h index 89f8955..81f18ee 100644 --- a/functions.h +++ b/functions.h @@ -23,4 +23,12 @@ static cached_bitmap * AV_LoadVideoFrame(source *Source, memory *Memory, int32 T static cached_bitmap * Cache_CheckBitmap(source *Source, layer_bitmap_info *BitmapInfo, memory *Memory, int32 TimelineFrame); static void TestGL_InitTexture(gl_effect_layer *Test, void *Data, uint16 Width, uint16 Height); +static gl_effect TestGL_MaskInitVerts(mask Mask); +static void TestGL_InitVerts(); +static gl_vertex_shader TestGL_MaskUploadVerts(project_layer *Layer, mask *Mask); + +static v2 Line_RatioToPoint(v2 a, v2 b, float ratio); +static v2 ImGui_ScreenPointToCompUV(ImVec2 ViewportMin, ImVec2 CompPos, ImVec2 CompZoom, ImVec2 MousePos); + +void Bezier_CubicCalcPoints(v2 p1, v2 p2, v2 p3, v2 p4, void *Data, uint32 *Increment); -- cgit v1.2.3