State management in D3D

H. Verbeet hverbeet at gmail.com
Mon Sep 11 11:41:07 CDT 2006


On 11/09/06, Stefan Dösinger <stefandoesinger at gmx.at> wrote:
> * Keep a list of dirty states for each gl context in use: We don't need
> something as fancy as trees for that, a little array can do the job, like
> this(example for render states, but can be used for all other stuff too):
You would at least need to use a proper list. Consider an application
that sets the same state multiple times. Note that what you're
proposing is pretty similar (in basis) to the way we currently handle
shader constants loading.



More information about the wine-devel mailing list