[Mesa-dev] [PATCH 4/6] intel: Drop the batchbuffer flush on glFramebufferRenderbuffer().

Eric Anholt eric at anholt.net
Wed Dec 21 15:33:07 PST 2011


There should be nothing special about this call compared to other
callers of intel_draw_buffer().
---
 src/mesa/drivers/dri/intel/intel_fbo.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/src/mesa/drivers/dri/intel/intel_fbo.c b/src/mesa/drivers/dri/intel/intel_fbo.c
index c60b57e..0dcc917 100644
--- a/src/mesa/drivers/dri/intel/intel_fbo.c
+++ b/src/mesa/drivers/dri/intel/intel_fbo.c
@@ -450,8 +450,6 @@ intel_framebuffer_renderbuffer(struct gl_context * ctx,
 {
    DBG("Intel FramebufferRenderbuffer %u %u\n", fb->Name, rb ? rb->Name : 0);
 
-   intel_flush(ctx);
-
    _mesa_framebuffer_renderbuffer(ctx, fb, attachment, rb);
    intel_draw_buffer(ctx);
 }
-- 
1.7.7.3



More information about the mesa-dev mailing list