summaryrefslogtreecommitdiff
path: root/src/glx/dri_common.c
AgeCommit message (Collapse)AuthorFilesLines
2011-08-26dri: Remove all DRI1 driversIan Romanick1-1/+1
Acked-by: Kristian Høgsberg <krh@bitplanet.net> Acked-by: Marek Olšák <maraeo@gmail.com> Acked-by: Alan Coopersmith <alan.coopersmith@oracle.com> Acked-by: Jakob Bornecrantz <jakob@vmware.com> Acked-by: Dave Airlie <airlied@redhat.com> Build-Tested-by: Jakob Bornecrantz <jakob@vmware.com> Tested-by: Eugeni Dodonov <eugeni.dodonov@intel.com>
2011-07-19glx: Avoid calling __glXInitialize() in driReleaseDrawables().Henri Verbeet1-1/+1
This fixes a regression introduced by commit a26121f37530619610a78a5fbe5ef87e44047fda (fd.o bug #39219). Since the __glXInitialize() call should be unnecessary anyway, this is probably a nicer fix for the original problem too. NOTE: This is a candidate for the 7.10 and 7.11 branches. Signed-off-by: Henri Verbeet <hverbeet@gmail.com> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com> Tested-by: padfoot@exemail.com.au
2011-06-17glx: implement drawable refcounting.Stéphane Marchesin1-7/+19
The current dri context unbind logic will leak drawables until the process dies (they will then get released by the GEM code). There are two ways to fix this: either always call driReleaseDrawables every time we unbind a context (but that costs us round trips to the X server at getbuffers() time) or implement proper drawable refcounting. This patch implements the latter. Signed-off-by: Antoine Labour <piman@chromium.org> Signed-off-by: Stéphane Marchesin <marcheu@chromium.org> Reviewed-by: Adam Jackson <ajax@redhat.com>
2011-03-06glx/dri: add initial dri interface for GLX_EXT_framebuffer_sRGB.Dave Airlie1-1/+3
This realigns the name of the glx bit to align with the core mesa names.
2010-09-29glx: Only remove drawables from the hash when we actually delete themKristian Høgsberg1-4/+6
https://bugs.freedesktop.org/show_bug.cgi?id=30457
2010-09-08glx: Drop broken drawable garbage collectionKristian Høgsberg1-0/+25
Doesn't work for pixmaps, was looking up the GLX XID and was never thread safe. Instead, just destroy the client side structures when the drawable is no long current for a context.
2010-07-28glx: Move bind and unbind to context vtableKristian Høgsberg1-0/+27
2010-07-28glx: Rename glcontextmodes.[ch] to glxconfig.[ch]Kristian Høgsberg1-1/+0
2010-07-28glx: Rename __GLcontextModes to struct glx_configKristian Høgsberg1-26/+24
With this rename, we use 'config' consitently to refer to GLX configurations instead of the modes/configs/visual mess before.
2010-07-21glx: Move last few dri_interface.h types out of glxclient.h and drop includeKristian Høgsberg1-1/+11
2010-07-19glx: Move DRI CopySubBuffer extension to DRI1 codeKristian Høgsberg1-25/+0
We do this in the X server for DRI2.
2010-07-19glx: Move driver_configs to DRI screen privatesKristian Høgsberg1-0/+10
2010-07-19glx: Remove support for MESA_swap_frame_usageKristian Høgsberg1-7/+0
The extension never worked, the implementation returns GLX_BAD_CONTEXT when enabling the frame tracking.
2010-07-19glx: Move DRI1 specific extensions and code to DRI1 screen privateKristian Høgsberg1-34/+0
2010-07-19glx: Move DRI2 extensions to DRI2 screen privateKristian Høgsberg1-36/+0
2010-07-19glx: Drop support for GLX_MESA_allocate_memoryKristian Høgsberg1-7/+0
Only r200 implemented it.
2010-07-19glx: Add screen privates for dri drivers and moved some fields thereKristian Høgsberg1-12/+5
GLXscreenConfigs is badly named and a dumping ground for a lot of stuff. This patch creates private screen structs for the dri drivers and moves some of their fields over there.
2010-04-28Merge branch '7.8'Brian Paul1-1/+1
Conflicts: src/glx/dri2_glx.c src/glx/glx_pbuffer.c
2010-04-27apple: Change ifdefs for DRI to be DRI && !APPLEJeremy Huddleston1-1/+1
Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
2010-04-22DRI2: add config query extensionJesse Barnes1-0/+5
Add a new DRI2 configuration query extension. Allows for DRI2 client code to query for common DRI2 configuration options.
2010-04-01Revert accidental commits from the xquartz treeJeremy Huddleston1-1/+1
This reverts commit 9aadc793f3db64cefa0b08f18abad424a659dacc. This reverts commit 69ea4e7718efb60b6b0d795a355cebd6712ceac1. This reverts commit dbe8b013936d977ec63d6607bfd2fc6772d29787. This reverts commit 23215ef4d60a86d9f3b3fdc08e3fdadc59e98890. This reverts commit 9495e3703062d1ddaf3161f4efc23f0b51284d9b. This reverts commit 0594cf70883b64692ba617d85f4f9b4e636e5c2b. This reverts commit 86a7978d37393ee34f876569ac06ffdb8d7289ae. This reverts commit 437902ce978cde9a0e1aa260f12dc232a8501c42.
2010-04-01apple: Change ifdefs for DRI to be DRI && !APPLEJeremy Huddleston1-1/+1
Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
2010-02-09Retire miniglx and move the actual glx code up to src/glxKristian Høgsberg1-0/+450