summaryrefslogtreecommitdiffstats
path: root/src/mesa/glapi/glapitable.h
Commit message (Collapse)AuthorAgeFilesLines
* Initial implementation of MESA_texture_arrayIan Romanick2007-05-161-4/+5
| | | | | Shadow sampling from texture arrays is still not implemented. Everything else should be there, though.
* Fix GLAPIENTRYP for OS X.Ian Romanick2007-02-231-1/+5
| | | | | Fix build problems related to incorrect define of GLAPIENTRYP on OS X. Reported by bushing on IRC.
* s/params/pointer/ for glGetVertexAttribPointerBrian2007-01-301-1/+1
|
* Added OpenGL 2.1 entrypoints.Brian Paul2006-11-031-342/+348
|
* Update gl_API.xml with OpenGL 2.0 functions, regenerate derived files.Brian Paul2006-11-021-345/+358
|
* Fix bug #4681.Ian Romanick2006-10-111-226/+210
| | | | | | | | | | | | | | | | | glDeleteTextures and glDeleteTexturesEXT were erroneously listed as aliases of each other. For anything /except/ GLX protocol they are aliases. This set of changes allows functions that are functionally identical but have different GLX protocol to be listed as aliases. When building with GLX_INDIRECT_RENDERING set, different static functions are used. These functions determine whether the current context is direct rendering or not. If the context is direct rendering, the aliased function (e.g., glDeleteTextures in the case of glDeleteTexturesEXT) is called. If the context is not direct rendering, the correct GLX protocol is sent. For a deeper explanation of what is changed, please see: http://dri.freedesktop.org/wiki/PartiallyAliasedFunctions
* Changes to generated code caused by the previous commits.Ian Romanick2006-10-041-9/+9
|
* Deprecate GL_EXT_vertex_weighting.Ian Romanick2006-08-291-167/+164
| | | | | | Nvidia no longer supports this extension, and they no longer export its entry points from their libGL. There's no reason for us to keep dragging it around either.
* GL_EXT_paletted_texture functions should alias GL_SGI_color_table functions.Ian Romanick2006-08-241-200/+197
| | | | | | | | | | The functions for GL_EXT_paletted_texture that do not share GLX protocol with GL_ARB_imaging are supposed to alias the similar functions from GL_SGI_color_table. They didn't. This patch corrects this problem and enables GLX protocol for both extensions. Since this removes 3 entries from the dispatch table, this change creates a lot of changes in the generated files.
* Add a new offset mode to the GL API XML. This mode, called "assign,"Ian Romanick2006-08-241-417/+367
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | tells the scripts to assign an available offset to the function. The important changes are in src/mesa/glapi/gl_XML.py and src/mesa/glapi/*.xml. Since the DRI drivers only depend on functions required by the ABI (e.g., GL 1.2 + ARB_multitexture) having fixed offsets, all functions not in the ABI use "assign" mode. This has caused the offset of basically every function outside the ABI to change. I have verified that a libGL with this patch works with a DRI driver without the patch. Futher, several function were removed from the dispatch tables altogether. These are the functions for the following extensions: GL_SGIS_texture_filter4 GL_SGIS_texture4D GL_SGIS_detail_texture GL_SGIS_sharpen_texture GL_SGIX_sprite GL_SGIX_instruments GL_SGIX_framezoom GL_SGIX_tag_sample_buffer GL_SGIX_reference_plane GL_SGIX_flush_raster GL_SGIX_list_priority GL_SGIX_fragment_lighting GL_PGI_misc_hints GL_EXT_index_material GL_EXT_index_func GL_3DFX_tbuffer This removes 50 functions from the dispatch table.
* Add support for GL_EXT_gpu_program_parameters. Any driver that enablesIan Romanick2006-08-151-0/+2
| | | | | either GL_ARB_vertex_program or GL_ARB_fragment_program should enable this extension as well.
* Add support for GL_APPLE_vertex_array_object. Several test programsIan Romanick2006-06-121-0/+4
| | | | | | | and demos are also added. Adding basic support to drivers should be as easy as just enabling the extension, though thorough test would also be required.
* Added glBlitFramebufferEXT function.Brian Paul2006-03-011-0/+1
|
* Updates for GL_EXT_timer_query:Brian Paul2005-12-071-0/+2
| | | | | New GLint64EXT and GLuint64EXT types (use C99's long long types). New glGetQueryObject[u]i64vEXT() functions.
* Major rip-up of internal function insertion interface. The oldmesa_6_3_1Ian Romanick2005-07-281-0/+2
| | | | | | | | | | | | | | | | | | | | | | _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 non-x86 specific builds. The changes from glTexImage3DEXT toIan Romanick2005-06-241-6/+6
| | | | | | | | | | | | | | | glTexImage3D that caused me so many problems during the re-development of the API scripts reared its ugly head again. This has been fixed by tracking the parameter string for each entry-point individually. This has the annoying side-effect that the names of the parameters in all aliases of a function must be the same or gl_apitemp.py will generate bad code. :( The changes in src/mesa/glapi/{gl_API.xml,glapitable.h} and src/glx/x11/* are caused by fixing the parameter names in various function aliases that didn't match. Reported by: Eric Anholt, Jacob Jansen
* Minor correction to EXT_framebuffer_object XML. Fix gl_table.py so that itIan Romanick2005-05-261-2/+2
| | | | generates the correct script name in the generated output.
* Add new entrypoints for GL_EXT_framebuffer_object.Brian Paul2005-02-081-3/+20
|
* Refactor the code to emit multiple-inclusion protection toIan Romanick2005-01-281-3/+3
| | | | | | | | | FilterGLAPISpecBase. Since the size_h mode of glX_proto_size.py will be used to generate multiple header files, add an option to specify the define that is used for multiple-inclusion protection. The changes to the header files in this commit are just a side-effect of the changes to the Python scripts.
* Some initial work for OpenGL 2.0: glStencilFunc/Op/MaskSeparate() functions.Brian Paul2005-01-121-0/+3
|
* Implement software ATI_fragment_shaderDave Airlie2004-12-191-0/+14
| | | | no error detection, slow, may not be 100% correct but a good start
* Added many (hopefully all) missing 'output="true"' attributes. AddedIan Romanick2004-12-131-1/+1
| | | | | | missing enum information for GL_EXT_cull_vertex and GL_SGIS_texture_color_mask. Added GL_SUN_mesh_array. Corrected the spelling of the "length" parameter to GetActiveUniformARB.
* Change the dispatch offsets for the VertexAttrib*NV functions so they don'tBrian Paul2004-11-271-29/+58
| | | | | | | alias with the corresponding ARB functions. GL_ARB_vertex_shader (and OpenGL 2.0's) VertexAttrib functions don't alias with conventional vertex attributes, as GL_NV_vertex_program does. So, the ARB and NV version of VertexAttrib need to be distinct.
* name parameter to glGetActiveAttribARB() should not be const.Brian Paul2004-10-281-1/+1
| | | | Added shaderobjects.c to sources file.
* renumber ARB_shader_objects and ARB_vertex_shader offsetsMichal Krol2004-10-281-47/+47
| | | | | to get BlendEquation have offset 710 fix param name lack with GetInfoLogARB
* fix DrawBufferARB entryMichal Krol2004-10-271-1/+1
|
* by karoshi - add support for ARB_shader objects and ARB_vertex_shaderMichal Krol2004-10-271-6/+48
|
* added support for GL_ARB_draw_buffersBrian Paul2004-10-021-1/+1
|
* regenerated with license infoBrian Paul2004-08-251-3/+30
|
* Added support for EXT_blend_equation_separate / ATI_blend_equation_separate.Ian Romanick2004-01-271-0/+1
| | | | | The internal driver interface was also changed to use BlendEquationSeparate instead of BlendEquation.
* don't include GL/gl.h, define GLAPIENTRYP if not definedBrian Paul2003-12-051-1/+3
|
* Added GLAPIENTRY decorations for all first level OpenGL API function entryKendall Bennett2003-10-211-710/+710
| | | | | points so that the calling conventions will work correctly with the assembler stubs with the Open Watcom compiler.
* Added support for GL_IBM_multimode_draw_arrays.Ian Romanick2003-08-221-0/+2
| | | | | | | | Added non-static entrypoints and the name string for GL_SUN_multi_draw_arrays (identical to GL_EXT_multi_draw_arrays). Made add_newer_entrypoints (in src/mesa/main/context.c) table driven. This reduced the size of context.o by about 3KB.
* glPixelMap[f/ui/us]v()'s size parameter is GLsizei, not GLint.Brian Paul2003-08-191-3/+3
|
* Implemented GL_ARB_occlusion_query (not 100% finalized).Brian Paul2003-06-131-0/+8
|
* fix MapBufferARB() return typeBrian Paul2003-05-101-1/+1
|
* alias ARB/NV program functions where possibleBrian Paul2003-04-211-79/+46
|
* GL_ARB_vertex_buffer_object, GL_ARB_vertex_program, GL_NV_fragment_program ↵Brian Paul2003-03-291-0/+79
| | | | entrypoints
* added GL_EXT_stencil_two_side and GL_NV_fenceBrian Paul2002-09-061-0/+8
|
* Implemented GL_EXT_multi_draw_arrays: glMultiDrawArraysEXT() and ↵Brian Paul2002-06-301-0/+2
| | | | glMultiDrawElementsEXT().
* Added GL_NV_point_sprite functions: glPointParameteri[v]NV().Brian Paul2002-05-291-0/+2
| | | | Removed dead ARB_window_pos functions (we alias the MESA_window_pos funcs).
* updated vertex program dispatchBrian Paul2002-05-271-80/+64
|
* vertex program check-inBrian Paul2001-12-141-0/+64
|
* dispatch changes to minimize hassle with XFree86 libGLBrian Paul2001-12-041-49/+49
|
* added test implementation of GL_ARB_window_posBrian Paul2001-11-181-0/+16
|
* API dispath updatesBrian Paul2001-11-181-61/+61
|
* change glTexImage3D() internalFormat to GLenum to match other OpenGLsBrian Paul2001-03-261-1/+1
|
* Enabled GL_EXT_secondary_color. Fixed a bunch of typos in the dlist.cBrian Paul2000-10-271-2/+19
| | | | | | | | and state.c file for plugging those functions into the dispatch table. Don't use Mesa 3.5 for DRI until SGI approves the new dispatch offsets. Commented-out references to ctx->FogMode and VB->Specular in FX driver. Minor clean-up in extensions.c Removed unused prototype in fog.h
* added tbuffer and compressed teximage extension functionsBrian Paul2000-05-181-2/+10
|
* now generated with Python scriptBrian Paul2000-02-241-847/+557
|