disabling vsync when used in awt-frame

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

disabling vsync when used in awt-frame

matt
hello,
i am using a GLCanvas inside a awt frame and i always get 60fps which is my monitors refresh rate.

how can i disable v sync so that i get higher framerates?

thanks!
Reply | Threaded
Open this post in threaded view
|

Re: disabling vsync when used in awt-frame

Michael Bien
gl.glSwapInterval(0);
if you haven't overwritten this setting via your graphics driver.

On 08/03/2010 05:10 PM, matt [via jogamp] wrote:
hello,
i am using a GLCanvas inside a awt frame and i always get 60fps which is my monitors refresh rate.

how can i disable v sync so that i get higher framerates?

thanks!


View message @ http://jogamp.762907.n3.nabble.com/disabling-vsync-when-used-in-awt-frame-tp1019456p1019456.html
To start a new topic under jogamp, email [hidden email]
To unsubscribe from jogamp, click here.


Reply | Threaded
Open this post in threaded view
|

Re: disabling vsync when used in awt-frame

matt
thank you!