We use some essential cookies to make our website work.

We use optional cookies, as detailed in our cookie policy, to remember your settings and understand how you use our website.

3 posts • Page 1 of 1
farrellf
Posts: 3
Joined: Sat Aug 13, 2022 9:45 pm

OpenGL Timer Queries

Sat Apr 26, 2025 12:34 am

With desktop OpenGL, we can use timer queries (glQueryCounter(handle, GL_TIMESTAMP)) but that's not supported with OpenGL ES. Is there any way to measure the time of a draw call on the Pi 4? I see that the "GL_AMD_performance_monitor" OpenGL extension is supported. Has anyone used that with the Pi 4? I have not found any examples of people using it.

Thanks,
-Farrell

farrellf
Posts: 3
Joined: Sat Aug 13, 2022 9:45 pm

Re: OpenGL Timer Queries

Mon May 12, 2025 9:18 pm

Looks like Igalia recently added support for OpenGL timer queries! They were added to Mesa 25, so hopefully that will show up in the repos soon.

They mentioned this in their FOSDEM talk a couple week ago:
https://www.youtube.com/watch?v=rX1J6QexjaM

Towards the end of that talk they talk about timer queries and profiling. Lots of good info.

cillian64
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 115
Joined: Tue Sep 26, 2023 8:49 am

Re: OpenGL Timer Queries

Tue May 13, 2025 4:47 pm

Very cool! It's unlikely we'll get Mesa 25 into bookworm but we should have Mesa 25 in trixie on release.

3 posts • Page 1 of 1

Return to "Graphics programming"

AltStyle によって変換されたページ (->オリジナル) /