Mesa (master): mesa: Remove another unexplained Flush call, this time from BindFramebuffer.
Eric Anholt
anholt at kemper.freedesktop.org
Fri Oct 2 18:43:02 UTC 2009
Module: Mesa
Branch: master
Commit: 6d0fc3cfde3dd730de17e925c5594a8b317ba200
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=6d0fc3cfde3dd730de17e925c5594a8b317ba200
Author: Eric Anholt <eric at anholt.net>
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 */
More information about the mesa-commit
mailing list