Re: GLWindow.setFullscreen(true) triggering multiple reshape events
Posted by
Sven Gothel on
Sep 28, 2012; 6:36pm
URL: https://forum.jogamp.org/GLWindow-setFullscreen-true-triggering-multiple-reshape-events-tp4026307p4026310.html
On 09/28/2012 06:35 PM, Mike [via jogamp] wrote:
> Oh shit i meant to say reshape events, sorry about that. (I'm i little tired i
> stayed up until 3am last night debugging this ;) ) My main concern is that i
> re-initialize all my fbo's when a reshape occurs, so im trying to avoid having
> redundant reshape events.
AFAIK we filter them out in case of no [size] change!
I guess you will see that the size changes in each reshape
due to the native WM's resize ..
I experienced the same w/ testing FBObject,
GLFBODrawable (and it's auto-drawable) on X11
and OSX (CALayer ..).
Don't know whether you use the new FBObject and GLFBODrawable.
The latter resizes quite efficient if possible, i.e. only the attachments.
However .. nothing you can do about the many resize ops,
but to be fine w/ it or to use a timer where you perform a pending resize.
~Sven