summaryrefslogtreecommitdiffstats
path: root/include
Commit message (Collapse)AuthorAgeFilesLines
* Added OSMesaColorClamp(), bug 4917Brian Paul2005-11-121-2/+11
|
* remove a bunch of extension stuff that's in glxext.hBrian Paul2005-11-081-147/+5
|
* added GL_EXT_packed_depth_stencilBrian Paul2005-09-281-0/+10
|
* Silence some warnings.Brian Paul2005-09-111-3/+3
|
* Add support for memory contexts (Thomas Kaltofen). Cleanup compilation ↵Karl Schultz2005-09-051-2/+2
| | | | warnings.
* added GL_EXT_timer_query tokenBrian Paul2005-09-021-0/+9
|
* include stdint.h if WIN32 and GNUC (Colin Harrison). Patch forwarded to SGI.Brian Paul2005-08-151-0/+2
|
* Remove '#if 0' block that was accidentally left in.Ian Romanick2005-07-281-6/+0
|
* Major rip-up of internal function insertion interface. The oldmesa_6_3_1Ian Romanick2005-07-281-3/+3
| | | | | | | | | | | | | | | | | | | | | | _glapi_add_entrypoint has been replaced by a new routine called _glapi_add_dispatch. This new routine dynamically assignes dispatch offsets to functions added. This allows IHVs to add support for extension functions that do not have assigned dispatch offsets. It also means that a driver has no idea what offset will be assigned to a function. The vast majority of the changes in this commit account for that. An additional table, driDispatchRemapTable, is added. Functions not in the Linux OpenGL ABI (i.e., anything not in GL 1.2 + ARB_multitexture) has a fixed offset in this new table. The entry in this table specifies the offset in of the function in the real dispatch table. The internal interface was also bumped from version 20050725 to 20050727. This has been tested with various programs in progs/demos on: radeon (Radeon Mobility M6) r128 (Rage 128 Pro) mga (G400)
* Fix SPARC assembly for 64-bitIan Romanick2005-07-281-1/+10
| | | | | | | | | | | | | | - The test for whether or not we're building for 64-bit is '#ifdef __arch64__'. This appears to be correct on both Linux and Solaris. - The test for Solaris is now '#if defined(SVR4) || defined(__SVR4) || defined(__svr4__)'. GCC 3.4.0 has all three defined on Solaris 9. - Enables assembly language clip routines. - Fixes to make GLSL code build on Solaris. - Update gl_SPARC_asm.py.
* No, really, get rid of all the remaining references to DRI_USE_NEW_INTERFACE.Ian Romanick2005-07-261-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 functionsIan Romanick2005-07-261-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 typedefIan Romanick2005-07-241-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 allowsIan Romanick2005-07-241-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 29Brian Paul2005-06-211-3/+2
|
* regeneratedBrian Paul2005-06-081-0/+2
|
* put full prototype on one line to fix gl_mangle.h generation (Dave Reveman)Brian Paul2005-06-081-6/+2
|
* remove stray lineBrian Paul2005-06-081-1/+0
|
* regenerate for latest glext.hBrian Paul2005-06-081-0/+19
|
* remove temporary GL_EXT_framebuffer_object infoBrian Paul2005-05-311-118/+1
|
* updated to version 28Brian Paul2005-05-311-2/+109
|
* remove eglQueryDisplayMESA()Brian Paul2005-05-171-1/+0
|
* EGL_MESA_copy_context stuffBrian Paul2005-05-161-3/+4
|
* Add empty placeholder for eglCopyContextMESAJon Smirl2005-05-141-0/+1
|
* Fix compiler warning about missing parameter listJon Smirl2005-05-141-1/+1
|
* First attempt at getting egl support up on dumb framebuffer.Jon Smirl2005-05-131-1/+3
| | | | Seems to be mostly working. Not all of egl API is implemented.
* The "P" suffix on APIENTRY and GLAPIENTRY is to be used for pointers toKarl Schultz2005-05-111-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 Paul2005-05-041-1/+4
| | | | | | | Main driver impacts: - new code for creating the Mesa GLframebuffer - new span/pixel read/write code Some drivers not yet updated/tested.
* EGLScreenMESA updatesBrian Paul2005-05-042-8/+8
|
* types for Mesa implementation of EGLBrian Paul2005-04-221-39/+35
|
* prototype EGL_MESA_screen_surface.Brian Paul2005-04-221-0/+40
|
* Add preliminary EGL headers.Adam Jackson2005-03-042-0/+280
|
* bring over structs from Xorg glx.h to make Mesa glx.h the one true glx.hDave Airlie2005-02-261-0/+22
|
* Add GLX_MESA_allocate_memory from Xorg glx.hDave Airlie2005-02-261-0/+15
|
* add more functionality to miniglx for glitzDave Airlie2005-02-201-59/+78
|
* fix non-Win32 definition of GLUTAPIENTRY, remove some cruftBrian Paul2005-02-161-26/+2
|
* add EnableExtension so r200 enables all its extensions, add mesa memoryDave Airlie2005-02-151-0/+13
| | | | extension entry points
* Bug #2477: Make GLU/GLw/glut build properly even with -fvisibility=hidden.Adam Jackson2005-02-082-1/+4
|
* added GL_EXT_framebuffer_object enums/funcs. Remove when glext.h is updatedBrian Paul2005-02-081-2/+119
|
* remove a bunch of temporary #defines, now that glext.h was updatedIan Romanick2005-01-261-11/+0
|
* fix glGetString funninessBrian Paul2005-01-211-1/+1
|
* glext.h version 26Brian Paul2005-01-203-22/+459
|
* added a few OpenGL 2.0 tokens (temporary)Brian Paul2005-01-161-0/+8
|
* temporary prototypes for OpenGL 2.0Brian Paul2005-01-121-0/+10
|
* added GLX_NV_float_bufferBrian Paul2005-01-041-2/+13
|
* DirectFB driver (Claudio Ciccani)Brian Paul2005-01-031-0/+89
|
* VMS updateBrian Paul2004-12-171-3/+3
|
* added DMesaProc type to prevent gcc 3.4.3 warningsDaniel Borca2004-12-151-3/+4
|
* uint*t -> u_int*t changesAlan Hourihane2004-12-141-8/+9
|
* Check for some header defines before redefining functions. Silences warnings.Alan Hourihane2004-12-081-0/+3
|