mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-12-16 08:56:26 -05:00
Add atomic gamma setting
This commit is contained in:
parent
34489dca16
commit
cc1229e75e
7 changed files with 55 additions and 3 deletions
|
|
@ -28,6 +28,7 @@ static const struct prop_info connector_info[] = {
|
|||
static const struct prop_info crtc_info[] = {
|
||||
#define INDEX(name) (offsetof(union wlr_drm_crtc_props, name) / sizeof(uint32_t))
|
||||
{ "ACTIVE", INDEX(active) },
|
||||
{ "GAMMA_LUT", INDEX(gamma_lut) },
|
||||
{ "MODE_ID", INDEX(mode_id) },
|
||||
{ "rotation", INDEX(rotation) },
|
||||
{ "scaling mode", INDEX(scaling_mode) },
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue