Login  Register

Re: V-SYNC causes choppy animations.

Posted by gouessej on Sep 06, 2013; 8:51pm
URL: https://forum.jogamp.org/V-SYNC-causes-choppy-animations-tp4029992p4030005.html

You shouldn't put everything into the display() method. You shouldn't store GL and GL instances into fields, you should get them each time you need them by using GLContext.getCurrent() and GLContext.getCurrentGL(). The tearing is not surprising but it is still choppy. Do you reproduce this problem with other OpenGL applications except GLXGears?
Julien Gouesse | Personal blog | Website