diff options
author | Mattias Andrée <maandree@kth.se> | 2016-07-13 02:32:08 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@kth.se> | 2016-07-13 02:32:08 +0200 |
commit | 8a866b051a7a6826c456d2cb91a7fd557cb2fd35 (patch) | |
tree | 35e0b2fcca2a1054f39755aee6da210a765f6536 /src/output.h | |
parent | Work on responses (diff) | |
download | coopgammad-8a866b051a7a6826c456d2cb91a7fd557cb2fd35.tar.gz coopgammad-8a866b051a7a6826c456d2cb91a7fd557cb2fd35.tar.bz2 coopgammad-8a866b051a7a6826c456d2cb91a7fd557cb2fd35.tar.xz |
Applying filters
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to '')
-rw-r--r-- | src/output.h | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/src/output.h b/src/output.h index 8d59eec..a75ebfa 100644 --- a/src/output.h +++ b/src/output.h @@ -199,7 +199,7 @@ ssize_t add_filter(struct output* output, struct filter* filter); /** * Recalculate the resulting gamma and - * update push the new gamam ramps to the CRTC + * update push the new gamma ramps to the CRTC * * @param output The output * @param first_updated The index of the first added or removed filter @@ -207,3 +207,12 @@ ssize_t add_filter(struct output* output, struct filter* filter); */ int flush_filters(struct output* output, size_t first_updated); +/** + * Make identity mapping ramps + * + * @param ramps Output parameter for the ramps + * @param output The output for which the ramps shall be configured + * @return Zero on success, -1 on error + */ +int make_plain_ramps(union gamma_ramps* ramps, struct output* output); + |