This patch series adds some tests for the vertex clipping code. It splits the 
main
parts of calculate_edges out into clip_transformed exported in 
shared/vertex-clipping.c and
adds support for table-driven testing in tests/weston-test-runner.h . Finally,
it makes weston-test-runner.c compile into libshared_test.a so that we don't
need to recompile it all the time

Sam Spilsbury (3):
  Add support for table-driven testing.
  Split vertex clipping code out into vertex-clipping.c in shared/
  Added tests for the vertex clipping code.

 shared/Makefile.am         |   4 +-
 shared/vertex-clipping.c   | 317 +++++++++++++++++++++++++++++++++++++++++++++
 shared/vertex-clipping.h   |  65 ++++++++++
 src/gl-renderer.c          | 292 +----------------------------------------
 tests/Makefile.am          |  41 ++++--
 tests/vertex-clip-test.c   | 219 +++++++++++++++++++++++++++++++
 tests/weston-test-runner.c | 117 ++++++++++-------
 tests/weston-test-runner.h |  52 +++++---
 8 files changed, 744 insertions(+), 363 deletions(-)
 create mode 100644 shared/vertex-clipping.c
 create mode 100644 shared/vertex-clipping.h
 create mode 100644 tests/vertex-clip-test.c

-- 
1.8.3.2

_______________________________________________
wayland-devel mailing list
wayland-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/wayland-devel

Reply via email to