From 7e038a6110501a51e7f3d3366e8bc54a02766f22 Mon Sep 17 00:00:00 2001 From: Drew DeVault Date: Fri, 16 Jun 2017 15:38:34 -0400 Subject: Add (broken) DRM hardware cursors --- include/backend/drm.h | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'include/backend/drm.h') diff --git a/include/backend/drm.h b/include/backend/drm.h index e001186d..10850d1f 100644 --- a/include/backend/drm.h +++ b/include/backend/drm.h @@ -73,10 +73,12 @@ struct wlr_output_state { drmModeCrtc *old_crtc; struct wlr_drm_renderer *renderer; - struct gbm_surface *gbm; - struct gbm_bo *bo_last; - struct gbm_bo *bo_current; EGLSurface *egl; + struct gbm_surface *gbm; + struct gbm_bo *bo[2]; + struct gbm_bo *cursor_bo[2]; + int current_cursor; + uint32_t cursor_width, cursor_height; bool pageflip_pending; bool cleanup; -- cgit v1.2.3