diff options
author | Simon Ser <contact@emersion.fr> | 2022-12-15 19:31:06 +0100 |
---|---|---|
committer | Simon Ser <contact@emersion.fr> | 2022-12-15 19:31:06 +0100 |
commit | 8b8921d57b9dfb733757d338c354014f41e86d59 (patch) | |
tree | f2501be4d67ce3a14d41fc183e3f4364d7ead3ae /include/backend | |
parent | 8b18352318056a034257150fa29e49d117492173 (diff) |
backend/drm: remove wlr_drm_crtc.legacy_crtc
We only need it for one thing: gamma size. Moreover, some bits in
the drmModeCrtc will become out-of-date, for instance the current
mode, so let's avoid caching the whole struct and only keep what
we know won't change.
Diffstat (limited to 'include/backend')
-rw-r--r-- | include/backend/drm/drm.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/backend/drm/drm.h b/include/backend/drm/drm.h index 16126ec2..e93b5eaf 100644 --- a/include/backend/drm/drm.h +++ b/include/backend/drm/drm.h @@ -41,7 +41,7 @@ struct wlr_drm_crtc { uint32_t gamma_lut; // Legacy only - drmModeCrtc *legacy_crtc; + int legacy_gamma_size; struct wlr_drm_plane *primary; struct wlr_drm_plane *cursor; |