summaryrefslogtreecommitdiff
path: root/progs/trivial/lineloop.c
diff options
context:
space:
mode:
authorKeith Whitwell <keithw@vmware.com>2009-06-30 18:40:20 +0100
committerKeith Whitwell <keithw@vmware.com>2009-06-30 18:40:20 +0100
commit70ae7ba818e9d8a5485653b258e76f06c988654c (patch)
treec286ff4ccb7480b275eb94f4474490bfbd761f46 /progs/trivial/lineloop.c
parentc48c01c9e7d6d0a43883b7b3333ad42208ea9d44 (diff)
mesa/dlist: fixes and improvements for material caching
Only short-circuit material call if *all* statechanges from this call are cached. Some material calls (eg with FRONT_AND_BACK) change more than one piece of state -- need to check all of them before returning. Also, Material calls are legal inside begin/end pairs, so don't need to be as careful about begin/end state as with regular statechanges (like ShadeModel) when caching. Take advantage of this and do better caching.
Diffstat (limited to 'progs/trivial/lineloop.c')
0 files changed, 0 insertions, 0 deletions