Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a trivial profiling tool to the OpenGL backend #17475

Merged
merged 1 commit into from
May 17, 2023

Conversation

hrydgard
Copy link
Owner

@hrydgard hrydgard commented May 17, 2023

Measures the time it takes to run a frame of commands (call all the glEnable/Disable/Draw/etc functions, to submit the frame to OpenGL).

Accessed from the in-game dev menu just like the Vulkan frame profiler.

With this we can easily (and cheaply) see that actually submitting the GL commands is often the biggest bottleneck on old devices like a Galaxy S3.

…e 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.
@hrydgard hrydgard added this to the v1.15.4 milestone May 17, 2023
@hrydgard hrydgard merged commit 5d7a051 into master May 17, 2023
@hrydgard hrydgard deleted the opengl-basic-profiler branch May 17, 2023 13:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant