summaryrefslogtreecommitdiff
path: root/src/glx
AgeCommit message (Collapse)Author
2006-08-29Deprecate GL_EXT_vertex_weighting.Ian Romanick
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.
2006-08-29Clean up GLX function exports.Ian Romanick
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 -
2006-08-25Add a couple of the missing GL 2.0 functions. Enable GLX protocol forIan Romanick
glBlendEquationSeparateEXT. Add missing enum "get" information for GL_EXT_texture_filter_anisotropic.
2006-08-24GL_EXT_paletted_texture functions should alias GL_SGI_color_table functions.Ian Romanick
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.
2006-08-24Add a new offset mode to the GL API XML. This mode, called "assign,"Ian Romanick
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.
2006-08-14Bug #7169: Attempt to make libGL symbols visible to drivers.Michel Dänzer
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.
2006-08-10linux-indirect target fixes.Adam Jackson
2006-07-15fix a memleak (that code block has been commented out for years for unknown ↵Tilman Sauerbeck
reasons)
2006-07-13Move initialization of server_support from __glXProcessServerString toIan Romanick
__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.
2006-07-13LIB_DIR is now just 'lib' or 'lib64'Brian Paul
Replaced $(LIB_DIR) with $(TOP)/$(LIB_DIR), use LIB_DIR in install targets. Patch by Hanno Böck.
2006-07-12New config var DRI_DRIVER_SEARCH_DIR to specify where libGL should searchBrian Paul
(at runtime) for the DRI drivers. See bug 2372.
2006-07-12fix a memleakTilman Sauerbeck
2006-06-22New 'install' targets in makefile. See bug 2372.Brian Paul
2006-06-13Fix all instances of calling __glXSetupForCommand before GetReqExtra.Kristian Høgsberg
2006-06-12make do_vertex_attrib_enable() staticBrian Paul
2006-06-12include glxclient.h to silence missing prototypes warningBrian Paul
2006-05-11In __glXPushArrayState() we weren't pushing the index field.Brian Paul
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.
2006-05-09When error-checking 'unit' against num_texture_units, need to use >=, not >.Brian Paul
See bug 6863.
2006-05-01Update function signatures for EXT_tfp entrypoints.Adam Jackson
2006-04-11FBConfig support for EXT_tfpDavid Reveman
2006-04-11Add attrib_list to glXBindTexImageEXTDavid Reveman
2006-04-11Fix CreateDrawableDavid Reveman
2006-04-07make miniglx use libdrm properlyDave Airlie
2006-04-07Coverity #943: Avoid a NULL chase.Adam Jackson
2006-04-03setup to use pci access, comment out size bumps,Dave Airlie
sest xres from real width, use new -1 ddx version
2006-04-03do a drm lock/unlock sequence after the client closeDave Airlie
2006-04-03add width to struct for width != virtual widthDave Airlie
2006-04-03make miniglx use libdrm and libpciaccessDave Airlie
2006-04-03Coverity #468: Fill in the rest of the error_list to match the error codesAdam Jackson
defined in glxproto.h. Avoids reading semi-random memory (and probably crashing) when calling __glXErrorString().
2006-03-31Dave Reveman's patch for GLX_MESA_copy_sub_buffer supportBrian Paul
2006-03-14Set always_array=true for glGenProgramsNV (Dave Reveman)Brian Paul
2006-03-09s/GLint/int/, to fit GLX conventionsBrian Paul
2006-03-09Instead of adding extra flags to DEFINES with +=, define EXTRA_DEFINES instead.Brian Paul
This eliminates a bunch of duplication in the compilation commmands.
2006-02-24EXT_framebuffer_object (Dave Reveman)Brian Paul
2006-02-15remove stray 'foo' lineBrian Paul
2006-02-14replace size_t * w/ unsigned int * (Jurg Billeter)Brian Paul
2006-02-07David Reveman's GLX_EXT_texture_from_pixmap extension patchBrian Paul
2005-12-02Test sizeof(drm_handle_t) instead of LONG64 when returning handlesBrian Paul
2005-11-30This is a major re-work of the __indirect_glInterleavedArrays routine. TheIan Romanick
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
2005-10-20restore FASTCALL stuffBrian Paul
2005-10-20fix bad loops in TransposeMatrix[fd]()Brian Paul
2005-10-20Disable the FASTCALL optimization because it still breaks server-side GLX.Brian Paul
2005-09-19s/unsigned long/drm_handle_t/ to get compilation of fb driver to workBrian Paul
2005-09-12use ASM_API variable, bug 4415Brian Paul
2005-08-31complete fix for miniglx startup issue since driver version checksDave Airlie
2005-08-26/dri/msgAdam Jackson
2005-08-26Fix the scripts for the cygwin & mingw changesAlan Hourihane
2005-08-25update for mingwAlan Hourihane
2005-08-24Fix Windows build problems.Alan Hourihane
GCC's visibility attribute is for ELF systems, so undef INTERNAL GCC's fastcall attribute interferes with __stdcall so undef FASTCALL
2005-08-19Convert libGL and DRI drivers to require libdrm.Adam Jackson
libdrm can be had from: http://people.freedesktop.org/~ajax/libdrm/