mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2026-02-08 10:06:28 -05:00
backend/drm: add support for CTM
This commit is contained in:
parent
92ba6ffdf8
commit
2db00a9872
8 changed files with 96 additions and 12 deletions
|
|
@ -76,6 +76,7 @@ struct wlr_drm_crtc {
|
|||
bool own_mode_id;
|
||||
uint32_t mode_id;
|
||||
uint32_t gamma_lut;
|
||||
uint32_t ctm;
|
||||
|
||||
// Legacy only
|
||||
int legacy_gamma_size;
|
||||
|
|
@ -159,6 +160,7 @@ struct wlr_drm_connector_state {
|
|||
// used by atomic
|
||||
uint32_t mode_id;
|
||||
uint32_t gamma_lut;
|
||||
uint32_t ctm;
|
||||
uint32_t fb_damage_clips;
|
||||
int primary_in_fence_fd, out_fence_fd;
|
||||
bool vrr_enabled;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue