Module: Mesa
Branch: master
Commit: 6d0fc3cfde3dd730de17e925c5594a8b317ba200
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=6d0fc3cfde3dd730de17e925c5594a8b317ba200

Author: Eric Anholt <[email protected]>
Date:   Thu Oct  1 17:59:05 2009 -0700

mesa: Remove another unexplained Flush call, this time from BindFramebuffer.

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 |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)

diff --git a/src/mesa/main/fbobject.c b/src/mesa/main/fbobject.c
index a73a765..6e767bb 100644
--- a/src/mesa/main/fbobject.c
+++ b/src/mesa/main/fbobject.c
@@ -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 */

_______________________________________________
mesa-commit mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to