Skip to content

Frame time tracing#193

Merged
leod merged 2 commits intomainfrom
simple_EXT_disjoint_timer_query_webgl2
Jun 10, 2025
Merged

Frame time tracing#193
leod merged 2 commits intomainfrom
simple_EXT_disjoint_timer_query_webgl2

Conversation

@leod
Copy link
Owner

@leod leod commented Jun 10, 2025

Adds support for measuring the frame time with EXT_disjoint_timer_query_webgl2. Also, updates the glow dependency to be based on git, since we need grovesNL/glow#333 in order to check if a query result is available.

In theory, we could later extend this API to also support measuring the time of individual draw calls. This was my initial approach, but it did not result in reliable timings per draw call.

I've only been able to obtain useful timings when using Chrome with the GL backend for ANGLE.

@leod leod merged commit ef332f8 into main Jun 10, 2025
2 checks passed
@leod leod deleted the simple_EXT_disjoint_timer_query_webgl2 branch June 10, 2025 19:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant