python: Set PIPE_TEXTURE_USAGE_RENDER_TARGET instead of DISPLAY_TARGET.
authorJosé Fonseca <jfonseca@vmware.com>
Mon, 11 Jan 2010 13:55:24 +0000 (13:55 +0000)
committerJosé Fonseca <jfonseca@vmware.com>
Mon, 11 Jan 2010 14:01:06 +0000 (14:01 +0000)
commit76185ecad6c220824b9f9fa96a3323ce38b17d52
tree09a7a73569cc430a7034a01a1138a10b46824280
parent1c75edf3e8ccc97f5f91f42f99c1f8db30b25fc4
python: Set PIPE_TEXTURE_USAGE_RENDER_TARGET instead of DISPLAY_TARGET.

As the python state tracker is not integrated with window system an
cannot present surfaces directly.
src/gallium/state_trackers/python/samples/gs.py
src/gallium/state_trackers/python/samples/tri.py
src/gallium/state_trackers/python/tests/regress/fragment-shader/fragment-shader.py
src/gallium/state_trackers/python/tests/regress/vertex-shader/vertex-shader.py