Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Mammoth update to the Python code generator scripts that live in | Ian Romanick | 2005-06-21 | 1 | -492/+492 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 | ||||
* | ran "make" after update to glX_proto_send.py. | Jeremy Kolb | 2005-06-20 | 1 | -397/+397 |
| | |||||
* | Add new entrypoints for GL_EXT_framebuffer_object. | Brian Paul | 2005-02-08 | 1 | -181/+215 |
| | |||||
* | Some initial work for OpenGL 2.0: glStencilFunc/Op/MaskSeparate() functions. | Brian Paul | 2005-01-12 | 1 | -178/+184 |
| | |||||
* | Implement software ATI_fragment_shader | Dave Airlie | 2004-12-19 | 1 | -178/+206 |
| | | | | no error detection, slow, may not be 100% correct but a good start | ||||
* | silence a variety of warnings found with g++ 3.4.2 | Brian Paul | 2004-12-03 | 1 | -3/+3 |
| | |||||
* | Change the dispatch offsets for the VertexAttrib*NV functions so they don't | Brian Paul | 2004-11-27 | 1 | -384/+384 |
| | | | | | | | 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 Paul | 2004-11-27 | 1 | -2/+2 |
| | | | | Misc clean-ups in glapi.c | ||||
* | renumber ARB_shader_objects and ARB_vertex_shader offsets | Michal Krol | 2004-10-28 | 1 | -44/+44 |
| | | | | | to get BlendEquation have offset 710 fix param name lack with GetInfoLogARB | ||||
* | add support for ARB_shader_objects and ARB_vertex_shader | Michal Krol | 2004-10-27 | 1 | -208/+292 |
| | |||||
* | regenerate with correct script | Michal Krol | 2004-10-27 | 1 | -961/+1859 |
| | |||||
* | by karoshi - add support for ARB_shader objects and ARB_vertex_shader | Michal Krol | 2004-10-27 | 1 | -1859/+961 |
| | |||||
* | added support for GL_ARB_draw_buffers | Brian Paul | 2004-10-02 | 1 | -1423/+1425 |
| | |||||
* | Modify glprocs.h to have two tables instead of one. The first table | Ian Romanick | 2004-05-27 | 1 | -919/+1883 |
| | | | | | | is just a huge string will all the function names in it. The second table contains offsets into the first table instead of pointers to strings. | ||||
* | Added support for EXT_blend_equation_separate / ATI_blend_equation_separate. | Ian Romanick | 2004-01-27 | 1 | -0/+2 |
| | | | | | The internal driver interface was also changed to use BlendEquationSeparate instead of BlendEquation. | ||||
* | generate the OpenGL 1.5 entrypoints | Brian Paul | 2003-11-24 | 1 | -2/+21 |
| | |||||
* | Added support for GL_IBM_multimode_draw_arrays. | Ian Romanick | 2003-08-22 | 1 | -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 Paul | 2003-06-13 | 1 | -0/+8 |
| | |||||
* | moved from main/ to glapi/ | Brian Paul | 2003-06-10 | 1 | -0/+894 |