Add atomic gamma setting

This commit is contained in:
Vincent Vanlaer 2018-02-01 20:27:35 +01:00
parent 34489dca16
commit cc1229e75e
7 changed files with 55 additions and 3 deletions

View file

@ -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) },