summaryrefslogtreecommitdiff
path: root/src/glx
AgeCommit message (Collapse)Author
2008-09-18mesa: fix asst path/include mistakes in prev commitsChris Rankin
2008-09-18glx: remove #include "glheader.h" linesBrian Paul
Was only used to get the PUBLIC/USED macros. Also, replace "GL_FALSE" with "False" in a couple places.
2008-09-18glx: remove depency on glheader.h and GLboolean type in XF86DRI codeBrian Paul
Return Bool instead of GLboolean to match other functions. Define PUBLIC/USED macros locally.
2008-09-13glx: fix 64-bit datatype issueGuillaume Melquiond
2008-09-12Finish off the previous fix for TFP.Eric Anholt
A couple of those lines of debug printfs I deleted weren't actually debug printfs.
2008-09-12dri/swrast: fix swapBuffers after dri2George Sapountzis
2008-08-29DRI2: Drop sarea, implement swap buffers in the X server.Kristian Høgsberg
2008-08-20glx: free driScreen in FreeScreenConfigs()Kristof Ralovich
2008-08-20glx: free context in driDestroyContext()Kristof Ralovich
2008-08-20glx: free vertex array state when context is destroyedKristof Ralovich
2008-08-20fix mem leak (free psc->visuals)Kristof Ralovich
2008-08-12Fixed 'make install' for darwinJeremy Huddleston
2008-08-11Apple: Cleaned up some linking and dylib ids issuesJeremy Huddleston
2008-08-08glx/x11: Added some #ifdef GLX_DIRECT_RENDERING protectionJeremy Huddleston
2008-08-08glx/x11: Fix missing __GL_EXT_BYTES declarationJeremy Huddleston
2008-08-04Drop unused 'entries' field from __glxHashTable.Adam Jackson
2008-07-15glx: Update my e-mail address. :)Ian Romanick
2008-07-15glx: Trivial clean-ups to __glXSetArrayEnableIan Romanick
2008-07-13glx/dri: only report DRI2 extensions when DRI2 is enabled.Dave Airlie
Fixes bug 15477
2008-07-12Call mklib with $(SHELL) so the user controls the interpreterDan Nicholson
Respect the user's choice of shell when running mklib rather than always using /bin/sh.
2008-07-07glx: add LIBGL_ALWAYS_SOFTWAREGeorge Sapountzis
this disables accelerated DRI and fallbacks to client-side software rendering. compile-tested only.
2008-07-04glcontextmodes.c is required remove the reference in .gitignoreAlan Hourihane
2008-06-21Fix builds with compilers other than gcc 3.0 & newerAlan Coopersmith
Add #include "glheader.h" for definition of __builtin_expect for compilers that don't support it. Signed-off-by: Brian Paul <brian.paul@tungstengraphics.com>
2008-06-13glx: load swrast_dri.soGeorge Sapountzis
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
2008-06-13glx: use ErrorMessageFGeorge Sapountzis
2008-06-10copy msaa visuals capabilityRoland Scheidegger
2008-06-09glx: use goto's vs. nested if's ala xserverGeorge Sapountzis
compile tested only
2008-06-09glx: add dri_common.c ala xserverGeorge Sapountzis
also drop driFilterModes which is unused in preparation of loading swrast_dri.so
2008-06-05Silence warningAlan Hourihane
2008-05-28replace make with $(MAKE) (bug 16133)Brian Paul
2008-05-21Revert "glapi: Generate xserver glapi sources in the mesa tree"Kristian Høgsberg
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
2008-05-09Default DRI driver directory to match X.Org xserverDan Nicholson
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.
2008-05-07Never fail `make clean'Dan Nicholson
Mostly some pedantic changes such that `make clean' always ignores errors. Also changed the top clean target to do the `touch configs/current' dance instead of realclean.
2008-05-06Always cleanup the makedepend backup filesDan Nicholson
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.
2008-05-06Error consistently when running recursive makeDan Nicholson
When changing directories and running a sub-make, ensure that both the cd and make commands propagate errors to the parent make.
2008-04-23include <X11/Xlib.h>Alan Hourihane
2008-04-23glx: nitpick renamesGeorge Sapountzis
2008-04-23glx: split out current context codeGeorge Sapountzis
also clean header inclusion after code movement
2008-04-10Get the default GLXPixmap texture target from the server when appropriate.Michel Dänzer
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.
2008-04-08Handle fbconfig comparison correctly for attributes the X server didn't send.Jie Luo
2008-04-08Only convert configs if screen creation was successful.Kristian Høgsberg
Thanks to Adam Jackson for pointing it out.
2008-04-02Pick up dri2proto from the standard proto header include path.Kristian Høgsberg
2008-04-02Initialize GLX_EXT_texture_from_pixmap attributes correctly.Kristian Høgsberg
2008-03-31DRI interface changes and DRI2 direct rendering support.Kristian Høgsberg
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.
2008-03-18glx: Add isDirect back to __GLXcontextRec. It is neededXiang, Haihao
to check whether oldGC is used for direct rendering in function MakeContextCurrent. However it is possible oldGC->driContext is already freed. fix bug #14926.
2008-03-15Test createNewScreen for NULL, not createNewScreenName in driCreateScreen().Kristian Høgsberg
2008-03-14glx: fix rotation regression. bug #14963Xiang, Haihao
2008-03-12libGL: Pull the drawable hash back out in the generic code.Kristian Høgsberg
This will be shared between dri and dri2 code.
2008-03-12Add another missing check for uninitialized DRI.Kristian Høgsberg
Spotted by Chris Taylor.
2008-03-10Move make install logic for libGL back into src/mesa/Makefile.Kristian Høgsberg
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.