summaryrefslogtreecommitdiffstats
path: root/src/mesa/glapi/glapitemp.h
Commit message (Collapse)AuthorAgeFilesLines
* Fix non-x86 specific builds. The changes from glTexImage3DEXT toIan Romanick2005-06-241-28/+28
| | | | | | | | | | | | | | | 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
* Mammoth update to the Python code generator scripts that live inIan Romanick2005-06-211-994/+993
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | src/mesa/glapi. Basically, the scripts that did simple things (like gl_offsets.py) were simple, and the scripts that did more complicated things (like glX_proto_send.py) were getting progressively more and more out of control. So, I re-write the foundation classes on which everything is based. One problem with the existing code is that the division between the GL API database representation and the way the output code is generated was either blury or nonexistant. The new code somewhat follows the Model-View-Controller pattern, minus the Controller. There is a distinct set of classes that model the API data, and there is a distinct set of classes that generate code from that data. One big change is in the class that represents GL functions (was glFunction, is now gl_function). There used to be an instance of this calls for each function and for each alias to that function. For example, there was an instance for PointParameterivSGIS, PointParameterivEXT, PointParameterivARB, and PointParameteriv. In the new code, there is one instance. Each instance has a list of entrypoint names for the function. In the next revision, this will allow a couple useful things. The script will be able to verify that the parameters, return type, and GLX protocol for a function and all it's aliases match. It will also allow aliases to be represented in the XML more compactly. Instead of repeating all the information, an alias can be listed as: <function name="PointParameterivARB" alias="PointParameterivEXT"/> Because the data representation was changed, the order that the alias functions are processed by the scripts also changed. This accounts for at least 2,700 of the ~3,600 lines of diffs in the generated code. Most of the remaining ~900 lines of diffs are the result of bugs *fixed* by the new scripts. The old scripts also generated code with some bugs in it. These bugs were discovered while the new code was being written. These changes were discussed on the mesa3d-dev mailing list back at the end of May: http://marc.theaimsgroup.com/?t=111714569000004&r=1&w=2 Xorg bug: 3197, 3208
* 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.
* Make a couple minor corrections to gl_API.xml. Fixes the name of anIan Romanick2005-05-261-3/+3
| | | | | | | | extension that was missing the GL_ part and uses the core GL type names for vertex buffer object functions instead of the ARB names. Also commits the resulting changes to the generated code. Some how, the #if sequence disappeared in the 1.52 version of glapi_x86.S.
* Add new entrypoints for GL_EXT_framebuffer_object.Brian Paul2005-02-081-0/+102
|
* Some initial work for OpenGL 2.0: glStencilFunc/Op/MaskSeparate() functions.Brian Paul2005-01-121-0/+18
|
* Implement software ATI_fragment_shaderDave Airlie2004-12-191-0/+84
| | | | 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-2/+2
| | | | | | 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-261/+261
| | | | | | | 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.
* Use new _glapi_proc typedef instead of void * for function pointers.Brian Paul2004-11-271-2/+2
| | | | Misc clean-ups in glapi.c
* 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-8/+8
| | | | | to get BlendEquation have offset 710 fix param name lack with GetInfoLogARB
* add support for ARB_shader_objects and ARB_vertex_shaderMichal Krol2004-10-271-0/+252
|
* regenerate with correct scriptMichal Krol2004-10-271-1429/+1040
|
* the file was empty!Michal Krol2004-10-271-0/+6109
|
* by karoshi - add support for ARB_shader objects and ARB_vertex_shaderMichal Krol2004-10-271-5720/+0
|
* remove unused413 stuff, glDrawBuffersARB uses that slot nowBrian Paul2004-10-021-1/+0
|
* added support for GL_ARB_draw_buffersBrian Paul2004-10-021-3/+9
|
* Another attempt at fixing name mangling and gl__unused413().Brian Paul2004-09-091-4/+0
|
* use version generated from the XML databaseBrian Paul2004-08-251-1218/+1104
|
* First phase of TLS work. At this point SPARC assembly dispatch isIan Romanick2004-06-291-4/+2
| | | | | broken, but it will be fixed "shortly." This is pretty much the same as the patch I sent to the dri-devel list on 22-Jun-2004.
* Added support for EXT_blend_equation_separate / ATI_blend_equation_separate.Ian Romanick2004-01-271-0/+12
| | | | | The internal driver interface was also changed to use BlendEquationSeparate instead of BlendEquation.
* oops, fix glitches in 1.5 functionsBrian Paul2003-11-241-4/+4
|
* generate the OpenGL 1.5 entrypointsBrian Paul2003-11-241-0/+114
|
* Fix compile problems with `glMultiModeDrawArraysIBM'Jon Smirl2003-08-241-12/+10
| | | | | Adjust makefiles to create depends and not store it in CVS Remove dependency on kernel pci_ids.h
* Added support for GL_IBM_multimode_draw_arrays.Ian Romanick2003-08-221-0/+12
| | | | | | | | 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/+48
|
* fix MapBufferARB() return typeBrian Paul2003-05-101-2/+2
|
* alias ARB/NV program functions where possibleBrian Paul2003-04-211-127/+133
|
* GL_ARB_vertex_buffer_object, GL_ARB_vertex_program, GL_NV_fragment_program ↵Brian Paul2003-03-291-0/+474
| | | | entrypoints
* added const to castsBrian Paul2002-11-301-431/+431
|
* added glBlendFuncSeparate, glMultiDrawArrays, glMultiDrawElementsBrian Paul2002-11-071-30/+48
|
* added missing 1.4 glFogCoord functionsBrian Paul2002-11-071-0/+30
|
* fixed glSampleCoverage typoBrian Paul2002-09-061-1/+6
|
* added GL_EXT_stencil_two_side and GL_NV_fenceBrian Paul2002-09-061-7/+48
|
* added OpenGL 1.4 entrypointsBrian Paul2002-09-061-0/+222
|
* Implemented GL_EXT_multi_draw_arrays: glMultiDrawArraysEXT() and ↵Brian Paul2002-06-301-2/+12
| | | | glMultiDrawElementsEXT().
* Added GL_NV_point_sprite functions: glPointParameteri[v]NV().Brian Paul2002-05-291-0/+12
| | | | Removed dead ARB_window_pos functions (we alias the MESA_window_pos funcs).
* updated vertex program dispatchBrian Paul2002-05-271-144/+144
|
* Fixed Windows compile problem with gl__unused413() function.Brian Paul2002-01-151-1/+1
|
* better api trace/log messagesBrian Paul2001-12-151-180/+181
|
* added newline characters to trace stringsBrian Paul2001-12-141-748/+748
|
* vertex program check-inBrian Paul2001-12-141-749/+1068
|
* dispatch changes to minimize hassle with XFree86 libGLBrian Paul2001-12-041-881/+877
|
* avoid using near and far as variable names since they are reserved wordsKarl Schultz2001-11-261-2/+2
| | | | in the windows compiler.
* added test implementation of GL_ARB_window_posBrian Paul2001-11-181-0/+97
|
* API dispath updatesBrian Paul2001-11-181-1856/+1658
|
* added some (void *) casts to silence gcc 2.96 warningsBrian Paul2001-11-011-88/+88
|
* minor updates for new glext.hBrian Paul2001-10-171-3/+16
|