summaryrefslogtreecommitdiff
path: root/src/glx/x11/glx_pbuffer.c
AgeCommit message (Collapse)Author
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.