Reputation: 556
I need the timespan it took to deal with a set of drawing calls on the gpu-side. OpenGL 3.2+ has the "GL_ARB_timer_query"-extension for that. Unfortunately MacOSX still doesn;t support that extension.
How would you be able to measure time on the gpu-side, there must be an old-fashioned way or different way to do that.
Upvotes: 0
Views: 453
Reputation: 473184
How would you be able to measure time on the gpu-side, there must be an old-fashioned way or different way to do that.
Why must there be one? Indeed, ARB_timer_query exists because there was never a way to time GPU operations. That's what it's for, and it is the only accurate mechanism OpenGL has to do it.
There have always been general profiling techniques, like changing resolution to test to see if you're "fillrate" bound or not and so forth. But there is no way to actually measure GPU processing time in OpenGL other than ARB_timer_query.
Upvotes: 2