summaryrefslogtreecommitdiffstats
path: root/src/mesa/glapi
Commit message (Collapse)AuthorAgeFilesLines
* Use correct opcodes for GLX_EXT_texture_from_pixmap.Ian Romanick2006-09-141-2/+2
| | | | | Set the correct opcodes for GLX_EXT_texture_from_pixmap functions. Changes to the glproto package and the core X server are also required.
* Add API description for GLX_SGI_swap_control.Ian Romanick2006-08-311-0/+7
|
* Fix problems with vertex program protocolIan Romanick2006-08-311-17/+17
| | | | | | | | | | | There were two sets of bugs in the vertex program (ARB and NV) protocol. First, several of the ARB functions were missing the 'doubles_in_order="true"' annotation. Second, after the ARB decided that glVertexAttrib*ARB functions must not alias fixed-function state for GLSL, Nvidia re-assigned GLX protocol opcodes for glVertexAttrib*NV (circa Septeber 2004). For some reason gl_API.xml was never updated to reflect this, and the updated version of the GL_NV_vertex_program spec never made into the registry.
* remove assertion that referenced &glSetFenceNV for debug testBrian Paul2006-08-291-1/+0
|
* Deprecate GL_EXT_vertex_weighting.Ian Romanick2006-08-296-966/+912
| | | | | | 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.
* More static dispatch function removal.Ian Romanick2006-08-293-249/+370
| | | | | | | | | | | | | | | | | | | | | | | | | | | Make functions for the following extensions available only via glXGetProcAddress. In cases where there are other aliases to the same functions (e.g., between GL_EXT_histogram and GL_ARB_imaging), the alias functions may still be statically exported. - GL_ATI_blend_equation_separate - GL_EXT_blend_equation_separate - GL_EXT_convolution - GL_EXT_color_sub_table - GL_EXT_cull_vertex - GL_EXT_depth_bounds_test - GL_EXT_framebuffer_blit - GL_EXT_histogram - GL_EXT_multisample - GL_EXT_stencil_two_side - GL_EXT_timer_query - GL_IBM_multimode_draw_arrays - GL_INGR_blend_func_separate - GL_NV_fence - GL_SGI_color_table - GL_SGIS_multisample - GL_SGIS_pixel_texture - GL_SGIS_point_parameters - GL_SGIX_pixel_texture
* Add two new gl_function methods. dispatch_name returns the name ofIan Romanick2006-08-286-220/+208
| | | | | | | | | | | | | the true static dispatch name (either the glFooBar name or the gl_dispatch_stub_XXX name). static_name returns the name of the static function for a specific alias of a GL function. Adding (and using) these two functions corrects some problems in the generated code related to functions with multiple aliases where some of the aliases have true static dispatch functions and some don't. I have verified that everything under progs, except xdemos/xdemo, correctly link. I did this by doing 'make linux-dri-x86-64 PROGRAM_DIRS="demos redbook samples xdemos tests"'.
* Add dependencies for all API XML files.Ian Romanick2006-08-281-2/+6
|
* Explicitly store the names for each function that should have a staticIan Romanick2006-08-266-30/+41
| | | | | | entry point generated. This allows us to do things like generate a static entry point for glPointParameterfvARB but not for glPointParameterfvSGIS.
* Add a couple of the missing GL 2.0 functions. Enable GLX protocol forIan Romanick2006-08-253-81/+108
| | | | | glBlendEquationSeparateEXT. Add missing enum "get" information for GL_EXT_texture_filter_anisotropic.
* Add missing enums for GL_SGI_color_table.Ian Romanick2006-08-251-0/+45
|
* GL_EXT_paletted_texture functions should alias GL_SGI_color_table functions.Ian Romanick2006-08-246-981/+948
| | | | | | | | | | 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-2410-6199/+5364
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* Fix some problems with the generation of the size tables. EnableIan Romanick2006-08-241-7/+13
| | | | generation of protocol tables for Render.
* New script and API description file to enable generate of GLX protocolIan Romanick2006-08-234-3/+629
| | | | decode tables in the server.
* Correct the name of the GL_NV_texture_expand_normal extension.Ian Romanick2006-08-221-1/+1
|
* The TLS dispatch functions for x86-64 are fixed-size, just like onIan Romanick2006-08-221-18/+22
| | | | | | | | | | x86. This means that the position of each dispatch function can be calculated as (dispatch_offset * size_of_function) + glNewList. This allows us to not store the function pointers in glprocs_table_t. This same optimization has been done for quite some time on x86. We could probably also do this for some cases of the SPARC dispatch as well.
* Add new attribute called static_dispatch to the <function> element. ThisIan Romanick2006-08-2212-53/+169
| | | | | | | | | | | | | | | | | | | boolean attribute, which defaults to true, determines whether or not a static dispatch function is available in libGL for applications to link against. Ideally, any new functions that are not part of the ABI should not have directly accessable dispatch functions. This forces applications to use glXGetProcAddress to access these functions. By doing this we can gracefully remove functions from libGL without breaking the linkage of applications. Note that the static dispatch functions are still generated. However, they are given names like gl_dispatch_stub_820 and are marked with the "hidden" linker attribute. All extension functions added since the previous Mesa release (6.5) have been marked as 'static_dispatch="false"'.
* Add support for GL_EXT_gpu_program_parameters. Any driver that enablesIan Romanick2006-08-156-180/+232
| | | | | either GL_ARB_vertex_program or GL_ARB_fragment_program should enable this extension as well.
* Fix long standing bug that prevented newer drivers from working withIan Romanick2006-08-111-1/+6
| | | | | | | | older libGL. The data in extension_helper.h erroneous instructed drivers to expect all functions with establised offsets, even those not in the ABI, to have a specific offset allocated. This is just wrong. A function is either in the ABI and has a set offset or a function is not in the ABI and has a re-map offset.
* Add support for GL_MESA_shader_debug.Michal Krol2006-07-301-0/+32
|
* Remove the extraneous GL_ prefix from the enums for GL_EXT_timer_query andIan Romanick2006-06-271-5/+5
| | | | | | GL_EXT_framebuffer_blit. Enumerants in the XML schema get the GL_ prefix added to them automatically. This resulted in things like "GL_GL_TIME_ELAPSED_EXT" in enums.c.
* Thread safety for Win32. SourceForge bug #1507315.Brian Paul2006-06-163-22/+37
|
* Add support for GL_APPLE_vertex_array_object. Several test programsIan Romanick2006-06-127-180/+281
| | | | | | | 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.
* Add .note.GNU-stack section to assembler files to avoid the default behaviorKristian Høgsberg2006-04-172-0/+8
| | | | of requesting executable stacks.
* added 'const' (Dan Schikore)Brian Paul2006-04-131-1/+1
|
* regenerate SPARC assembly dispatch (bug 6484)Brian Paul2006-04-071-0/+5
|
* Fixes to silence warnings in code generated by glapi scripts.Kristian Høgsberg2006-03-294-2/+12
|
* assorted code clean-ups, comments, etc.Brian Paul2006-03-151-41/+26
|
* remove invalid assertion in _glapi_get_dispatch(), fixes additional thread ↵Brian Paul2006-03-151-1/+0
| | | | safety problem
* Need to include glthread.h in glapi.h, not glapi.c so that GET_CURRENT_CONTEXTBrian Paul2006-03-152-16/+15
| | | | | is properly defined. Fixes long-standing, but unnoticed thread safety failure. Also, updated comments.
* Set always_array=true for glGenProgramsNV (Dave Reveman)Brian Paul2006-03-141-2/+2
|
* Later versions of Python handle formats like '% 5u' differently. ForIan Romanick2006-03-063-4/+4
| | | | | whatever reason, a space is always inserted. That is not the desired behavior.
* Generate server-side GLX protocol decode functions using the 'make server'Ian Romanick2006-03-063-2/+588
| | | | | | | | target. The environment variable XORG_BASE must be set to point to the base of the X.org server sources where the files are to be placed. The 7.0.0 server release already contains files generated by these scripts. The scripts should have been committed months ago. Sorry for the lag. :(
* New comments. Use tuples () instead of lists [] in a few places.Brian Paul2006-03-011-19/+23
|
* Added glBlitFramebufferEXT function.Brian Paul2006-03-016-180/+217
|
* commit to fixup MGL namespacing for XGLDave Airlie2006-02-102-9/+11
|
* added wglGetExtensionsStringARBBrian Paul2006-01-251-1/+2
|
* Updates for GL_EXT_timer_query:Brian Paul2005-12-076-180/+232
| | | | | New GLint64EXT and GLuint64EXT types (use C99's long long types). New glGetQueryObject[u]i64vEXT() functions.
* Fix build issues on x86-64 due to missing include path inIan Romanick2005-12-021-1/+1
| | | | | | glapi_x86-64.S. Bug: #5602
* remove unneeded HIDDEN definition (bug 4956)Brian Paul2005-11-041-14/+0
|
* implement USE_MGL_NAMESPACE for x86-64 dispatch code (Mark Bolstad)Brian Paul2005-11-021-5/+14
|
* restore FASTCALL stuffBrian Paul2005-10-201-3/+5
|
* Disable the FASTCALL optimization because it still breaks server-side GLX.Brian Paul2005-10-201-5/+3
|
* ifdef out some code to make glapi.c linkable in libglx.so (on theIan Romanick2005-10-111-1/+5
| | | | | server). This isn't strictly needed yet, but it doesn't hurt anything either. However, the patches for fd.o bug #2996 require this to build.
* Add 'get' data for glGetFramebufferAttachmentParameterivEXT enums.Ian Romanick2005-10-102-6/+16
| | | | Remove an extra closing parenthesis in the Linux version of the SWAP_32 macro.
* Change the 'count' for COMPRESSED_TEXTURE_FORMATS from "?" to "-1". ThisIan Romanick2005-10-032-2/+4
| | | | | | | | | | | signals to the script (glX_proto_size.py) that generates the server-side size functions that a handcoded query is needed to determine the data size. Also do s/FOG_COORD_SOURCE/FOG_COORD_SRC/. When initializing the count in glx_enum::__init__, cast the local property to int. Thanks to Python's dynamic typing, if this isn't done the type of stored count will be a string instead of an int.
* Remove the non-existant --get-alias-set option from the help text.Ian Romanick2005-10-031-11/+30
| | | | | | | | | | | | Update printPixelFunction (which is only used to generate code for the server-side) to use the correct method for obtaining the dimensions of the image parameter to a function. Only use byteswap.h when building generated code on Linux. Elsewhere use the (horrible!) macros from X11/misc.h. Make sure that enums associated with the generic "Get" function get applied to GetIntegerv, GetBooleanv, GetFloatv, and GetDoublev.
* Committing in .Jouk Jansen2005-09-231-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | 1) change compilation on VMS to use IEEE floating points 2) one more problem with _mesa_sprintf solved Modified Files: Mesa/docs/README.VMS Mesa/progs/demos/descrip.mms Mesa/progs/tests/descrip.mms Mesa/progs/util/descrip.mms Mesa/progs/xdemos/descrip.mms Mesa/src/glu/mesa/descrip.mms Mesa/src/glu/sgi/descrip.mms Mesa/src/glut/glx/descrip.mms Mesa/src/mesa/array_cache/descrip.mms Mesa/src/mesa/drivers/common/descrip.mms Mesa/src/mesa/drivers/osmesa/descrip.mms Mesa/src/mesa/drivers/x11/descrip.mms Mesa/src/mesa/glapi/descrip.mms Mesa/src/mesa/main/descrip.mms Mesa/src/mesa/main/texobj.c Mesa/src/mesa/math/descrip.mms Mesa/src/mesa/shader/descrip.mms Mesa/src/mesa/shader/grammar/descrip.mms Mesa/src/mesa/shader/slang/descrip.mms Mesa/src/mesa/swrast/descrip.mms Mesa/src/mesa/swrast_setup/descrip.mms Mesa/src/mesa/tnl/descrip.mms ----------------------------------------------------------------------
* remove _swrast_DrawBufferKarl Schultz2005-09-051-2/+1
|