Hello
Guest
Register
Login
1 Hour
1 Day
1 Week
1 Month
Forever
LWJGL 3.3.2 released
Menu
Home
Help
Search
Login
Register
go
LWJGL Forum
Programming
OpenGL
GL_TIMESTAMP
« previous
next »
Print
Pages: [
1
]
GL_TIMESTAMP
3 Replies
4102 Views
Obsyd
71
GL_TIMESTAMP
«
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!
Logged
basil
81
Re: GL_TIMESTAMP
«
Reply #1 on:
June 30, 2014, 19:23:27 »
not sure about long, but double
Code:
[Select]
GL11.glGetDouble(GL33.GL_TIMESTAMP);
works for me
Logged
Obsyd
71
Re: GL_TIMESTAMP
«
Reply #2 on:
July 02, 2014, 12:24:13 »
GL11.glGetDouble(GL33.GL_TIMESTAMP);
sadly gives 0.0
Logged
basil
81
Re: GL_TIMESTAMP
«
Reply #3 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.
Logged
Print
Pages: [
1
]
« previous
next »