Add a conformance test for ClutterShaderEffect
authorNeil Roberts <neil@linux.intel.com>
Thu, 29 Sep 2011 19:14:26 +0000 (20:14 +0100)
committerNeil Roberts <neil@linux.intel.com>
Fri, 30 Sep 2011 10:51:38 +0000 (11:51 +0100)
commit3372a0233e574b6d67e9f9d83010c1891c427ad8
treeb7d2608a4fa20100fab3dffe0fa466848a516fce
parent8b995a9457bba3397c54f227b6ed0cef39cf9c73
Add a conformance test for ClutterShaderEffect

This adds a simple conformance test which sets up a few shader effects
using both the old style with clutter_shader_effect_set_source and the
new style by overriding get_static_shader_source. The effects are then
verified to confirm that they drew the right pixel colour.

https://bugzilla.gnome.org/show_bug.cgi?id=660512

Reviewed-by: Emmanuele Bassi <ebassi@linux.intel.com>
tests/conform/Makefile.am
tests/conform/test-conform-main.c
tests/conform/test-shader-effect.c [new file with mode: 0644]