GL_TIMESTAMP

Started by Obsyd, June 13, 2014, 09:13:05

Previous topic - Next topic

Obsyd

Hello there!

I'm trying to profile my gpu and I'm running into problems.
The GL32.glGetInteger64(GL33.GL_TIMESTAMP) call always returns 0 for me.

I'm on OSX Mavericks with an AMD card.

What am I doing wrong? Thanks for the answers!

basil

not sure about long, but double

GL11.glGetDouble(GL33.GL_TIMESTAMP);


works for me :)

Obsyd

GL11.glGetDouble(GL33.GL_TIMESTAMP);
sadly gives 0.0 :(

basil

maybe your system does not support ARB_timer_query.

https://www.opengl.org/registry/specs/ARB/timer_query.txt

i think that's required.