summaryrefslogtreecommitdiffstats
path: root/common.py
diff options
context:
space:
mode:
authorStéphane Marchesin <marcheu@chromium.org>2011-06-15 15:09:12 -0700
committerStéphane Marchesin <marcheu@chromium.org>2011-06-17 11:20:19 -0700
commitbf69ce37f0dcbb479078ee676d5100ac63e20750 (patch)
treecfb0bf5deb989d947503e2bbeddde5aa5080fb62 /common.py
parent8173471fc25f4c768cab54fa840fd4c53d1c3c0f (diff)
downloadexternal_mesa3d-bf69ce37f0dcbb479078ee676d5100ac63e20750.zip
external_mesa3d-bf69ce37f0dcbb479078ee676d5100ac63e20750.tar.gz
external_mesa3d-bf69ce37f0dcbb479078ee676d5100ac63e20750.tar.bz2
glx: implement drawable refcounting.
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>
Diffstat (limited to 'common.py')
0 files changed, 0 insertions, 0 deletions