mesa: Remove another unexplained Flush call, this time from BindFramebuffer.
authorEric Anholt <eric@anholt.net>
Fri, 2 Oct 2009 00:59:05 +0000 (17:59 -0700)
committerEric Anholt <eric@anholt.net>
Fri, 2 Oct 2009 18:42:07 +0000 (11:42 -0700)
Combined with the previous fix, it takes cairo-gl firefox-talos-gfx time
from 120 seconds to 90 seconds on my GM45.

src/mesa/main/fbobject.c

index a73a7659addecabd6b52cfd007289e8476feed4a..6e767bb24d1c1b9a1d0d8257d8803b578f0fc2f6 100644 (file)
@@ -1207,9 +1207,6 @@ _mesa_BindFramebufferEXT(GLenum target, GLuint framebuffer)
    }
 
    FLUSH_CURRENT(ctx, _NEW_BUFFERS);
-   if (ctx->Driver.Flush) {  
-      ctx->Driver.Flush(ctx);
-   }
 
    if (framebuffer) {
       /* Binding a user-created framebuffer object */