diff options
author | Scott Anderson <scott@anderso.nz> | 2020-02-12 21:25:40 +1300 |
---|---|---|
committer | Simon Ser <contact@emersion.fr> | 2020-04-28 09:54:52 +0200 |
commit | 52281cb8ba7e0badd92662ade136d25929a67828 (patch) | |
tree | 028247abe3b256120b4441d4473607cc8d6aa6ae /include/backend | |
parent | be90062c51ba5470f513aa118d99472c304e8f36 (diff) |
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.
Diffstat (limited to 'include/backend')
-rw-r--r-- | include/backend/drm/iface.h | 3 |
1 files changed, 1 insertions, 2 deletions
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); |