Not only useful for inspection but also to check we can re-start a
drawing just fine.

Signed-off-by: Damien Lespiau <damien.lesp...@intel.com>
---
 lib/tests/igt_plot.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/lib/tests/igt_plot.c b/lib/tests/igt_plot.c
index a178fbf..7091cef 100644
--- a/lib/tests/igt_plot.c
+++ b/lib/tests/igt_plot.c
@@ -90,6 +90,9 @@ static void test_simple_plot(void)
        igt_plot_draw(&plot, x, y);
        igt_plot_write(&plot, "test_simple_plot.png");
 
+       plot.debug = true;
+       igt_plot_write(&plot, "test_simple_plot_debug.png");
+
        igt_plot_fini(&plot);
        igt_vector_unref(x);
        igt_vector_unref(y);
-- 
2.1.0

_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/intel-gfx

Reply via email to