diff options
author | Simon Ser <contact@emersion.fr> | 2020-05-07 19:20:56 +0200 |
---|---|---|
committer | Simon Ser <contact@emersion.fr> | 2020-05-09 16:42:25 +0200 |
commit | c608fc89d8cb850b9c53c3fa84e7c08ea3c0e30a (patch) | |
tree | daee085fa1c32d4be5aa22118d70fc98783f53ec /include/backend | |
parent | 70883fd10beba4f78e3325eb6e38750360502f58 (diff) |
backend/drm: rename crtc_pageflip to crtc_commit
Also add a flags argument.
The commit function will also be used for disabling the CRTC.
Diffstat (limited to 'include/backend')
-rw-r--r-- | include/backend/drm/iface.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/backend/drm/iface.h b/include/backend/drm/iface.h index b99262b8..6498bb73 100644 --- a/include/backend/drm/iface.h +++ b/include/backend/drm/iface.h @@ -16,9 +16,9 @@ struct wlr_drm_interface { // Enable or disable DPMS for connector bool (*conn_enable)(struct wlr_drm_backend *drm, struct wlr_drm_connector *conn, bool enable); - // Pageflip on crtc. - bool (*crtc_pageflip)(struct wlr_drm_backend *drm, - struct wlr_drm_connector *conn); + // Commit al pending changes on a CRTC. + bool (*crtc_commit)(struct wlr_drm_backend *drm, + struct wlr_drm_connector *conn, uint32_t flags); // 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); |