Module: Mesa Branch: master Commit: 6a1e19d0f63cb086e43505522cb72b0183da9b11 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=6a1e19d0f63cb086e43505522cb72b0183da9b11
Author: Eric Anholt <[email protected]> Date: Fri Dec 16 16:22:33 2011 -0800 intel: Drop the batchbuffer flush on glRenderbufferStorage(). 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__, _______________________________________________ mesa-commit mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/mesa-commit
