LWJGL Forum

Programming => OpenGL => Topic started by: Obsyd on June 13, 2014, 09:13:05

Title: GL_TIMESTAMP
Post by: Obsyd on June 13, 2014, 09:13:05
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!
Title: Re: GL_TIMESTAMP
Post by: basil on June 30, 2014, 19:23:27
not sure about long, but double

GL11.glGetDouble(GL33.GL_TIMESTAMP);

works for me :)
Title: Re: GL_TIMESTAMP
Post by: Obsyd on July 02, 2014, 12:24:13
GL11.glGetDouble(GL33.GL_TIMESTAMP);
sadly gives 0.0 :(
Title: Re: GL_TIMESTAMP
Post by: basil on July 02, 2014, 13:49:24
maybe your system does not support ARB_timer_query.

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

i think that's required.