mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-10-31 22:25:21 -04: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
|
|
@ -42,8 +42,15 @@ struct wlr_drm_plane {
|
|||
union wlr_drm_plane_props props;
|
||||
};
|
||||
|
||||
enum wlr_drm_crtc_field {
|
||||
WLR_DRM_CRTC_MODE = 1 << 0,
|
||||
};
|
||||
|
||||
struct wlr_drm_crtc {
|
||||
uint32_t id;
|
||||
uint32_t pending; // bitfield of enum wlr_drm_crtc_field
|
||||
|
||||
drmModeModeInfo mode;
|
||||
|
||||
// Atomic modesetting only
|
||||
uint32_t mode_id;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue