Add gamma-drm, works under TTY, requires membership of the video group

Signed-off-by: Mattias Andrée <maandree@operamail.com>
Beginning on full multimonitor, multiscreen support, implemented in gamma-drm, other parts does not compile yet

Signed-off-by: Mattias Andrée <maandree@operamail.com>
Fix ENABLE_DRM check to say ENABLE_DRM and not ENABLE_RANDR

Signed-off-by: Mattias Andrée <maandree@operamail.com>
minor fixes + multiscreen support in vidmode

Signed-off-by: Mattias Andrée <maandree@operamail.com>
minor fixes + multimonitor and multiscreen support in gamma-randr, everything compiles but will not work yet

Signed-off-by: Mattias Andrée <maandree@operamail.com>
Improve memory management: malloc is a heavy operation, do less of it to make transitions less CPU intensive

Signed-off-by: Mattias Andrée <maandree@operamail.com>
Forgot to save gamma correction

Signed-off-by: Mattias Andrée <maandree@operamail.com>
Do not run malloc all the time on windows version either

Signed-off-by: Mattias Andrée <maandree@operamail.com>
store gamma correction in state for gamma-w32gdi

Signed-off-by: Mattias Andrée <maandree@operamail.com>
gamma-dummy should not fail if gamma is set, also add #include to gamma-w32gdi that i missed

Signed-off-by: Mattias Andrée <maandree@operamail.com>
Fix errors, DRM version does not work

Signed-off-by: Mattias Andrée <maandree@operamail.com>
Fix errors

Signed-off-by: Mattias Andrée <maandree@operamail.com>
report gamma setting to gamma method

Signed-off-by: Mattias Andrée <maandree@operamail.com>
Fix freeing of already freed memory

Signed-off-by: Mattias Andrée <maandree@operamail.com>
Read multiple sections named as the method to get different settings for different monitors

Signed-off-by: Mattias Andrée <maandree@operamail.com>
typo

Signed-off-by: Mattias Andrée <maandree@operamail.com>