summaryrefslogtreecommitdiffstats
path: root/src/glx/x11/indirect_init.c
Commit message (Collapse)AuthorAgeFilesLines
* ARB_fbo: Add missing GLX render opcode for glFramebufferTextureLayerEXTIan Romanick2009-11-171-0/+4
| | | | Also regenerate the GLX protocol files from this change.
* ARB_fbo: Regenerate files from previous commits.Ian Romanick2009-11-171-0/+8
|
* regenerate glapiRoland Scheidegger2009-03-121-0/+2
|
* revert the DRI2 commitsAlan Hourihane2008-06-121-2/+0
|
* Bring in DRI2 changesAlan Hourihane2008-06-111-0/+2
|
* Regenerated API dispatch filesBrian Paul2008-05-181-6/+0
| | | | Follow on to cherry-pick from master
* Fix bug #4681.Ian Romanick2006-10-111-12/+0
| | | | | | | | | | | | | | | | | 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-197/+197
|
* Deprecate GL_EXT_vertex_weighting.Ian Romanick2006-08-291-2/+2
| | | | | | 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.
* Add a couple of the missing GL 2.0 functions. Enable GLX protocol forIan Romanick2006-08-251-0/+4
| | | | | glBlendEquationSeparateEXT. Add missing enum "get" information for GL_EXT_texture_filter_anisotropic.
* GL_EXT_paletted_texture functions should alias GL_SGI_color_table functions.Ian Romanick2006-08-241-10/+16
| | | | | | | | | | 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-86/+86
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* /dri/msgAdam Jackson2005-08-261-10/+10
|
* Fixed a bug where GenQueriesARB was generating the wrong code for XCB and ↵Jeremy Kolb2005-06-221-10/+10
| | | | wouldn't compile. Not sure how that slipped through before but it should work now.
* Mammoth update to the Python code generator scripts that live inIan Romanick2005-06-211-190/+195
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* Make a couple minor corrections to gl_API.xml. Fixes the name of anIan Romanick2005-05-261-1/+1
| | | | | | | | 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.
* Fix the handling of zero-sized output parameters (i.e., those with typeIan Romanick2005-03-171-0/+1
| | | | | | | | 'GLvoid *'). This fixes the GLX protocol for glGetProgramStringARB. This fixes bugzilla #2747. Remove the 'ignore="true"' from glVertexAttrib4bvARB. This fixes bugzilla #2746.
* Add support for ARB_draw_buffers and ARB_occlusion_query. The GLX protocolIan Romanick2005-03-111-0/+15
| | | | | | | | | | | for these extensions (as well as ARB_vertex_program and ARB_matrix_palette) was just approved by the ARB on 8-Mar-2005. Now the only extension missing for 1.5 support is ARB_vertex_buffer_object. The opcodes for ARB_matrix_palette were also added to gl_API.xml. Since this extension isn't supported by Mesa, no code is generated for it. Some tabs were also converted to spaces in the comment for GetCompressedTexImageARB.
* Add GLX protocol support for ARB_fragement_program,Ian Romanick2005-02-251-0/+150
| | | | | | | ARB_fragment_program_shadow, ARB_vertex_program, NV_fragment_program, NV_fragment_program_option, NV_fragment_program2, NV_vertex_program, NV_vertex_program1_1, NV_vertex_program2, NV_vertex_program2_option, NV_vertex_program3, and ATI_text_fragment_shader.
* Use the indirect_init.c generate by using src/mesa/glapi/glX_proto_send.pyIan Romanick2004-12-011-306/+337
| | | | with the '-m init_c' option.
* Make the transition to script-genereated GLX code easier.Ian Romanick2004-12-011-1/+1
| | | | Convert GL 1.4 function names to EXT_blend_func_separate names.
* Make the transition to script-genereated GLX code easier.Ian Romanick2004-12-011-4/+4
| | | | | Convert GL 1.4 / ARB_point_parameter function names to EXT_point_parameter / NV_point_sprite names.
* Make the transition to script-genereated GLX code easier.Ian Romanick2004-12-011-17/+17
| | | | | Move "handcoded" ARB_window_pos / MESA_window_pos functions to their own file. Modify the ARB_window_pos functions to use the MESA_window_pos names.
* Make the transition to script-genereated GLX code easier.Ian Romanick2004-12-011-55/+8
| | | | | Move EXT_vertex_array wrapper functions from indirect_init.c to vertarr.c. Fix problems with EXT_multi_draw_arrays function names.
* Make the transition to script-genereated GLX code easier.Ian Romanick2004-12-011-22/+22
| | | | | | Eliminate the need for indirect_wrap.h and NEED_GL_FUNCS_WRAPPED. Basically, this means prepending __indirect_ to all the definitions and calls of GL functions that don't already have it.
* Make the transition to script-genereated GLX code easier.Ian Romanick2004-12-011-7/+7
| | | | | Convert GL_ARB_texture_compression related functions to use the extension version of the names instead of the GL 1.3 versions.
* Import the GLX client side library, formerly from xc/lib/GL/glx. Build itAdam Jackson2004-10-251-0/+624
by adding 'glx/x11' to SRC_DIRS in your build config.