mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-10-31 22:25:21 -04:00
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.
This commit is contained in:
parent
8b18352318
commit
8b8921d57b
2 changed files with 11 additions and 5 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue