mesa/dlist: don't cache state which may not be replayed on CallList
authorKeith Whitwell <keithw@vmware.com>
Tue, 30 Jun 2009 16:10:56 +0000 (17:10 +0100)
committerKeith Whitwell <keithw@vmware.com>
Tue, 30 Jun 2009 16:10:56 +0000 (17:10 +0100)
commitd6c2347d79c50ac18eab96378d79d989f3ffd0b7
tree6ef616fe65051c4484c02a42df43818644368e0c
parent09a3a28fc8f1ed931304bf27a56fe72768d7861e
mesa/dlist: don't cache state which may not be replayed on CallList

Statechanges which occur before the first End in a display list may
not be replayed when the list is called, in particular if it is called
from within a begin/end pair.

Recognize vulnerable statechanges and do not use them to fill in the
state cache.
src/mesa/main/dlist.c