mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-11-08 13:29:45 -05:00
backend/drm: remove mode argument to crtc_pageflip
Add a new wlr_drm_crtc.pending bitfield which keeps track of pending output changes. More fields will be added in the future (e.g. active, gamma).
This commit is contained in:
parent
7a149fe5ba
commit
69b2279092
5 changed files with 45 additions and 26 deletions
|
|
@ -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. If mode is non-NULL perform a full modeset using it.
|
||||
// Pageflip on crtc.
|
||||
bool (*crtc_pageflip)(struct wlr_drm_backend *drm,
|
||||
struct wlr_drm_connector *conn, drmModeModeInfo *mode);
|
||||
struct wlr_drm_connector *conn);
|
||||
// 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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue