mirror of
https://gitlab.freedesktop.org/wayland/wayland.git
synced 2025-11-06 13:29:48 -05:00
Add small client for testing shm surfaces
This commit is contained in:
parent
d0c3b9da22
commit
012a007771
7 changed files with 348 additions and 19 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue