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

@ -466,4 +466,11 @@ void meta_monitor_manager_get_crtc_gamma (MetaMonitorManager *manager,
unsigned short **green,
unsigned short **blue);
void meta_monitor_manager_set_crtc_gamma (MetaMonitorManager *manager,
MetaCrtc *crtc,
size_t size,
unsigned short *red,
unsigned short *green,
unsigned short *blue);
#endif /* META_MONITOR_MANAGER_PRIVATE_H */