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:
@@ -771,6 +771,8 @@ add_library(Common STATIC
|
||||
Common/GPU/OpenGL/GLRenderManager.h
|
||||
Common/GPU/OpenGL/GLQueueRunner.cpp
|
||||
Common/GPU/OpenGL/GLQueueRunner.h
|
||||
Common/GPU/OpenGL/GLProfiler.cpp
|
||||
Common/GPU/OpenGL/GLProfiler.h
|
||||
Common/GPU/OpenGL/DataFormatGL.cpp
|
||||
Common/GPU/OpenGL/DataFormatGL.h
|
||||
Common/GPU/Vulkan/VulkanBarrier.cpp
|
||||
|
||||
Reference in New Issue
Block a user