Bug 782

Summary: native OpenGL for window
Product: xorg Reporter: Alexander Gottwald <ago>
Component: Server/DDX/XwinAssignee: Xorg Project Team <xorg-team>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: high    
Version: unspecified   
Hardware: x86 (IA32)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Bug Depends on:    
Bug Blocks: 777    

Description Alexander Gottwald 2004-06-21 06:17:15 UTC
import native OpenGL from cygwin branch. Requires changes to some mesa files too
Comment 1 Alexander Gottwald 2004-06-21 06:34:27 UTC
external changes are:

extras/Mesa/include/GL/gl.h:
provide stdcall OpenGL interface if USE_OPENGL32 is defined

extras/Mesa/include/GL/internal/glcore.h:
add #define GL_CORE_WINDOWS 8 

lib/GL/glx/glxext.c:
wrap DRI calls with #ifdef GLX_DIRECT_RENDERING in BindContextWrapper and
UnbindContextWrapper

programs/Xserver/GL/glx/single2.c:
wrap xf86atof() to atof() for __CYGWIN__ define. This should be changed to 
test for XFree86Server but this is currently defined for cygwin server
Comment 2 Alexander Gottwald 2004-06-21 07:55:26 UTC
mark as fixed

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.