(As if the other patches aren't just hacks at this point :)  This just makes
compiz always do a glXSwapBuffers call rather than SubBuffer calls.  Won't
play very well with framebuffer compression, but it's a start.

diff --git a/src/display.c b/src/display.c
index 23b0ba1..134f69e 100644
--- a/src/display.c
+++ b/src/display.c
@@ -1608,7 +1608,7 @@ eventLoop (void)
                            timeDiff = 0;
 
                        makeScreenCurrent (s);
-
+                       damageScreen(s);
                        if (s->slowAnimations)
                        {
                            (*s->preparePaintScreen) (s,
@@ -1680,7 +1680,7 @@ eventLoop (void)
                        targetScreen = NULL;
                        targetOutput = &s->outputDev[0];
 
-                       waitForVideoSync (s);
+                       //waitForVideoSync (s);
 
                        if (mask & COMP_SCREEN_DAMAGE_ALL_MASK)
                        {

------------------------------------------------------------------------------
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
--
_______________________________________________
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel

Reply via email to