X11Drv: import glx context code

Roderick Colenbrander thunderbird2k at gmx.net
Mon Aug 28 18:39:49 CDT 2006


This patch moves most GLX context code and functions which depended on it from opengl32 to winex11.drv. The imported is the same as the original opengl32 code except for changes to ENTER_GL / LEAVE_GL related code. These calls got replaced by wine_tsx11_lock/_unlock. Further opengl32 now loads the moved opengl functions using GetProcAddress from winex11.drv.

For people who want to know why the OpenGL32 -> WineX11.drv move is needed. It is needed to fix some outstanding OpenGL bugs which can only be fixed from inside x11drv because Windows calls abstract too much stuff away. Further the change will allow the removal of various (hacky) ExtEscape calls and it will make it easier to add OpenGL support to a future Wibe OSX display driver.

Roderick Colenbrander


Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen!
Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer
-------------- next part --------------
A non-text attachment was scrubbed...
Name: x11drv_wgl2.patch
Type: text/x-diff
Size: 19552 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20060829/cc3ef5e7/x11drv_wgl2.bin

More information about the wine-patches mailing list