OSDN Git Service
(root)
/
android-x86
/
external-mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b04c718
)
i965: Stop flagging _NEW_POLYGON on drawbuffers change.
author
Eric Anholt
<eric@anholt.net>
Thu, 20 Jun 2013 15:39:56 +0000
(08:39 -0700)
committer
Eric Anholt
<eric@anholt.net>
Wed, 26 Jun 2013 02:19:21 +0000
(19:19 -0700)
Things like brw_sf.c that need to know about orientation are already
recomputing on _NEW_BUFFERS.
Reviewed-by: Anuj Phogat <anuj.phogat@gmail.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/drivers/dri/i965/brw_vtbl.c
patch
|
blob
|
history
diff --git
a/src/mesa/drivers/dri/i965/brw_vtbl.c
b/src/mesa/drivers/dri/i965/brw_vtbl.c
index
96a6cd5
..
ba5fadf
100644
(file)
--- a/
src/mesa/drivers/dri/i965/brw_vtbl.c
+++ b/
src/mesa/drivers/dri/i965/brw_vtbl.c
@@
-144,11
+144,6
@@
brw_update_draw_buffer(struct intel_context *intel)
/* update viewport/scissor since it depends on window size */
intel->NewGLState |= _NEW_VIEWPORT | _NEW_SCISSOR;
-
- /* Update culling direction which changes depending on the
- * orientation of the buffer:
- */
- intel->NewGLState |= _NEW_POLYGON;
}
/**