aboutsummaryrefslogtreecommitdiffstats
path: root/src/gamma-drm.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Move module structures out of headersJon Lund Steffensen2017-10-131-5/+26
|
* Allocate module data in init functionsJon Lund Steffensen2017-10-131-6/+13
|
* Move module struct definitions to separate filesJon Lund Steffensen2017-10-131-7/+19
|
* drm: Avoid using alloca()Jon Lund Steffensen2016-10-151-2/+3
|
* remove unnecessary null-checks, it is safe to pass NULL to free (per documentation)Mattias Andrée2015-05-071-2/+1
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* colorramp: Use supplied gamma ramps as initial valueJon Lund Steffensen2015-01-041-0/+10
| | | | | | | | | 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-2/+2
| | | | | | | | 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.
* Support for running Redshift without a graphical environment in Linux by using Direct Rendering ManagerMattias Andrée2014-03-221-0/+280
Signed-off-by: Mattias Andrée <maandree@operamail.com>