aboutsummaryrefslogtreecommitdiff
path: root/shm.h
diff options
context:
space:
mode:
Diffstat (limited to 'shm.h')
-rw-r--r--shm.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/shm.h b/shm.h
index 35360db6..9982cb8d 100644
--- a/shm.h
+++ b/shm.h
@@ -16,9 +16,10 @@ struct buffer {
struct wl_buffer *wl_buf;
- cairo_surface_t *cairo_surface;
- cairo_t *cairo;
+ size_t copies;
+ cairo_surface_t **cairo_surface;
+ cairo_t **cairo;
};
-struct buffer *shm_get_buffer(struct wl_shm *shm, int width, int height);
+struct buffer *shm_get_buffer(struct wl_shm *shm, int width, int height, size_t copies);
void shm_fini(void);