Add small client for testing shm surfaces

This commit is contained in:
Kristian Høgsberg 2010-10-26 00:02:20 -04:00
parent d0c3b9da22
commit 012a007771
7 changed files with 348 additions and 19 deletions

View file

@ -162,6 +162,7 @@ image_draw(struct image *image)
rectangle.width,
rectangle.height);
cairo_destroy(wsurface);
cr = cairo_create(surface);
cairo_set_operator(cr, CAIRO_OPERATOR_SOURCE);
cairo_set_source_rgba(cr, 0, 0, 0, 1);