summaryrefslogtreecommitdiff
path: root/src/glx/x11/glx_pbuffer.c
AgeCommit message (Collapse)Author
2009-09-22Merge branch 'mesa_7_5_branch' into mesa_7_6_branchBrian Paul
Conflicts: src/mesa/main/bufferobj.c
2009-09-21GLX: Warn only once about applications calling GLX 1.3 functionsTormod Volden
The warnings introduced in 1f309c40b8065b8729fce631540c66e4b50b84df would pour out generously from some applications. This patch adds a "warn once" wrapper macro, heavily inspired by src/mesa/drivers/dri/r600/radeon_debug.h Signed-off-by: Tormod Volden <debian.tormod@gmail.com> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
2009-09-15Merge commit 'origin/mesa_7_5_branch' into mesa_7_6_branchIan Romanick
2009-09-15GLX: Complain when buggy applications call GLX 1.3 functions.Ian Romanick
2009-08-13glx: indent -br -i3 -npcs --no-tabsRALOVICH, Kristóf
Some manual intervention applied since XEXT_* and other macro magic fooled indent. Auto generated files were also skipped.
2009-04-03glx: remove unused local var in determineTextureFormat()Brian Paul
2009-03-20Fix DRI2 accelerated EXT_texture_from_pixmap with GL_RGB format.Eric Anholt
This requires upgrading the interface so that the argument to glXBindTexImageEXT isn't just dropped on the floor. Note that this only fixes the accelerated path on Intel, as Mesa's texture format support is missing x8r8g8b8 support (right now, GL_RGB textures get uploaded as a8r8gb8, but in this case we're not doing the upload so we can't really work around it that way). Fixes bugs with compositors trying to use shaders that use alpha channels, on windows without a valid alpha channel. Bug #19910 and likely others as well. Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
2009-01-11Fix build with GCC 2.95.Owain G. Ainsworth
2008-11-11Don't mess with emacs tab width.Kristian Høgsberg
2008-10-13glx: indent -br -i3 -npcs --no-tabs glx_pbuffer.cRALOVICH, Kristóf
2008-10-13glx: add a line of Emacs helping variablesRALOVICH, Kristóf
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-06-05Silence warningAlan Hourihane
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-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.
2007-10-13Get the width and height from the attrib list in glXCreatePbuffer.Kristian Høgsberg
2007-05-17get rid of needless static function declarations at top of fileBrian
2007-05-17In DestroyPbuffer(), use GetReq() intead of GetReqExtra(). See bug 10983.Brian
2006-06-13Fix all instances of calling __glXSetupForCommand before GetReqExtra.Kristian Høgsberg
2006-04-11Fix CreateDrawableDavid Reveman
2006-04-07Coverity #943: Avoid a NULL chase.Adam Jackson
2006-02-07David Reveman's GLX_EXT_texture_from_pixmap extension patchBrian Paul
2005-08-11fix X #includes so they're relative to X11/ directory (bug 4047)Brian Paul
2005-07-26Remove the last remnants of GLX_BUILT_IN_XMESA. This allows the removal ofIan Romanick
the evil, ugly GLX_PREFIX macro as well.
2005-03-04Import fixes from X.org tree (Søren Sandmann <sandmann@redhat.com>).Ian Romanick
2004-12-15Fix up glx/x11 to work when built with -fvisibility=hidden.Adam Jackson
2004-10-25Import the GLX client side library, formerly from xc/lib/GL/glx. Build itAdam Jackson
by adding 'glx/x11' to SRC_DIRS in your build config.