mesa/include/GL
Ian Romanick 5f1ba3e21b Fixes the glXGetProcAddress portion of the interface. Most of the functions
that are currently obtained via glXGetProcAddress and all of the XF86DRI
functions are replaced with a funciton table.  This table will be passed to
__driCreateNewScreen.

One of the functions in the table is getProcAddress.  This allows some
loaders to expose functionality not in all loaders.  This will be immediatly
used for glxEnableExtension (formerly known to drivers as
__glXScrEnableExtension).  libGL (and in the future libglx) expose this
function so that drivers can enable GLX extensions.  libEGL should exposed
eglEnableExtension to enable EGL extensions.  The same function cannot be
used for both because the extensions have different names and (possibly)
different semantics.  Drivers can optionally use one, both, or neither.

The key parts are in the __DRIinterfaceMethodsRec structure in
dri_interface.h.  A pointer to one of these structures is passed into
__driCreateNewScreen.  Because of this, the version of the API is bumped to
20050725.  Since the previous version(s) were never in a release, their
existance is erased.

I was actually a little surprised by how much code this cuts from the
drivers.  A lot of glXGetProcAddress calls disappear, and a lot of
version checks go with them.  Nice.

The one thing I'm not sure of is removing __glXInitialize.  For some
reason that function was in the glXGetProcAddress table, but *nothing*
in the Mesa tree used it.  Did something with DRI conf. use this
function?  It seems odd...
2005-07-26 02:44:01 +00:00
..
internal Fixes the glXGetProcAddress portion of the interface. Most of the functions 2005-07-26 02:44:01 +00:00
amesa.h Removed all RCS / CVS tags (Id, Header, Date, etc.) from everything. 2003-06-05 00:50:18 +00:00
directfbgl.h DirectFB driver (Claudio Ciccani) 2005-01-03 15:35:00 +00:00
dmesa.h added DMesaProc type to prevent gcc 3.4.3 warnings 2004-12-15 07:55:38 +00:00
foomesa.h Removed all RCS / CVS tags (Id, Header, Date, etc.) from everything. 2003-06-05 00:50:18 +00:00
fxmesa.h bump version numbers to their real values 2004-10-12 06:43:57 +00:00
ggimesa.h Removed all RCS / CVS tags (Id, Header, Date, etc.) from everything. 2003-06-05 00:50:18 +00:00
gl.h put full prototype on one line to fix gl_mangle.h generation (Dave Reveman) 2005-06-08 13:35:07 +00:00
gl_mangle.h regenerated 2005-06-08 13:35:28 +00:00
glext.h updated to version 29 2005-06-21 14:30:46 +00:00
glfbdev.h Major check-in of changes for GL_EXT_framebuffer_object extension. 2005-05-04 20:11:35 +00:00
glu.h added GLU_INCOMPATIBLE_GL_VERSION 2004-02-06 01:17:30 +00:00
glu_mangle.h Add missing entry points. (Warren Cashen) 2003-10-10 22:09:05 +00:00
glut.h fix non-Win32 definition of GLUTAPIENTRY, remove some cruft 2005-02-16 19:52:35 +00:00
glut_h.dja Removed all RCS / CVS tags (Id, Header, Date, etc.) from everything. 2003-06-05 00:50:18 +00:00
glutf90.h remove carriage return chars 2001-09-18 16:39:38 +00:00
glx.h bring over structs from Xorg glx.h to make Mesa glx.h the one true glx.h 2005-02-26 03:55:44 +00:00
glx_mangle.h Removed all RCS / CVS tags (Id, Header, Date, etc.) from everything. 2003-06-05 00:50:18 +00:00
glxext.h VMS update 2004-12-17 14:48:00 +00:00
Makefile.am * common_rules.make: Created to hold the conditional build rule 2001-03-20 00:33:18 +00:00
mesa_wgl.h Remove need for defining _MSC_VER when building Mesa for windows with 2004-11-08 15:08:48 +00:00
mglmesa.h Removed all RCS / CVS tags (Id, Header, Date, etc.) from everything. 2003-06-05 00:50:18 +00:00
miniglx.h add more functionality to miniglx for glitz 2005-02-20 10:46:34 +00:00
osmesa.h Have OSMesaGetProcAddress() return new OSMESAproc typedef. 2004-11-27 16:24:39 +00:00
svgamesa.h Removed all RCS / CVS tags (Id, Header, Date, etc.) from everything. 2003-06-05 00:50:18 +00:00
uglglutshapes.h WindML driver (Stephane Raimbault) 2001-08-20 16:07:10 +00:00
uglmesa.h bump versions to 4.0 2001-09-23 16:06:13 +00:00
vms_x_fix.h Committing in . 2000-11-17 11:00:55 +00:00
wmesa.h Remove need for defining _MSC_VER when building Mesa for windows with 2004-11-08 15:08:48 +00:00
xmesa.h bump version numbers to their real values 2004-10-12 06:43:57 +00:00
xmesa_x.h remove some unneeded macros 2004-03-04 16:20:38 +00:00
xmesa_xf86.h remove some unneeded macros 2004-03-04 16:20:38 +00:00