summaryrefslogtreecommitdiffstats
path: root/src/glx
Commit message (Collapse)AuthorAgeFilesLines
* get rid of needless static function declarations at top of fileBrian2007-05-171-12/+0
|
* In DestroyPbuffer(), use GetReq() intead of GetReqExtra(). See bug 10983.Brian2007-05-171-1/+1
|
* in __glXGetArrayType() return type, not enabled (bug 10938)Bruce Merry2007-05-141-1/+1
|
* miniglx: fixup use of create windows x and y coordinatesDave Airlie2007-05-081-3/+3
| | | | This makes miniglx take not of the x and y from XCreateWindow
* Makefile clean-ups for miniglx.Brian2007-05-041-8/+13
|
* remove unneeded initialization code (see bug 10569)Brian2007-04-091-6/+1
|
* allocate __GLXdisplayPrivate w/ Xcalloc instead of Xmalloc (bug 10569)Brian2007-04-091-1/+1
|
* Make sure GLX entrypoints are marked PUBLIC.Adam Jackson2007-04-082-4/+5
| | | | Fedora bug #229808.
* fix bug 9823: GL_CLIENT_ATTRIB_STACK_DEPTH query fails for indirect renderingWei Wang2007-04-081-9/+9
|
* fix etags command to find headersBrian2007-04-071-1/+1
|
* Remove SI imports/exports remnants.George Sapountzis2007-04-051-2/+0
|
* glx: minor cosmetic in glcontextmodes.cGeorge Sapountzis2007-04-051-10/+14
| | | | | move memory macros to separate block and unwrap malloc/free for miniglx towards cleaning Mesa core glitches in glx...
* Move glcontextmodes.c to glx.George Sapountzis2007-04-054-9/+587
| | | | | It is no longer linked with DRI drivers, libGL passes function pointers through the DRI interface.
* always print error messages, unless LIBGL_DEBUG=quietBernardo Innocenti2007-03-271-1/+5
|
* fix mem leaksPanagiotis Papadakos2007-02-052-0/+5
|
* break if we removed driver from Drivers list in driDestroyDisplayPanagiotis Papadakos2007-02-051-0/+1
| | | | Else we read memory we just released, in for statement.
* Merge branch 'master' of git+ssh://[email protected]/git/mesa/mesaBrian2007-02-011-3/+19
|\
| * driDestroyDisplay: Fix comment, it is called now.Michel Dänzer2007-02-011-1/+1
| |
| * driDestroyDisplay: Remove Drivers list entry when dlclosing its handle.Michel Dänzer2007-02-011-2/+18
| | | | | | | | | | | | | | | | | | This fixes a regression from commit f81b1dbe374fe446f6ef676e70a72952ffb47d4e: Since then, driDestroyDisplay gets called from __glXFreeDisplayPrivate. It dlcloses the handles associated with the display but fails to remove their references from the Drivers list, so subsequent calls to OpenDriver return a stale handle and an invalid createNewScreenFunc pointer. The attempt to call the latter results in a segfault when running amoeba, e.g.
* | fix mem leak in __glXReportDamage (Panagiotis Papadakos)Brian2007-02-011-0/+1
|/
* regeneratedBrian2007-01-301-25/+25
|
* s/params/pointer/ for glGetVertexAttribPointerBrian2007-01-301-1/+1
|
* Track rename of DamagePost -> DamageAdd.Eric Anholt2007-01-091-1/+1
|
* Add reporting of damage by DRI drivers when the extension support is available.Eric Anholt2007-01-052-1/+68
| | | | | | | | | | | | | | With this, tools like ximagesrc in gstreamer correctly see updates from GL rendering. Support requires that the Xdamage library be current (but will be disabled if not present) plus a new X Server with support for the new XDamagePost request. libGL now has a new interface version, and also links against libXdamage and libXfixes to support it, but backwards compatibility is retained. Currently, all drivers report damage at SwapBuffers time through common code -- front buffer rendering doesn't result in damage being reported. Also, the damage is against the root window, as our drivers don't yet render to backing store when they should (composited environments).
* s/unsigned/size_t/ (Matthias Hopf)Brian2007-01-041-3/+3
|
* Make git ignore files only generated at build time.Michel Dänzer2006-12-061-0/+1
|
* add support to miniglx for updating drawables ..Dave Airlie2006-11-281-2/+14
| | | | requires hacks to DRM to remove MASTER from UPDATE_DRAW and ADD_DRAW
* Don't define as const's to avoid compiler optimization & warning.Alan Hourihane2006-11-211-2/+2
|
* remove drm stuff from libGL, this is now in libdrm 2.3.0Dave Airlie2006-11-081-62/+0
|
* Update gl_API.xml with OpenGL 2.0 functions, regenerate derived files.Brian Paul2006-11-022-5/+3
|
* disable debug printfBrian Paul2006-11-011-3/+4
|
* merge the (rest of) texmem branchKeith Whitwell2006-11-011-3/+66
|
* Fix bug #8563.Ian Romanick2006-10-161-1/+1
| | | | | | | Fixes a GLX protocol problem when binding an indirect rendering context after a direct rendering context. In this case, the oldContetTag sent to the server should be None, but the currectContextTag stored in the direct rendering context (i.e., -1) was sent instead.
* Fix dumb build errors.Ian Romanick2006-10-131-0/+1
| | | | | | I always build with -DGLX_USE_TLS, so I never hit these paths. glapi.h is required in some places because _glapi_Dispatch is declared there, but _glapi_tls_Dispatch is declared in glthread.h.
* include glapi.h to fix broken buildBrian Paul2006-10-131-0/+1
|
* Fix bug #4681.Ian Romanick2006-10-114-152/+571
| | | | | | | | | | | | | | | | | 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
* added a SyncHandle() call, remove UnlockDisplay() call. (bug 8521)Brian Paul2006-10-091-1/+1
|
* Updates for XCB. Bug 8560.Brian Paul2006-10-092-2/+2
|
* Major clean up of MakeContextCurrentIan Romanick2006-10-071-151/+87
| | | | | | | | | Rearrange most of the internals of MakeContextCurrent. Put all of the code to bind the new context up front. If that is successful, unbind the old context. This saves a lot of code and removes some locking crazyiness. This patch has been tested for indirect rendering with glxinfo, glxgears, manywin, and wincopy.
* Changes to generated code caused by the previous commits.Ian Romanick2006-10-043-3436/+5003
|
* in MakeContextCurrent() use old display pointer for __glXSetupForCommand(), ↵Brian Paul2006-10-041-1/+1
| | | | bug 8443
* 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.