st/xa: surfaces and sampler views are per context
authorThomas Hellstrom <thellstrom@vmware.com>
Fri, 8 Jul 2011 08:03:07 +0000 (10:03 +0200)
committerThomas Hellstrom <thellstrom@vmware.com>
Thu, 29 Sep 2011 18:24:57 +0000 (20:24 +0200)
commit5ec01ba7e85c41fce53ee5c2c3b53036923a0924
tree12e8fda1f08a4d2c7aa5d946fe935a901ae57f46
parented48df84246caa40398ccd6a822cbd9b650f8282
st/xa: surfaces and sampler views are per context

Don't store references to these on the surface but on the context.
References to transfers are still stored on the surface since we allow
only a single map of a surface at a time.

Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
src/gallium/state_trackers/xa/xa_composite.c
src/gallium/state_trackers/xa/xa_context.c
src/gallium/state_trackers/xa/xa_priv.h
src/gallium/state_trackers/xa/xa_tracker.c
src/gallium/state_trackers/xa/xa_yuv.c