mirror of
https://github.com/obsproject/obs-studio.git
synced 2024-07-14 23:34:08 +00:00
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. |
||
---|---|---|
.. | ||
cmake | ||
data | ||
CMakeLists.txt | ||
find-font-cocoa.m | ||
find-font-iconv.c | ||
find-font-unix.c | ||
find-font-windows.c | ||
find-font.c | ||
find-font.h | ||
obs-convenience.c | ||
obs-convenience.h | ||
text-freetype2.c | ||
text-freetype2.h | ||
text-functionality.c |