diff options
author | Keith Whitwell <[email protected]> | 2009-06-30 18:40:20 +0100 |
---|---|---|
committer | Keith Whitwell <[email protected]> | 2009-06-30 18:40:20 +0100 |
commit | 70ae7ba818e9d8a5485653b258e76f06c988654c (patch) | |
tree | c286ff4ccb7480b275eb94f4474490bfbd761f46 /src/mesa/main/polygon.h | |
parent | c48c01c9e7d6d0a43883b7b3333ad42208ea9d44 (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 'src/mesa/main/polygon.h')
0 files changed, 0 insertions, 0 deletions