[Mesa-dev] [PATCH 06/11] i965: Stop flagging viewport/scissor change on drawbuffers change.
Eric Anholt
eric at anholt.net
Thu Jun 20 23:07:59 PDT 2013
The viewport (ctx->Viewport._WindowMap) doesn't change with drawable size
changes, and we update scissor (ctx->DrawBuffer->_Xmin and friends) on
_NEW_BUFFERS in things like brw_sf_state.c.
---
src/mesa/drivers/dri/i965/brw_vtbl.c | 3 ---
1 file changed, 3 deletions(-)
diff --git a/src/mesa/drivers/dri/i965/brw_vtbl.c b/src/mesa/drivers/dri/i965/brw_vtbl.c
index ba5fadf..a47b7a3 100644
--- a/src/mesa/drivers/dri/i965/brw_vtbl.c
+++ b/src/mesa/drivers/dri/i965/brw_vtbl.c
@@ -141,9 +141,6 @@ brw_update_draw_buffer(struct intel_context *intel)
* renderbuffers' buffer objects.
*/
intel->NewGLState |= _NEW_BUFFERS;
-
- /* update viewport/scissor since it depends on window size */
- intel->NewGLState |= _NEW_VIEWPORT | _NEW_SCISSOR;
}
/**
--
1.8.3.rc0
More information about the mesa-dev
mailing list