X11Drv: import glx context code

Roderick Colenbrander thunderbird2k at gmx.net
Tue Aug 29 09:56:57 CDT 2006


I have changed the patch to advertise the official function names like wglCreateContext instead of WGL_CreateContext.

The patch has been tested using various programs and I haven't noticed any regressions.

Regards,
Roderick Colenbrander

> The previous version of the patch lacked the required spec file changes.
> This patch adds those.
> 
> Regards,
> Roderick
> 
> > Hi,
> > 
> > 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.
> > 
> > Regards,
> > 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
> 
> -- 
> 
> 
> Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen!
> Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer

-- 


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-patch
Size: 20323 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20060829/49991692/x11drv_wgl2-0001.bin


More information about the wine-patches mailing list