aboutsummaryrefslogtreecommitdiffstats
path: root/src/gamma-quartz.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* quartz: Enable preserve by defaultJon Lund Steffensen2017-08-311-1/+1
|
* quartz: Add preserve option to Quartz methodJon Lund Steffensen2015-01-041-40/+120
| | | | | | | | | | | | This change adds the preserve option to the quartz method which makes it base the temperature adjustments on the existing gamma ramps when set. This requires that the existing gamma ramps are saved at start-up which this commit also adds. One drawback is that the list of displays is enumerated at start-up now which means that Redshift will likely not affect displays that are connected after start-up. This could be fixed in the future by listening to reconfiguration events.
* colorramp: Use supplied gamma ramps as initial valueJon Lund Steffensen2015-01-041-0/+8
| | | | | | | | | This changes colorramp_fill() to base the ramp calculations on the existing values in the supplied tables, instead of basing it on a pure `i/size` value computed on the fly. All gamma adjustment methods are changed to explicitly initialize the ramps to the `i/size` value before calls to colorramp_fill().
* redshift: Simplify set_temperature by passing color_setting_tJon Lund Steffensen2014-12-271-7/+6
| | | | | | | | Changes all set_temperature function in gamma adjustment methods to take a color_setting_t pointer with the color settings. Colorramp functions are similarly changed to take a color settings struct.
* Add Quartz (OSX) gamma adjustment methodJon Lund Steffensen2014-12-151-0/+146