obs-studio/plugins/text-freetype2/data
Kurt Kartaltepe cfb10ece79 text-freetype2: Use a shader uniform instead of vertex attributes
We used to swap in a buffer with (0,0,0,1) for all vertex colors for
drop shadows and outlines. However, this vertex buffer couldn't be
uploaded separately from the vertex data in OBS, so we were reuploading
the text vertices every frame.

Instead, let's use a uniform for this uniform data and save 500us (or
more when handles are visible), a significant portion of my test scenes
render time.
2024-04-22 01:01:47 -07:00
..
locale Update translations from Crowdin 2024-02-28 14:20:05 -05:00
text_default.effect text-freetype2: Use a shader uniform instead of vertex attributes 2024-04-22 01:01:47 -07:00