summaryrefslogtreecommitdiff
path: root/include
AgeCommit message (Collapse)Author
2005-07-26Fixes the glXGetProcAddress portion of the interface. Most of the functionsIan Romanick
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-24Gut a few more dead bits. Replace uses of the CreateNewScreenFunc typedefIan Romanick
(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.
2005-07-24All elements of pre-DRI_NEW_INTERFACE_ONLY are removed. This allowsIan Romanick
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.
2005-06-21updated to version 29Brian Paul
2005-06-08regeneratedBrian Paul
2005-06-08put full prototype on one line to fix gl_mangle.h generation (Dave Reveman)Brian Paul
2005-06-08remove stray lineBrian Paul
2005-06-08regenerate for latest glext.hBrian Paul
2005-05-31remove temporary GL_EXT_framebuffer_object infoBrian Paul
2005-05-31updated to version 28Brian Paul
2005-05-17remove eglQueryDisplayMESA()Brian Paul
2005-05-16EGL_MESA_copy_context stuffBrian Paul
2005-05-14Add empty placeholder for eglCopyContextMESAJon Smirl
2005-05-14Fix compiler warning about missing parameter listJon Smirl
2005-05-13First attempt at getting egl support up on dumb framebuffer.Jon Smirl
Seems to be mostly working. Not all of egl API is implemented.
2005-05-11The "P" suffix on APIENTRY and GLAPIENTRY is to be used for pointers toKarl Schultz
functions, not for functions that return pointers. Restore protoype for glGetString back to its correct form.
2005-05-04Major check-in of changes for GL_EXT_framebuffer_object extension.Brian Paul
Main driver impacts: - new code for creating the Mesa GLframebuffer - new span/pixel read/write code Some drivers not yet updated/tested.
2005-05-04EGLScreenMESA updatesBrian Paul
2005-04-22types for Mesa implementation of EGLBrian Paul
2005-04-22prototype EGL_MESA_screen_surface.Brian Paul
2005-03-04Add preliminary EGL headers.Adam Jackson
2005-02-26bring over structs from Xorg glx.h to make Mesa glx.h the one true glx.hDave Airlie
2005-02-26Add GLX_MESA_allocate_memory from Xorg glx.hDave Airlie
2005-02-20add more functionality to miniglx for glitzDave Airlie
2005-02-16fix non-Win32 definition of GLUTAPIENTRY, remove some cruftBrian Paul
2005-02-15add EnableExtension so r200 enables all its extensions, add mesa memoryDave Airlie
extension entry points
2005-02-08Bug #2477: Make GLU/GLw/glut build properly even with -fvisibility=hidden.Adam Jackson
2005-02-08added GL_EXT_framebuffer_object enums/funcs. Remove when glext.h is updatedBrian Paul
2005-01-26remove a bunch of temporary #defines, now that glext.h was updatedIan Romanick
2005-01-21fix glGetString funninessBrian Paul
2005-01-20glext.h version 26Brian Paul
2005-01-16added a few OpenGL 2.0 tokens (temporary)Brian Paul
2005-01-12temporary prototypes for OpenGL 2.0Brian Paul
2005-01-04added GLX_NV_float_bufferBrian Paul
2005-01-03DirectFB driver (Claudio Ciccani)Brian Paul
2004-12-17VMS updateBrian Paul
2004-12-15added DMesaProc type to prevent gcc 3.4.3 warningsDaniel Borca
2004-12-14uint*t -> u_int*t changesAlan Hourihane
2004-12-08Check for some header defines before redefining functions. Silences warnings.Alan Hourihane
2004-11-29no need to include stddef.h anymoreBrian Paul
2004-11-27Have OSMesaGetProcAddress() return new OSMESAproc typedef.Brian Paul
2004-11-27typedef GLUTproc, return it from glutGetProcAddress()Brian Paul
2004-11-25minor APIENTRY clean-upsBrian Paul
2004-11-08Remove need for defining _MSC_VER when building Mesa for windows withBrian Paul
a non MS C compiler (MinGW). (Gregor Anich)
2004-10-25Import sarea.h from Xorg, needed for client GLX code.Adam Jackson
2004-10-16Add support for OES_read_format. As soon as glext.h is updated with theIan Romanick
enums for this extension, the changes to gl.h can be removed.
2004-10-12bump version numbers to their real valuesDaniel Borca
2004-10-02remove unused413 stuff, glDrawBuffersARB uses that slot nowBrian Paul
2004-09-27version bumpBrian Paul
2004-09-27change include of glx_mangle.h to match other headersBrian Paul