obs-studio/plugins/text-freetype2
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
..
cmake cmake: Remove Info.plist template files for macOS builds 2023-06-17 12:23:33 -04:00
data text-freetype2: Use a shader uniform instead of vertex attributes 2024-04-22 01:01:47 -07:00
CMakeLists.txt plugins: Update CMake formatting with manual format choices 2023-12-19 17:59:44 -05:00
find-font-cocoa.m clang-format: Update formatting of all ObjC and ObjC++ files 2023-06-11 14:56:45 +02:00
find-font-iconv.c clang-format: Apply formatting 2019-06-23 23:49:10 -07:00
find-font-unix.c clang-format: Apply formatting 2019-06-23 23:49:10 -07:00
find-font-windows.c clang-format: Apply formatting 2019-06-23 23:49:10 -07:00
find-font.c text-freetype2: Fix warning about implicit integer downcast 2023-08-31 17:52:08 -04:00
find-font.h cmake: Add changes for CMake build framework 3.0 2023-03-26 18:20:38 -04:00
obs-convenience.c text-freetype2: Use a shader uniform instead of vertex attributes 2024-04-22 01:01:47 -07:00
obs-convenience.h text-freetype2: Use a shader uniform instead of vertex attributes 2024-04-22 01:01:47 -07:00
text-freetype2.c text-freetype2: Use a shader uniform instead of vertex attributes 2024-04-22 01:01:47 -07:00
text-freetype2.h text-freetype2: Use a shader uniform instead of vertex attributes 2024-04-22 01:01:47 -07:00
text-functionality.c text-freetype2: Use a shader uniform instead of vertex attributes 2024-04-22 01:01:47 -07:00