monitor: Add API to set GAMMA LUT

It's effectively a for-each for every active CRTC of the monitor.

Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2141>
This commit is contained in:
Jonas Ådahl
2021-10-26 11:46:37 +02:00
committed by Marge Bot
parent c6c3f340ec
commit f8dbea27f8
4 changed files with 90 additions and 0 deletions

View File

@ -297,4 +297,10 @@ gboolean meta_monitor_set_privacy_screen_enabled (MetaMonitor *monitor,
size_t meta_monitor_get_gamma_lut_size (MetaMonitor *monitor);
void meta_monitor_set_gamma_lut (MetaMonitor *monitor,
uint16_t *red,
uint16_t *green,
uint16_t *blue,
size_t size);
#endif /* META_MONITOR_H */