Hello Marcus,
Marcus Lindblom wrote:
> I noticed a change from 1.x to 2.0, namely that PassiveWindow inherits
> NativeWindow (which is Win32Window on my platform), which means that
> swap calls (that call doSwap()) are made twice in our apps, since Qt
> swaps, and I have a PassiveWindow in a QGLWidget.
I fixed a bug in r1880 that got rid of double swaps for me.
> Shouldn't swap be disabled by PassiveWindow? It currently does not
> implement doSwap(), but only the regular swap().
where does the call to doSwap() come from? Normally the call should come
from swap, but since that is overridden for the PassiveWindow nothing
should happen, unless there is a direct call to doSwap() from somewhere?
> (Why are there two functions?)
my guess is that doSwap() implements the actual buffer swap and swap()
is the usual entry point that DTRT depending on other stuff.
> Bug or misuse by me? Any quick workarounds? (I could inheritd
> PassiveWindow myself and ad an empty doSwap()).
we could implement the do*() functions for PassiveWindow, but I'm more
interested where the call to doSwap() comes from, as that seems a
potential bug.
Cheers,
Carsten
------------------------------------------------------------------------------
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image
processing features enabled. http://p.sf.net/sfu/kodak-com
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users