mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-28 16:53:40 +01:00
Add a trivial profiling tool to the OpenGL backend - meaasure the time it takes to run a frame of commands.
Accessed from the in-game dev menu just like the Vulkan frame profiler. With this we can easily see that actually submitting the GL commands is often the bottleneck on old devices like a Galaxy S3.
This commit is contained in:
1 parent
552746e2df
commit
05b6bbdc56
11 files changed
+60
-7
No files matched your search
+1
-1
@@ -1616,7 +1616,7 @@ void EmuScreen::renderUI() {
|
||||
DrawAllocatorVis(ctx, gpu);
|
||||
}
|
||||
|
||||
if (g_Config.iGPUBackend == (int)GPUBackend::VULKAN && g_Config.bShowGpuProfile) {
|
||||
if ((g_Config.iGPUBackend == (int)GPUBackend::VULKAN || g_Config.iGPUBackend == (int)GPUBackend::OPENGL) && g_Config.bShowGpuProfile) {
|
||||
DrawGPUProfilerVis(ctx, gpu);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user