diff options
author | Fox Caminiti <fox@foxcam.net> | 2022-11-23 20:39:55 -0500 |
---|---|---|
committer | Fox Caminiti <fox@foxcam.net> | 2022-11-23 20:39:55 -0500 |
commit | fd315f15828b8537a48530c094ced845edc3a1d3 (patch) | |
tree | e4c028f1b33c7dfd8de24d2ad2331ef4547cc3d9 /functions.h | |
parent | 6799b157bae5654d77d0fc2685a1ef3e4a7d9f4c (diff) |
effects reintroduction
Diffstat (limited to 'functions.h')
-rw-r--r-- | functions.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/functions.h b/functions.h index aec2c54..9cd6c6a 100644 --- a/functions.h +++ b/functions.h @@ -8,6 +8,7 @@ static void Arbitrary_ShiftData(uint8 *Address_Start, uint8 *Address_End, uint64 static void Render_Main(void *Data, void *OutputBuffer, render_type RenderType, rectangle RenderRegion); static v2 T_CompUVToLayerUV(layer_transforms T, uint32 FileWidth, uint32 FileHeight, uint32 SourceWidth, uint32 SourceHeight, v2 CompUV); +static header_effect* Effect_EntryFromID(project_state *State, char *ID); static void Interact_Transform_Begin(project_data *File, memory *Memory, project_state *State, ImVec2 OGPos, sorted_comp_info *SortedCompArray, sorted_layer *SortedLayerArray); @@ -21,6 +22,9 @@ static void * Memory_PushScratch(memory *Memory, uint64 Size); static void Memory_PopScratch(memory *Memory, uint64 Size); void Bitmap_SwapData(uint8 *Address_0, uint8 *Address_1, uint64 Size, uint16 BytesPerPixel); +void GL_DeleteHWBuffer(gl_effect_layer *Test); + +void GL_UpdateTexture(gl_effect_layer *Test, void *Data, uint16 Width, uint16 Height, uint16 BytesPerPixel, bool32 Multisample); static bezier_point * Bezier_LookupAddress(memory *Memory, property_channel *Property, uint16 Index, bool32 AssertExists = 1); static void Bezier_EvaluateValue(project_state *State, bezier_point *PointAddress, v2 *Pos, real32 Y_Increment); |