[Pixman] [PATCH 3/3] demos/radial-test: Add checkerboard to display the alpha channel

Søren Sandmann sandmann at cs.au.dk
Sat Dec 8 10:05:47 PST 2012


From: Søren Sandmann Pedersen <ssp at redhat.com>

---
 demos/radial-test.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/demos/radial-test.c b/demos/radial-test.c
index 203ad68..08a367c 100644
--- a/demos/radial-test.c
+++ b/demos/radial-test.c
@@ -147,6 +147,8 @@ main (int argc, char **argv)
 					 WIDTH, HEIGHT,
 					 NULL, 0);
 
+    draw_checkerboard (dest_img, 25, 0xffaaaaaa, 0xffbbbbbb);
+    
     pixman_transform_init_identity (&transform);
 
     /*
-- 
1.7.11.7



More information about the Pixman mailing list