Remove all references to cairo; we now use pixman only

This commit is contained in:
Daniel Eklöf 2019-08-16 22:11:22 +02:00
parent 81107753bf
commit f45e5c6aef
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F
8 changed files with 14 additions and 66 deletions

7
shm.h
View file

@ -3,7 +3,6 @@
#include <stdbool.h>
#include <stddef.h>
#include <cairo.h>
#include <pixman.h>
#include <wayland-client.h>
@ -19,11 +18,9 @@ struct buffer {
struct wl_buffer *wl_buf;
size_t copies;
cairo_surface_t **cairo_surface;
cairo_t **cairo;
pixman_image_t **pix;
};
struct buffer *shm_get_buffer(struct wl_shm *shm, int width, int height, size_t copies);
struct buffer *shm_get_buffer(
struct wl_shm *shm, int width, int height, size_t copies);
void shm_fini(void);