From 1752e337c70508b3e0a143934a70e61afdc9daae Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Wed, 16 Apr 2014 01:12:25 +0200 Subject: finish quartz MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- src/blueshift_quartz_c.h | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'src/blueshift_quartz_c.h') diff --git a/src/blueshift_quartz_c.h b/src/blueshift_quartz_c.h index f8ea783..d21ef02 100644 --- a/src/blueshift_quartz_c.h +++ b/src/blueshift_quartz_c.h @@ -25,9 +25,14 @@ # include "fake_quartz.h" #else # include +# include #endif +#ifndef FAKE_QUARTZ +# define close_fake_quartz() /* Do nothing */ +#endif + /** * Start stage of colour curve control @@ -69,6 +74,12 @@ int blueshift_quartz_apply(int use_crtc, float* r_curves, float* g_curves, float */ void blueshift_quartz_close(void); +/** + * Restore all gamma curves (on each and every CRTC on the system) + * to the settings on ColorSync + */ +void blueshift_quartz_restore(void); + #endif -- cgit v1.2.3-70-g09d2