backend/drm: Update to new cursor API

This commit is contained in:
Scott Anderson 2019-09-15 21:05:14 +12:00
parent ecb4faeed6
commit 2fcb2b95fc
5 changed files with 86 additions and 165 deletions

View file

@ -44,7 +44,7 @@ bool init_drm_surface(struct wlr_drm_surface *surf,
bool init_drm_plane_surfaces(struct wlr_drm_plane *plane,
struct wlr_drm_backend *drm, int32_t width, uint32_t height,
uint32_t format);
uint32_t format, uint32_t flags);
void finish_drm_surface(struct wlr_drm_surface *surf);
bool make_drm_surface_current(struct wlr_drm_surface *surf, int *buffer_age);