On Thursday, February 26, 2009 4:35:34 pm Jesse Barnes wrote:
Found a bug in the AIGLX code; can't free the new buffers since we need
them.
And another bug in the indirect case: if swapbuffers fails we should fall
back to a copyregion. This should fix the old compiz case.
--
Jesse Barnes,
Add support for the new DRI2 swapbuffers request by supporting the protocol
and adding a new driver hook to perform the swap. If it fails we'll fall
back to blitting.
Signed-off-by: Jesse Barnes jbar...@virtuousgeek.org
diff --git a/glx/glxdri2.c b/glx/glxdri2.c
index 4e76c71..b76a786 100644
Found a bug in the AIGLX code; can't free the new buffers since we need them.
--
Jesse Barnes, Intel Open Source Technology Center
diff --git a/glx/glxdri2.c b/glx/glxdri2.c
index 4e76c71..28bd3c4 100644
--- a/glx/glxdri2.c
+++ b/glx/glxdri2.c
@@ -131,10 +131,23 @@
Just realized I still need to check whether the driver supports swapbuffers,
if not we should fall back to copyarea. Other than that it's pretty simple.
diff --git a/glx/glxdri2.c b/glx/glxdri2.c
index 4e76c71..42a596e 100644
--- a/glx/glxdri2.c
+++ b/glx/glxdri2.c
@@ -131,10 +131,27 @@