- Introduced a new structure ImGui_ImplSDLSurface3_Quad to represent quads. - Added functions to detect quads and check for constant colors and linear UVs. - Enhanced rendering functions to utilize quad detection for faster rendering paths. - Updated the rendering logic in ImGui_ImplSDLSurface3_RenderDrawData to leverage the new quad rendering capabilities. - Optimized Makefiles and build scripts to include optimization flags for better performance.
8 lines
416 B
Batchfile
8 lines
416 B
Batchfile
@set OUT_DIR=Debug
|
|
@set OUT_EXE=example_sdl3_surface
|
|
@set INCLUDES=/I..\.. /I..\..\backends /I%SDL3_DIR%\include
|
|
@set SOURCES=main.cpp ..\..\backends\imgui_impl_sdl3.cpp ..\..\backends\imgui_impl_sdlsurface3.cpp ..\..\imgui*.cpp
|
|
@set LIBS=/LIBPATH:%SDL3_DIR%\lib\x86 SDL3.lib
|
|
mkdir %OUT_DIR%
|
|
cl /nologo /Zi /O2 /MD /utf-8 %INCLUDES% %SOURCES% /Fe%OUT_DIR%/%OUT_EXE%.exe /Fo%OUT_DIR%/ /link %LIBS% /subsystem:console
|