Redo the cso cache to map driver data in a lot more pleasing way.
authorZack Rusin <zack@tungstengraphics.com>
Wed, 19 Sep 2007 16:35:29 +0000 (12:35 -0400)
committerZack Rusin <zack@tungstengraphics.com>
Wed, 19 Sep 2007 17:12:09 +0000 (13:12 -0400)
commitc0bf7322088715bb411068c3d631b0c4be8cdff5
treeacc04e8f411800c3dbdc6672585d38894dd11b5d
parentb3cc74aa448f42340cbd01578a51f94eb2949618
Redo the cso cache to map driver data in a lot more pleasing way.

Drivers can now create whatever they want from the state template. We
use cso_state object to store the template (necessary during lookups),
and the driver data. Convert blend state to the new semantics.
14 files changed:
src/mesa/pipe/cso_cache/cso_cache.h
src/mesa/pipe/failover/fo_context.h
src/mesa/pipe/failover/fo_state.c
src/mesa/pipe/failover/fo_state_emit.c
src/mesa/pipe/i915simple/i915_state.c
src/mesa/pipe/p_context.h
src/mesa/pipe/softpipe/sp_state.h
src/mesa/pipe/softpipe/sp_state_blend.c
src/mesa/state_tracker/st_atom_blend.c
src/mesa/state_tracker/st_cache.c
src/mesa/state_tracker/st_cache.h
src/mesa/state_tracker/st_cb_clear.c
src/mesa/state_tracker/st_cb_drawpixels.c
src/mesa/state_tracker/st_context.h