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

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


There's nothing batchbuffer-related here.  State updates by the caller
will trigger re-emitting of any new hardware state.
---
 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 0dcc917..ecb4a86 100644
--- a/src/mesa/drivers/dri/intel/intel_fbo.c
+++ b/src/mesa/drivers/dri/intel/intel_fbo.c
@@ -237,8 +237,6 @@ intel_alloc_renderbuffer_storage(struct gl_context * ctx, struct gl_renderbuffer
    rb->_BaseFormat = _mesa_base_fbo_format(ctx, internalFormat);
    rb->DataType = intel_mesa_format_to_rb_datatype(rb->Format);
 
-   intel_flush(ctx);
-
    intel_miptree_release(&irb->mt);
 
    DBG("%s: %s: %s (%dx%d)\n", __FUNCTION__,
-- 
1.7.7.3



More information about the mesa-dev mailing list