diff options
author | Eric Anholt <[email protected]> | 2013-06-20 09:49:32 -0700 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2013-06-25 19:19:21 -0700 |
commit | 9d523e33729d2b23e983eef15e125e0236be5e43 (patch) | |
tree | 6a7a2bd328c1ebf3facc87095504523df9d34724 | |
parent | 15c47481ba9bfaf88f125f12234da642588f1495 (diff) |
i965: Stop recomputing drawbuffer bounds on drawbuffer change.
For winsys FBOs, the bounds are appropriately updated immediately upon
_mesa_resize_framebuffer(). For user FBOs, they're updated as part of the
normal draw path state update due to _NEW_BUFFERS having been flagged.
Reviewed-by: Anuj Phogat <[email protected]>
Reviewed-by: Kenneth Graunke <[email protected]>
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_vtbl.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_vtbl.c b/src/mesa/drivers/dri/i965/brw_vtbl.c index 99d661f97b8..4bf1ba93cd1 100644 --- a/src/mesa/drivers/dri/i965/brw_vtbl.c +++ b/src/mesa/drivers/dri/i965/brw_vtbl.c @@ -118,8 +118,6 @@ brw_update_draw_buffer(struct intel_context *intel) if (ctx->NewState & _NEW_BUFFERS) { /* this updates the DrawBuffer->_NumColorDrawBuffers fields, etc */ _mesa_update_framebuffer(ctx); - /* this updates the DrawBuffer's Width/Height if it's a FBO */ - _mesa_update_draw_buffer_bounds(ctx); } if (fb->_Status != GL_FRAMEBUFFER_COMPLETE_EXT) { |