summaryrefslogtreecommitdiffstats
path: root/src/mesa/glapi/glapioffsets.h
Commit message (Collapse)AuthorAgeFilesLines
* Added glBlitFramebufferEXT function.Brian Paul2006-03-011-1/+3
|
* Updates for GL_EXT_timer_query:Brian Paul2005-12-071-1/+5
| | | | | New GLint64EXT and GLuint64EXT types (use C99's long long types). New glGetQueryObject[u]i64vEXT() functions.
* Fix recent problems with display lists and other parts of the code.Ian Romanick2005-08-051-0/+416
| | | | | | | | | | | | | | | | | | | | | | | | | | | | CALL_by_offset, SET_by_offset, and GET_by_offset all had various problems. The core issue is that parts of the device-independent code in Mesa assumes that all functions have slots in the dispatch table. This is especially true in the display list code. It will merrilly try to set dispatch pointers for glVertexAttrib1fARB even if GL_ARB_vertex_program is not supported. When the GET/SET/CALL macros are invoked, they would read a 0 from the remap table. The problem is that 0 is the dispatch offset for glNewList! One change is that the remap table is now initialized to be full of -1 values. In addtion, all of the *_by_offset marcos misbehave in an obvious way if the specified offset is -1. SET_by_offset will do nothing, GET_by_offset will return NULL, and CALL_by_offset, since it uses GET_by_offset, will segfault. I also had to add GL_EXT_blend_func_separate to the list of default extensions in all_mesa_extensions (src/mesa/drivers/dri/common/utils.c). Even though many drivers do not export this extension, glBlendFunc is internally implemented by calling glBlendFuncSeparate. Without this addition, glBlendFunc stopped working on drivers (such as mga) that do not export GL_EXT_blend_func_separate. There are still a few assertions / crashes in GL_ARB_vertex_program tests, but I don't think that these are related to any of my changes.
* Major rip-up of internal function insertion interface. The oldmesa_6_3_1Ian Romanick2005-07-281-0/+1
| | | | | | | | | | | | | | | | | | | | | | _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)
* 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
* 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.
* renumber ARB_shader_objects and ARB_vertex_shader offsetsMichal Krol2004-10-281-45/+45
| | | | | to get BlendEquation have offset 710 fix param name lack with GetInfoLogARB
* fix DrawBuffersARB entryMichal Krol2004-10-271-1/+1
|
* by karoshi - add support for ARB_shader objects and ARB_vertex_shaderMichal Krol2004-10-271-4/+46
|
* added support for GL_ARB_draw_buffersBrian Paul2004-10-021-1/+1
|
* regenerated with license infoBrian Paul2004-08-251-1/+28
|
* 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.
* 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.
* Implemented GL_ARB_occlusion_query (not 100% finalized).Brian Paul2003-06-131-0/+8
|
* 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-48/+48
|
* added test implementation of GL_ARB_window_posBrian Paul2001-11-181-0/+16
|
* API dispath updatesBrian Paul2001-11-181-49/+49
|
* Enabled GL_EXT_secondary_color. Fixed a bunch of typos in the dlist.cBrian Paul2000-10-271-0/+17
| | | | | | | | 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-1/+9
|
* bunch of dispatch and extension-related changesBrian Paul2000-02-241-822/+557
|
* added code for all GL_MESA_window_pos functionsBrian Paul2000-02-111-7/+30
|
* x86 assembly dispatchJosh Vanderhoof2000-01-161-1/+16
|
* initial revBrian Paul1999-12-161-0/+786