From: Eric Anholt Date: Fri, 2 Oct 2009 00:59:05 +0000 (-0700) Subject: mesa: Remove another unexplained Flush call, this time from BindFramebuffer. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=6d0fc3cfde3dd730de17e925c5594a8b317ba200;p=mesa.git 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. --- diff --git a/src/mesa/main/fbobject.c b/src/mesa/main/fbobject.c index a73a7659add..6e767bb24d1 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 */