[Bug 14767] WGL_SWAP_METHOD_ARB attribute not implemented

wine-bugs at winehq.org wine-bugs at winehq.org
Thu Aug 14 13:45:30 CDT 2008


http://bugs.winehq.org/show_bug.cgi?id=14767





--- Comment #3 from Roderick Colenbrander <thunderbird2k at gmx.net>  2008-08-14 13:45:30 ---
They should prove that WGL_SWAP_UNDEFINED_ARB is a reasonable default value.
I'm not sure what the best way to right that test is.

Slightly offtopic I noticed (on the Mesa list to which I'm not subscribed) that
you looked at this missing feature was because you are experiencing image
corruption in Sketchup and other OpenGL apps and thought this might be related.

Due to various technical reasons and incompatibilities between win32 and X11
Wine only uses 1 X11 window for a program and does all subwindow drawing itself
(on windows buttons, textboxes and so on are subwindows but on wine those
aren't X11 subwindows). For OpenGL this caused major issues and the most
problematic one is that the OpenGL window was shared with generic win32 gdi
rendering.

Adding a X11 subwindow specially for OpenGL was not an option due to event
issues and other technical reasons. In the end we decided to do windowed OpenGL
rendering (with this I mean rendering as in apps like Google Earth which mix a
win32 gui with OpenGL; this is something different than win32 apps with just a
basic menubar or no win32 gui at all) to an offscreen buffer. The contents of
the offscreen buffer is copied to the window.

The problem is the offscreen buffer. For that we are directly rendering to a
toplevel X11 window which is made offscreen using the Composite extension. In
other words we are using 'redirected GL rendering'. Not much display drivers
support this yet. Nvidia has been offering it for some time and further I
believe recent (experimental?) Intel drivers offer it.

This same functionality is also needed to render e.g. a glxgears window on one
of the faces of a Compiz cube.


-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the wine-bugs mailing list