Re: GLJPanel "lagging" by one frame.
Posted by bkuker on Sep 21, 2013; 10:54pm
URL: https://forum.jogamp.org/GLJPanel-lagging-by-one-frame-when-multisampling-is-on-tp4030087p4030092.html
Yes, it seems like some sort of double buffering, and given more time to think about it I realize that if my glReadPixels are getting the previous display()'s results, and so is the GLJPanel's code that glReadPixels the buffer then flips and blits it into the Buffered Image's raster, they could both be explained by drawing to a back buffer, but reading from the front buffer.
I'll look deeper into the code, I was on a bus all day yesterday working on it and did not realize that I was using 2.0.2-RELEASE, but had RC11 source code in my debugger, so that wasted a little time, GLJPanel did not make sense :-P