st/vega: fix up vega state tracker to use cso changes
authorRoland Scheidegger <sroland@vmware.com>
Fri, 19 Mar 2010 15:29:22 +0000 (16:29 +0100)
committerRoland Scheidegger <sroland@vmware.com>
Fri, 19 Mar 2010 15:29:22 +0000 (16:29 +0100)
commite5f0384ad06359aa1b9dc1b4bc6f475f7a119af2
treefc59b9a33d8c689c8f5f5e8941fa92b38b740ad8
parent8221a0e7f7eeff2c8201afcf4f5b46fc36dc8606
st/vega: fix up vega state tracker to use cso changes

use cso fragment sampler views instead of sampler textures.
since we don't really change views, try to store sampler views instead
of the textures to avoid having to recreate views most of the time.
13 files changed:
src/gallium/state_trackers/vega/api_filters.c
src/gallium/state_trackers/vega/image.c
src/gallium/state_trackers/vega/image.h
src/gallium/state_trackers/vega/mask.c
src/gallium/state_trackers/vega/mask.h
src/gallium/state_trackers/vega/paint.c
src/gallium/state_trackers/vega/paint.h
src/gallium/state_trackers/vega/renderer.c
src/gallium/state_trackers/vega/renderer.h
src/gallium/state_trackers/vega/shader.c
src/gallium/state_trackers/vega/vg_context.c
src/gallium/state_trackers/vega/vg_context.h
src/gallium/state_trackers/vega/vg_tracker.c