Mesa (master): st/python: Remove bindings, and all its dependencies.

Jose Fonseca jrfonseca at kemper.freedesktop.org
Wed Apr 6 00:29:13 PDT 2011


Module: Mesa
Branch: master
Commit: afeaf1771d0ccbd2482c5ad7fa237c50b4d3921e
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=afeaf1771d0ccbd2482c5ad7fa237c50b4d3921e

Author: José Fonseca <jose.r.fonseca at gmail.com>
Date:   Mon Apr  4 11:41:30 2011 +0100

st/python: Remove bindings, and all its dependencies.

Because:
- bindings are not fully automatic, and they are broken most of the time
- unit tests/samples can be written in C on top of graw
- tracing/retracing is more useful at API levels with stable ABIs such as
  GL, producing traces that cover more layers of the driver stack and and
  can be used for regression testing

---

 scons/python.py                                    |   72 --
 src/gallium/SConscript                             |    1 -
 src/gallium/drivers/trace/README                   |    7 +-
 src/gallium/state_trackers/python/README           |   43 --
 src/gallium/state_trackers/python/SConscript       |   66 --
 src/gallium/state_trackers/python/gallium.i        |  105 ---
 src/gallium/state_trackers/python/p_compiler.i     |   29 -
 src/gallium/state_trackers/python/p_context.i      |  756 --------------------
 src/gallium/state_trackers/python/p_device.i       |  138 ----
 src/gallium/state_trackers/python/p_state.i        |  186 -----
 src/gallium/state_trackers/python/p_texture.i      |  152 ----
 src/gallium/state_trackers/python/st_device.c      |  305 --------
 src/gallium/state_trackers/python/st_device.h      |  111 ---
 .../state_trackers/python/st_hardpipe_winsys.c     |  212 ------
 src/gallium/state_trackers/python/st_sample.c      |  594 ---------------
 src/gallium/state_trackers/python/st_sample.h      |   53 --
 .../state_trackers/python/st_softpipe_winsys.c     |   78 --
 src/gallium/state_trackers/python/st_winsys.h      |   43 --
 .../tests/regress/fragment-shader/frag-abs.png     |  Bin 8750 -> 0 bytes
 src/gallium/state_trackers/python/u_format.i       |   88 ---
 src/gallium/tests/python/retrace/README            |   17 -
 src/gallium/tests/python/retrace/interpreter.py    |  733 -------------------
 src/gallium/tests/python/samples/gs.py             |  254 -------
 src/gallium/tests/python/samples/tri.py            |  233 ------
 src/gallium/tests/python/tests/.gitignore          |    3 -
 src/gallium/tests/python/tests/base.py             |  399 -----------
 .../tests/regress/fragment-shader/.gitignore       |    1 -
 .../tests/regress/fragment-shader/frag-abs.sh      |   13 -
 .../tests/regress/fragment-shader/frag-add.sh      |    8 -
 .../tests/regress/fragment-shader/frag-cb-1d.sh    |   13 -
 .../tests/regress/fragment-shader/frag-cb-2d.sh    |    9 -
 .../tests/regress/fragment-shader/frag-dp3.sh      |    8 -
 .../tests/regress/fragment-shader/frag-dp4.sh      |    8 -
 .../tests/regress/fragment-shader/frag-dst.sh      |    8 -
 .../tests/regress/fragment-shader/frag-ex2.sh      |   11 -
 .../tests/regress/fragment-shader/frag-face.sh     |   14 -
 .../tests/regress/fragment-shader/frag-flr.sh      |   15 -
 .../tests/regress/fragment-shader/frag-frc.sh      |   13 -
 .../tests/regress/fragment-shader/frag-kil.sh      |   18 -
 .../tests/regress/fragment-shader/frag-lg2.sh      |   15 -
 .../tests/regress/fragment-shader/frag-lit.sh      |    8 -
 .../tests/regress/fragment-shader/frag-lrp.sh      |   11 -
 .../tests/regress/fragment-shader/frag-mad-immx.sh |   10 -
 .../tests/regress/fragment-shader/frag-mad.sh      |   11 -
 .../tests/regress/fragment-shader/frag-max.sh      |   10 -
 .../tests/regress/fragment-shader/frag-min.sh      |   10 -
 .../tests/regress/fragment-shader/frag-mov.sh      |    8 -
 .../tests/regress/fragment-shader/frag-mul.sh      |   10 -
 .../tests/regress/fragment-shader/frag-rcp.sh      |   15 -
 .../tests/regress/fragment-shader/frag-rsq.sh      |   15 -
 .../tests/regress/fragment-shader/frag-sge.sh      |   13 -
 .../tests/regress/fragment-shader/frag-slt.sh      |   13 -
 .../regress/fragment-shader/frag-srcmod-abs.sh     |   13 -
 .../regress/fragment-shader/frag-srcmod-absneg.sh  |   15 -
 .../regress/fragment-shader/frag-srcmod-neg.sh     |   11 -
 .../regress/fragment-shader/frag-srcmod-swz.sh     |    8 -
 .../tests/regress/fragment-shader/frag-sub.sh      |    8 -
 .../tests/regress/fragment-shader/frag-tempx.sh    |   14 -
 .../tests/regress/fragment-shader/frag-xpd.sh      |    8 -
 .../regress/fragment-shader/fragment-shader.py     |  257 -------
 .../python/tests/regress/vertex-shader/.gitignore  |    1 -
 .../python/tests/regress/vertex-shader/vert-abs.sh |   15 -
 .../python/tests/regress/vertex-shader/vert-add.sh |   13 -
 .../python/tests/regress/vertex-shader/vert-arl.sh |   23 -
 .../python/tests/regress/vertex-shader/vert-arr.sh |   23 -
 .../tests/regress/vertex-shader/vert-cb-1d.sh      |   16 -
 .../tests/regress/vertex-shader/vert-cb-2d.sh      |   12 -
 .../python/tests/regress/vertex-shader/vert-dp3.sh |   16 -
 .../python/tests/regress/vertex-shader/vert-dp4.sh |   16 -
 .../python/tests/regress/vertex-shader/vert-dst.sh |   11 -
 .../python/tests/regress/vertex-shader/vert-ex2.sh |   18 -
 .../python/tests/regress/vertex-shader/vert-flr.sh |   23 -
 .../python/tests/regress/vertex-shader/vert-frc.sh |   15 -
 .../python/tests/regress/vertex-shader/vert-lg2.sh |   18 -
 .../python/tests/regress/vertex-shader/vert-lit.sh |   11 -
 .../python/tests/regress/vertex-shader/vert-lrp.sh |   14 -
 .../python/tests/regress/vertex-shader/vert-mad.sh |   14 -
 .../python/tests/regress/vertex-shader/vert-max.sh |   13 -
 .../python/tests/regress/vertex-shader/vert-min.sh |   13 -
 .../python/tests/regress/vertex-shader/vert-mov.sh |   11 -
 .../python/tests/regress/vertex-shader/vert-mul.sh |   13 -
 .../python/tests/regress/vertex-shader/vert-rcp.sh |   18 -
 .../python/tests/regress/vertex-shader/vert-rsq.sh |   18 -
 .../python/tests/regress/vertex-shader/vert-sge.sh |   16 -
 .../python/tests/regress/vertex-shader/vert-slt.sh |   16 -
 .../tests/regress/vertex-shader/vert-srcmod-abs.sh |   15 -
 .../regress/vertex-shader/vert-srcmod-absneg.sh    |   16 -
 .../tests/regress/vertex-shader/vert-srcmod-neg.sh |   12 -
 .../tests/regress/vertex-shader/vert-srcmod-swz.sh |   11 -
 .../python/tests/regress/vertex-shader/vert-sub.sh |   13 -
 .../python/tests/regress/vertex-shader/vert-xpd.sh |   11 -
 .../tests/regress/vertex-shader/vertex-shader.py   |  287 --------
 src/gallium/tests/python/tests/surface_copy.py     |  201 ------
 src/gallium/tests/python/tests/texture_blit.py     |  638 -----------------
 src/gallium/tests/python/tests/texture_render.py   |  320 ---------
 src/gallium/tests/python/tests/texture_transfer.py |  182 -----
 src/gallium/tests/python/tests/tree.py             |   23 -
 .../retrace/parser.py => tools/trace/dump.py}      |    0 
 .../python/retrace => tools/trace}/format.py       |    0 
 .../{tests/python/retrace => tools/trace}/model.py |    3 +-
 .../{tests/python/retrace => tools/trace}/parse.py |    0 
 101 files changed, 8 insertions(+), 7401 deletions(-)

Diff:   http://cgit.freedesktop.org/mesa/mesa/diff/?id=afeaf1771d0ccbd2482c5ad7fa237c50b4d3921e


More information about the mesa-commit mailing list