Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | No, really, get rid of all the remaining references to DRI_USE_NEW_INTERFACE. | Ian Romanick | 2005-07-26 | 1 | -23/+4 |
| | | | | | A couple other remnants of the old interfaces hit the dust too. Thanks Jon. :) | ||||
* | Fixes the glXGetProcAddress portion of the interface. Most of the functions | Ian Romanick | 2005-07-26 | 1 | -48/+112 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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... | ||||
* | Gut a few more dead bits. Replace uses of the CreateNewScreenFunc typedef | Ian Romanick | 2005-07-24 | 1 | -8/+1 |
| | | | | | | | (from glxclient.h) with PFNCREATENEWSCREEN (from dri_interface.h). Remove the prototype for __driCreateScreen and fix the prototype for __driCreateNewScreen (append the API version) in dri_interface.h. | ||||
* | All elements of pre-DRI_NEW_INTERFACE_ONLY are removed. This allows | Ian Romanick | 2005-07-24 | 1 | -73/+4 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1,402 lines of code to be removed from Mesa (drivers and libGL). The big winner is dri_util.c. Primary changes are: 1. Remove all "deprecated" entry-points from the various structures in dri_interface.h. 2. Rename the remaining fields to removed "version numbers." So, bindContext3 becomes bindContext. Functions with "New" in the name (e.g., CreateNewContext) were *not* changed, but that is an option. Having "New" in the name is less annoying to me than having "3" in the name. 3. Remove all compatibility code that handles cases where the driver or the loader is too old to support the latest interfaces. 4. Append the API version to the __driCreateNewScreen function name. This is currently done by hand. In the future (i.e., the next time we make an incompatible change to the interface) we'll want to come up with a better way to do this. This prevents old loaders from being able to load new (incompatible) drivers. 5. Bump the API version to 20050722. All drivers (by way of dri_util.c) require this version. 6. All drivers are *required* to expose GLX_SGIX_fbconfig and GLX_OML_swap_method (or the moral equivalents). Support for these functions in implicit in the use of the "new" interface. 7. Some cases still exist that need to be compiled differently in a loader or core Mesa versus in a driver. These are identified by the define IN_DRI_DRIVER. | ||||
* | updated to version 29 | Brian Paul | 2005-06-21 | 1 | -3/+2 |
| | |||||
* | regenerated | Brian Paul | 2005-06-08 | 1 | -0/+2 |
| | |||||
* | put full prototype on one line to fix gl_mangle.h generation (Dave Reveman) | Brian Paul | 2005-06-08 | 1 | -6/+2 |
| | |||||
* | remove stray line | Brian Paul | 2005-06-08 | 1 | -1/+0 |
| | |||||
* | regenerate for latest glext.h | Brian Paul | 2005-06-08 | 1 | -0/+19 |
| | |||||
* | remove temporary GL_EXT_framebuffer_object info | Brian Paul | 2005-05-31 | 1 | -118/+1 |
| | |||||
* | updated to version 28 | Brian Paul | 2005-05-31 | 1 | -2/+109 |
| | |||||
* | The "P" suffix on APIENTRY and GLAPIENTRY is to be used for pointers to | Karl Schultz | 2005-05-11 | 1 | -2/+2 |
| | | | | | functions, not for functions that return pointers. Restore protoype for glGetString back to its correct form. | ||||
* | Major check-in of changes for GL_EXT_framebuffer_object extension. | Brian Paul | 2005-05-04 | 1 | -1/+4 |
| | | | | | | | Main driver impacts: - new code for creating the Mesa GLframebuffer - new span/pixel read/write code Some drivers not yet updated/tested. | ||||
* | bring over structs from Xorg glx.h to make Mesa glx.h the one true glx.h | Dave Airlie | 2005-02-26 | 1 | -0/+22 |
| | |||||
* | Add GLX_MESA_allocate_memory from Xorg glx.h | Dave Airlie | 2005-02-26 | 1 | -0/+15 |
| | |||||
* | add more functionality to miniglx for glitz | Dave Airlie | 2005-02-20 | 1 | -59/+78 |
| | |||||
* | fix non-Win32 definition of GLUTAPIENTRY, remove some cruft | Brian Paul | 2005-02-16 | 1 | -26/+2 |
| | |||||
* | add EnableExtension so r200 enables all its extensions, add mesa memory | Dave Airlie | 2005-02-15 | 1 | -0/+13 |
| | | | | extension entry points | ||||
* | Bug #2477: Make GLU/GLw/glut build properly even with -fvisibility=hidden. | Adam Jackson | 2005-02-08 | 2 | -1/+4 |
| | |||||
* | added GL_EXT_framebuffer_object enums/funcs. Remove when glext.h is updated | Brian Paul | 2005-02-08 | 1 | -2/+119 |
| | |||||
* | remove a bunch of temporary #defines, now that glext.h was updated | Ian Romanick | 2005-01-26 | 1 | -11/+0 |
| | |||||
* | fix glGetString funniness | Brian Paul | 2005-01-21 | 1 | -1/+1 |
| | |||||
* | glext.h version 26 | Brian Paul | 2005-01-20 | 3 | -22/+459 |
| | |||||
* | added a few OpenGL 2.0 tokens (temporary) | Brian Paul | 2005-01-16 | 1 | -0/+8 |
| | |||||
* | temporary prototypes for OpenGL 2.0 | Brian Paul | 2005-01-12 | 1 | -0/+10 |
| | |||||
* | added GLX_NV_float_buffer | Brian Paul | 2005-01-04 | 1 | -2/+13 |
| | |||||
* | DirectFB driver (Claudio Ciccani) | Brian Paul | 2005-01-03 | 1 | -0/+89 |
| | |||||
* | VMS update | Brian Paul | 2004-12-17 | 1 | -3/+3 |
| | |||||
* | added DMesaProc type to prevent gcc 3.4.3 warnings | Daniel Borca | 2004-12-15 | 1 | -3/+4 |
| | |||||
* | uint*t -> u_int*t changes | Alan Hourihane | 2004-12-14 | 1 | -8/+9 |
| | |||||
* | Check for some header defines before redefining functions. Silences warnings. | Alan Hourihane | 2004-12-08 | 1 | -0/+3 |
| | |||||
* | no need to include stddef.h anymore | Brian Paul | 2004-11-29 | 1 | -3/+1 |
| | |||||
* | Have OSMesaGetProcAddress() return new OSMESAproc typedef. | Brian Paul | 2004-11-27 | 1 | -6/+12 |
| | |||||
* | typedef GLUTproc, return it from glutGetProcAddress() | Brian Paul | 2004-11-27 | 1 | -1/+2 |
| | |||||
* | minor APIENTRY clean-ups | Brian Paul | 2004-11-25 | 1 | -6/+14 |
| | |||||
* | Remove need for defining _MSC_VER when building Mesa for windows with | Brian Paul | 2004-11-08 | 4 | -8/+8 |
| | | | | a non MS C compiler (MinGW). (Gregor Anich) | ||||
* | Import sarea.h from Xorg, needed for client GLX code. | Adam Jackson | 2004-10-25 | 1 | -0/+94 |
| | |||||
* | Add support for OES_read_format. As soon as glext.h is updated with the | Ian Romanick | 2004-10-16 | 1 | -0/+11 |
| | | | | enums for this extension, the changes to gl.h can be removed. | ||||
* | bump version numbers to their real values | Daniel Borca | 2004-10-12 | 3 | -5/+5 |
| | |||||
* | remove unused413 stuff, glDrawBuffersARB uses that slot now | Brian Paul | 2004-10-02 | 1 | -1/+0 |
| | |||||
* | version bump | Brian Paul | 2004-09-27 | 1 | -1/+1 |
| | |||||
* | change include of glx_mangle.h to match other headers | Brian Paul | 2004-09-27 | 1 | -3/+3 |
| | |||||
* | Another attempt at fixing name mangling and gl__unused413(). | Brian Paul | 2004-09-09 | 1 | -0/+1 |
| | |||||
* | Silence gcc 3.4 warnings on ReactOS. Mostly unused var warnings. (patch ↵ | Brian Paul | 2004-08-25 | 1 | -9/+11 |
| | | | | 1015696) | ||||
* | version 6 from oss.sgi.com | Brian Paul | 2004-07-28 | 1 | -12/+86 |
| | |||||
* | version 24 from oss.sgi.com | Brian Paul | 2004-07-28 | 1 | -4/+55 |
| | |||||
* | Mesa-solo builds with these changes. There are still more fixups needed to | Jon Smirl | 2004-06-26 | 2 | -7/+10 |
| | | | | | get individual drivers working again. This converts miniglx to the new dri interface. Thanks to Erdi Chen for the new interface code. | ||||
* | updated to version 23 | Brian Paul | 2004-06-23 | 1 | -3/+63 |
| | |||||
* | Alexander Gottwald's patch for cygwin | Brian Paul | 2004-06-22 | 1 | -0/+3 |
| | |||||
* | Remove the rest of the need for glxclient.h and remove it from the tree. | Ian Romanick | 2004-06-06 | 1 | -0/+27 |
| |