summaryrefslogtreecommitdiffstats
path: root/src/glx/x11
Commit message (Collapse)AuthorAgeFilesLines
* glx: free driScreen in FreeScreenConfigs()Kristof Ralovich2008-08-201-0/+3
|
* glx: free context in driDestroyContext()Kristof Ralovich2008-08-201-0/+1
|
* glx: free vertex array state when context is destroyedKristof Ralovich2008-08-203-2/+30
|
* fix mem leak (free psc->visuals)Kristof Ralovich2008-08-201-3/+6
|
* Fixed 'make install' for darwinJeremy Huddleston2008-08-121-1/+1
|
* Apple: Cleaned up some linking and dylib ids issuesJeremy Huddleston2008-08-111-1/+2
|
* glx/x11: Added some #ifdef GLX_DIRECT_RENDERING protectionJeremy Huddleston2008-08-085-19/+93
|
* glx/x11: Fix missing __GL_EXT_BYTES declarationJeremy Huddleston2008-08-082-1/+3
|
* Drop unused 'entries' field from __glxHashTable.Adam Jackson2008-08-041-4/+2
|
* glx: Update my e-mail address. :)Ian Romanick2008-07-151-1/+1
|
* glx: Trivial clean-ups to __glXSetArrayEnableIan Romanick2008-07-151-4/+8
|
* glx/dri: only report DRI2 extensions when DRI2 is enabled.Dave Airlie2008-07-135-6/+6
| | | | Fixes bug 15477
* Call mklib with $(SHELL) so the user controls the interpreterDan Nicholson2008-07-121-1/+1
| | | | | Respect the user's choice of shell when running mklib rather than always using /bin/sh.
* glx: add LIBGL_ALWAYS_SOFTWAREGeorge Sapountzis2008-07-071-2/+9
| | | | | | this disables accelerated DRI and fallbacks to client-side software rendering. compile-tested only.
* glcontextmodes.c is required remove the reference in .gitignoreAlan Hourihane2008-07-041-1/+0
|
* Fix builds with compilers other than gcc 3.0 & newerAlan Coopersmith2008-06-213-0/+3
| | | | | | | Add #include "glheader.h" for definition of __builtin_expect for compilers that don't support it. Signed-off-by: Brian Paul <[email protected]>
* glx: load swrast_dri.soGeorge Sapountzis2008-06-135-2/+459
| | | | | | | | | | | | | | caveats: - does not work with old (i.e. libGLcore) xserver: - made unbindContext a noop - extensions: GLX_SGI_make_current_read GLX_EXT_texture_from_pixmap GLX_MESA_copy_sub_buffer
* glx: use ErrorMessageFGeorge Sapountzis2008-06-131-13/+10
|
* copy msaa visuals capabilityRoland Scheidegger2008-06-101-1/+4
|
* glx: use goto's vs. nested if's ala xserverGeorge Sapountzis2008-06-091-152/+136
| | | | compile tested only
* glx: add dri_common.c ala xserverGeorge Sapountzis2008-06-095-517/+504
| | | | | | also drop driFilterModes which is unused in preparation of loading swrast_dri.so
* Silence warningAlan Hourihane2008-06-051-1/+1
|
* replace make with $(MAKE) (bug 16133)Brian Paul2008-05-281-1/+1
|
* Revert "glapi: Generate xserver glapi sources in the mesa tree"Kristian Høgsberg2008-05-218-16848/+0
| | | | | | | | | This reverts commit 7688791fc52f116eea421fda1d17aba5cf10977b, and takes us back to generating the glapi files straight into the xserver tree. Conflicts: src/glx/x11/indirect_size_get.c
* Default DRI driver directory to match X.Org xserverDan Nicholson2008-05-091-1/+1
| | | | | | | Since the only valid consumer of the DRI drivers is the X.Org xserver, this changes the default DRI driver directory to match xorg-server: ${libdir}/dri. The old default of /usr/X11R6/modules/dri was wrong for nearly all current systems.
* Always cleanup the makedepend backup filesDan Nicholson2008-05-061-1/+1
| | | | | | Consistently cleanup the depend.bak files created by makedepend. Also, realclean has been changed to use a single find command, which speeds it up considerably.
* include <X11/Xlib.h>Alan Hourihane2008-04-232-0/+2
|
* glx: nitpick renamesGeorge Sapountzis2008-04-234-2/+2
|
* glx: split out current context codeGeorge Sapountzis2008-04-237-521/+538
| | | | also clean header inclusion after code movement
* Get the default GLXPixmap texture target from the server when appropriate.Michel Dänzer2008-04-101-27/+37
| | | | | | | Fixes compiz with direct rendering when both GLX_TEXTURE_2D_EXT and GLX_TEXTURE_RECTANGLE_EXT are supported for a GLXPixmap and the application didn't specify the texture target as a GLX drawable attribute when creating the GLX drawable.
* Handle fbconfig comparison correctly for attributes the X server didn't send.Jie Luo2008-04-082-5/+6
|
* Only convert configs if screen creation was successful.Kristian Høgsberg2008-04-081-8/+10
| | | | Thanks to Adam Jackson for pointing it out.
* Pick up dri2proto from the standard proto header include path.Kristian Høgsberg2008-04-021-1/+1
|
* Initialize GLX_EXT_texture_from_pixmap attributes correctly.Kristian Høgsberg2008-04-021-4/+1
|
* DRI interface changes and DRI2 direct rendering support.Kristian Høgsberg2008-03-3111-256/+1305
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add DRI2 direct rendering support to libGL and add DRI2 client side protocol code. Extend the GLX 1.3 create drawable functions in glx_pbuffer.c to call into the DRI driver when possible. Introduce __DRIconfig, opaque struct that represents a DRI driver configuration. Get's rid of the open coded __GLcontextModes in the DRI driver interface and the context modes create and destroy functions that the loader was requires to provide. glcore.h is no longer part of the DRI driver interface. The DRI config is GL binding agnostic, that is, not specific to GLX, EGL or other bindings. The core API is now also an extension, and the driver exports a list of extensions as the symbol __driDriverExtensions, which the loader must dlsym() for. The list of extension will always include the DRI core extension, which allows creating and manipulating DRI screens, drawables and contexts. The DRI legacy extension, when available, provides alternative entry points for creating the DRI objects that work with the XF86DRI infrastructure. Change DRI2 client code to not use drm drawables or contexts. We never used drm_drawable_t's and the only use for drm_context_t was as a unique identifier when taking the lock. We now just allocate a unique lock ID out of the DRILock sarea block. Once we get rid of the lock entirely, we can drop this hack. Change the interface between dri_util.c and the drivers, so that the drivers now export the DriverAPI struct as driDriverAPI instead of the InitScreen entry point. This lets us avoid dlsym()'ing for the DRI2 init screen function to see if DRI2 is supported by the driver.
* glx: Add isDirect back to __GLXcontextRec. It is neededXiang, Haihao2008-03-183-2/+9
| | | | | | to check whether oldGC is used for direct rendering in function MakeContextCurrent. However it is possible oldGC->driContext is already freed. fix bug #14926.
* Test createNewScreen for NULL, not createNewScreenName in driCreateScreen().Kristian Høgsberg2008-03-151-1/+1
|
* glx: fix rotation regression. bug #14963Xiang, Haihao2008-03-141-2/+4
|
* libGL: Pull the drawable hash back out in the generic code.Kristian Høgsberg2008-03-124-18/+29
| | | | This will be shared between dri and dri2 code.
* Add another missing check for uninitialized DRI.Kristian Høgsberg2008-03-121-1/+2
| | | | Spotted by Chris Taylor.
* Move make install logic for libGL back into src/mesa/Makefile.Kristian Høgsberg2008-03-102-26/+2
| | | | | | | | | This makes make install work again for non-glx libGL implementations. The make install logic is split into three sub-targets: install-libgl, install-osmesa, install-drivers. The install target in src/glx/x11 is then implemented using the src/mesa make install-libgl rule. Thanks to Dan Nicholson for pointing out the breakage.
* Only try to call DRI function if DRI got initialized properly.Kristian Høgsberg2008-03-102-4/+7
|
* remove extra #include of assert.h (bug 14932)Brian2008-03-101-1/+0
|
* dri: fix function call to add new parameter.Dave Airlie2008-03-101-0/+1
| | | | This may not be correct but it should get the build going.
* Properly revert the libGL loader path breakage.Kristian Høgsberg2008-03-091-0/+1
|
* libGL: Fall back to DEFAULT_DRIVER_DIR properly.Kristian Høgsberg2008-03-091-1/+2
| | | | | | | | After commit 6fd82f6fbd208dc7b1839ea408a5fb28589ee622, we would overwrite the libPath default value with NULL if libGL was running non-setuid and none of the env vars were set. Thanks to Magnus Kessler <[email protected]> for spotting it.
* Use _X_HIDDEN to hide a bunch of leaked symbols.Kristian Høgsberg2008-03-085-37/+43
|
* Move DRI context functions into dri_glx.c.Kristian Høgsberg2008-03-086-128/+152
| | | | Also drop isDirect flag; if gc->driContext is non-NULL, it's direct.
* Move DRI drawable creation into dri_glx.c.Kristian Høgsberg2008-03-084-56/+68
|
* Introduce __GLXDRIscreen so we can start moving function pointers in there.Kristian Høgsberg2008-03-085-48/+58
| | | | | Temporarily rename the __DRIscreen member to __driScreen. Eventually, we'll move that into __GLXDRIscreen and only access it in dri_glx.c.