summaryrefslogtreecommitdiffstats
path: root/src/glx
Commit message (Collapse)AuthorAgeFilesLines
* Update to use the new XCB naming convention.Jeremy Kolb2006-09-262-177/+177
|
* Fix problems with vertex program protocolIan Romanick2006-08-311-48/+48
| | | | | | | | | | | 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.
* Add missing parenthesis so that glXSwapIntervalSGI protocol isIan Romanick2006-08-301-1/+1
| | | | correctly generated.
* 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.
* Clean up GLX function exports.Ian Romanick2006-08-295-246/+76
| | | | | | | | | | | | | | | | | | | | | | | | | | | Make functions for the following extensions only accessable via glXGetProcAddress: - GLX_EXT_texture_from_pixmap - GLX_MESA_copy_sub_buffer - GLX_MESA_release_buffers - GLX_MESA_swap_control - GLX_MESA_swap_frame_usage - GLX_OML_sync_control - GLX_SGI_make_current_read - GLX_SGI_swap_control - GLX_SGI_video_sync - GLX_SGIX_swap_barrier - GLX_SGIX_swap_group Removed all remnants of the following extensions: - GLX_MESA_set_3dfx_mode - GLX_SGI_cushion - GLX_SGIX_dmbuffer - GLX_SGIX_video_resize - GLX_SGIX_video_source - GLX_SUN_get_transparent_index -
* Add a couple of the missing GL 2.0 functions. Enable GLX protocol forIan Romanick2006-08-254-1/+19
| | | | | 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-245-10/+76
| | | | | | | | | | 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-243-1468/+1468
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* Bug #7169: Attempt to make libGL symbols visible to drivers.Michel Dänzer2006-08-141-5/+16
| | | | | | | | Some applications end up dlopening libGL without RTLD_GLOBAL, so the libGL symbols referenced by the driver can't be unresolved when libGL dlopens it. This attempts to make the libGL symbols visible to the driver by dlopening libGL (again) with RTLD_GLOBAL before dlopening the driver and dlclosing the obtained handle afterwards.
* linux-indirect target fixes.Adam Jackson2006-08-102-1/+5
|
* fix a memleak (that code block has been commented out for years for unknown ↵Tilman Sauerbeck2006-07-151-1/+1
| | | | reasons)
* Move initialization of server_support from __glXProcessServerString toIan Romanick2006-07-131-2/+7
| | | | | | | | __glXCalcualteUsableExtensions. By having both callers of __glXProcessServerString initialize the bit-fields passed in, we guarantee that the correct amount of data is initialized: This fixes bugzilla #7353.
* LIB_DIR is now just 'lib' or 'lib64'Brian Paul2006-07-132-11/+11
| | | | | Replaced $(LIB_DIR) with $(TOP)/$(LIB_DIR), use LIB_DIR in install targets. Patch by Hanno Böck.
* New config var DRI_DRIVER_SEARCH_DIR to specify where libGL should searchBrian Paul2006-07-121-1/+1
| | | | | (at runtime) for the DRI drivers. See bug 2372.
* fix a memleakTilman Sauerbeck2006-07-121-0/+1
|
* New 'install' targets in makefile. See bug 2372.Brian Paul2006-06-221-1/+4
|
* Fix all instances of calling __glXSetupForCommand before GetReqExtra.Kristian Høgsberg2006-06-131-15/+35
|
* make do_vertex_attrib_enable() staticBrian Paul2006-06-121-1/+2
|
* include glxclient.h to silence missing prototypes warningBrian Paul2006-06-121-0/+1
|
* In __glXPushArrayState() we weren't pushing the index field.Brian Paul2006-05-111-1/+2
| | | | | | | But later, in __glXPopArrayState(), we were using that field to set the active_texture_unit. The value was garbage and could lead to things blowing up. See bug 6863.
* When error-checking 'unit' against num_texture_units, need to use >=, not >.Brian Paul2006-05-091-1/+1
| | | | See bug 6863.
* Update function signatures for EXT_tfp entrypoints.Adam Jackson2006-05-011-12/+8
|
* FBConfig support for EXT_tfpDavid Reveman2006-04-111-0/+15
|
* Add attrib_list to glXBindTexImageEXTDavid Reveman2006-04-111-2/+25
|
* Fix CreateDrawableDavid Reveman2006-04-111-1/+7
|
* make miniglx use libdrm properlyDave Airlie2006-04-071-2/+1
|
* Coverity #943: Avoid a NULL chase.Adam Jackson2006-04-071-4/+7
|
* setup to use pci access, comment out size bumps,Dave Airlie2006-04-031-3/+7
| | | | sest xres from real width, use new -1 ddx version
* do a drm lock/unlock sequence after the client closeDave Airlie2006-04-031-2/+5
|
* add width to struct for width != virtual widthDave Airlie2006-04-031-0/+1
|
* make miniglx use libdrm and libpciaccessDave Airlie2006-04-031-4/+1
|
* Coverity #468: Fill in the rest of the error_list to match the error codesAdam Jackson2006-04-031-0/+4
| | | | | defined in glxproto.h. Avoids reading semi-random memory (and probably crashing) when calling __glXErrorString().
* Dave Reveman's patch for GLX_MESA_copy_sub_buffer supportBrian Paul2006-03-312-10/+62
|
* Set always_array=true for glGenProgramsNV (Dave Reveman)Brian Paul2006-03-141-1/+1
|
* s/GLint/int/, to fit GLX conventionsBrian Paul2006-03-091-2/+3
|
* Instead of adding extra flags to DEFINES with +=, define EXTRA_DEFINES instead.Brian Paul2006-03-091-3/+3
| | | | This eliminates a bunch of duplication in the compilation commmands.
* EXT_framebuffer_object (Dave Reveman)Brian Paul2006-02-242-0/+2
|
* remove stray 'foo' lineBrian Paul2006-02-151-1/+0
|
* replace size_t * w/ unsigned int * (Jurg Billeter)Brian Paul2006-02-141-2/+2
|
* David Reveman's GLX_EXT_texture_from_pixmap extension patchBrian Paul2006-02-074-22/+117
|
* Test sizeof(drm_handle_t) instead of LONG64 when returning handlesBrian Paul2005-12-021-6/+8
|
* This is a major re-work of the __indirect_glInterleavedArrays routine. TheIan Romanick2005-11-301-133/+89
| | | | | | | | | | | | | | | | | big, ugly, error prone switch-statement is replaced with a compact table. I also added numerous comments, including a comment explaining how the format parameter is validated. Explicitly pass GL_FLOAT as the type in the cases where that is the only possible value (e.g., everywhere except the call to glColorPointer). Validate that stride is >= 0. Tested with all modes (including the two error modes) of progs/tests/interleave.c. Bug: #5001, #5058 Reviewed by: Brian Paul
* restore FASTCALL stuffBrian Paul2005-10-204-4/+20
|
* fix bad loops in TransposeMatrix[fd]()Brian Paul2005-10-201-2/+2
|
* Disable the FASTCALL optimization because it still breaks server-side GLX.Brian Paul2005-10-204-20/+4
|
* s/unsigned long/drm_handle_t/ to get compilation of fb driver to workBrian Paul2005-09-191-2/+2
|
* use ASM_API variable, bug 4415Brian Paul2005-09-121-12/+10
|
* complete fix for miniglx startup issue since driver version checksDave Airlie2005-08-311-4/+11
|
* /dri/msgAdam Jackson2005-08-265-16/+16
|
* Fix the scripts for the cygwin & mingw changesAlan Hourihane2005-08-262-18/+8
|