You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, we only count the CPU/host time it takes between two consecutive glfwSwapBuffers calls.
More interesting for bottleneck analysis however would be to know the actual time it takes the GPU to perform a draw call.
So, for contexts that support it, we could use OpenGL Query Objects with glQueryCounter and the GL_TIMESTAMP target to count the GPU time.
The text was updated successfully, but these errors were encountered:
Currently, we only count the CPU/host time it takes between two consecutive
glfwSwapBuffers
calls.More interesting for bottleneck analysis however would be to know the actual time it takes the GPU to perform a draw call.
So, for contexts that support it, we could use OpenGL Query Objects with
glQueryCounter
and theGL_TIMESTAMP
target to count the GPU time.The text was updated successfully, but these errors were encountered: