Hi
I want to measure the rendering time of my scene. But using vertex/fragment shader and because of the pipeline, I can’t simply measure the time of my draw () method. How can I measure exactly the time to render one frame?
Thanks
beginTimer();
drawGL();
glFinish();
endTimer();
Originally posted by KRONOS:
[b]beginTimer();
drawGL();
glFinish();
endTimer();[/b]
Does glFinish also wait that the fragment/vertex program is finished?
Originally posted by Fynch:
Does glFinish also wait that the fragment/vertex program is finished?
Yes, glFinish doesn’t return until previous GL calls terminate…
This topic was automatically closed 183 days after the last reply. New replies are no longer allowed.