st/xa: Add a function to check for supported formats
authorThomas Hellstrom <thellstrom@vmware.com>
Mon, 27 Jun 2011 08:09:21 +0000 (10:09 +0200)
committerThomas Hellstrom <thellstrom@vmware.com>
Mon, 27 Jun 2011 08:14:39 +0000 (10:14 +0200)
commit9a0c5b46344740dbc9ffa5cbf574a7812425237c
tree9b26cc260d0251d4e444b6f1ea5ddd44ba68b1db
parentab3587f70d9af5eada0c52defe1de13d77f556a6
st/xa: Add a function to check for supported formats

Typically this was done by having a surface creation function fail if
the format was not supported.
However, in some situations when changing hardware surface formats,
it's desirable to do this check before attempting costly readback operations.

Also updated the surface_redefine interface.

Bump minor.

Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
src/gallium/state_trackers/xa/Makefile
src/gallium/state_trackers/xa/xa_symbols
src/gallium/state_trackers/xa/xa_tracker.c
src/gallium/state_trackers/xa/xa_tracker.h
src/gallium/targets/xa-vmwgfx/Makefile