mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-07-11 01:25:07 +02:00
OpenGL: Add GLProfiler for GPU timestamp profiling
Adds a new GLProfiler class for GPU-side timestamp profiling, similar to VulkanProfiler. Uses GL_EXT_disjoint_timer_query (GLES) or GL_ARB_timer_query (desktop GL). Features: - Scoped Begin()/End() profiling with printf-style naming - Automatic GPU disjoint detection (frequency changes invalidate results) - Millisecond timing output via INFO_LOG - Pre-allocated query pool (1024 queries max per frame) - Nested scope support with indented output Signed-off-by: Chris Healy <cphealy@gmail.com>
This commit is contained in:
@@ -476,6 +476,7 @@ SOURCES_CXX += \
|
||||
$(COMMONDIR)/GPU/OpenGL/GLRenderManager.cpp \
|
||||
$(COMMONDIR)/GPU/OpenGL/GLMemory.cpp \
|
||||
$(COMMONDIR)/GPU/OpenGL/GLQueueRunner.cpp \
|
||||
$(COMMONDIR)/GPU/OpenGL/GLProfiler.cpp \
|
||||
$(COMMONDIR)/GPU/OpenGL/DataFormatGL.cpp \
|
||||
$(COMMONDIR)/GPU/Vulkan/thin3d_vulkan.cpp \
|
||||
$(COMMONDIR)/GPU/Vulkan/VulkanQueueRunner.cpp \
|
||||
|
||||
Reference in New Issue
Block a user