OSDN Git Service

python: Hide away the surface usage flags.
authorJosé Fonseca <jfonseca@vmware.com>
Mon, 30 Mar 2009 14:09:18 +0000 (15:09 +0100)
committerJosé Fonseca <jfonseca@vmware.com>
Mon, 30 Mar 2009 16:19:10 +0000 (17:19 +0100)
commit68342f9036d3c94ee50c4cbe5c7b36439eeb6825
tree3c37e0d5df4c806127d4dac19baace349eefec8a
parente08a0f479055be08a08594d723aa8837778c79f8
python: Hide away the surface usage flags.

Surfaces are now by definition GPU views. So CPU access flags don't make
any sense when creating a surface.

For now we are forcing surfaces to be GPU read/write, but that will go away
soon.
src/gallium/state_trackers/python/p_texture.i
src/gallium/state_trackers/python/retrace/interpreter.py
src/gallium/state_trackers/python/samples/tri.py
src/gallium/state_trackers/python/tests/texture.py