From 52281cb8ba7e0badd92662ade136d25929a67828 Mon Sep 17 00:00:00 2001 From: Scott Anderson Date: Wed, 12 Feb 2020 21:25:40 +1300 Subject: backend/drm: move atomic cursor code into pageflip code It makes sense to construct as much atomic state as possible in the same place, so it doesn't get lost if we "reset" it. --- include/backend/drm/iface.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'include/backend/drm') diff --git a/include/backend/drm/iface.h b/include/backend/drm/iface.h index 5308b136..d8268347 100644 --- a/include/backend/drm/iface.h +++ b/include/backend/drm/iface.h @@ -18,8 +18,7 @@ struct wlr_drm_interface { struct wlr_drm_connector *conn, bool enable); // Pageflip on crtc. If mode is non-NULL perform a full modeset using it. bool (*crtc_pageflip)(struct wlr_drm_backend *drm, - struct wlr_drm_connector *conn, struct wlr_drm_crtc *crtc, - uint32_t fb_id, drmModeModeInfo *mode); + struct wlr_drm_connector *conn, drmModeModeInfo *mode); // Enable the cursor buffer on crtc. Set bo to NULL to disable bool (*crtc_set_cursor)(struct wlr_drm_backend *drm, struct wlr_drm_crtc *crtc, struct gbm_bo *bo); -- cgit v1.2.3