diff options
author | Mattias Andrée <maandree@operamail.com> | 2014-05-22 20:59:02 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@operamail.com> | 2014-05-22 20:59:02 +0200 |
commit | 16034a633e97e49e11e52d967feaba971d4c8547 (patch) | |
tree | aedce5be33dfce586ece0e8e57d1124f5af0d406 /src/lib | |
parent | m + add fake quartz (diff) | |
download | libgamma-16034a633e97e49e11e52d967feaba971d4c8547.tar.gz libgamma-16034a633e97e49e11e52d967feaba971d4c8547.tar.bz2 libgamma-16034a633e97e49e11e52d967feaba971d4c8547.tar.xz |
m misc + gamma-quartz-cg
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to '')
-rw-r--r-- | src/libgamma-error.h | 29 | ||||
-rw-r--r-- | src/libgamma-method.h | 6 |
2 files changed, 33 insertions, 2 deletions
diff --git a/src/libgamma-error.h b/src/libgamma-error.h index 639d59f..c3c3c2f 100644 --- a/src/libgamma-error.h +++ b/src/libgamma-error.h @@ -80,6 +80,35 @@ */ #define LIBGAMMA_GAMMA_RAMP_WRITE_FAILED (-11) +/** + * The specified ramp sizes does not match the ramps sizes returned by the + * adjustment methods in response to the query/command + */ +#define LIBGAMMA_GAMMA_RAMP_SIZE_CHANGED (-12) + +/** + * The specified ramp sizes are not identical which is required by the adjustment method + * (Only returned in debug mode) + */ +#define LIBGAMMA_MIXED_GAMMA_RAMP_SIZE (-13) + +/** + * The specified ramp sizes are not supported by the adjustment method + * (Only returned in debug mode) + */ +#define LIBGAMMA_WRONG_GAMMA_RAMP_SIZE (-14) + +/** + * The adjustment method reported that the gamma ramps size is 1 or 0 + */ +#define LIBGAMMA_SINGLETON_GAMMA_RAMP (-15) + +/** + * The adjustment method failed to list available CRTC:s, reason unknown + */ +#define LIBGAMMA_LIST_CRTCS_FAILED (-16) + + #endif diff --git a/src/libgamma-method.h b/src/libgamma-method.h index f9d625a..58b364d 100644 --- a/src/libgamma-method.h +++ b/src/libgamma-method.h @@ -525,9 +525,11 @@ typedef struct libgamma_crtc_information /** - * The bit-depth of the value axes of gamma ramps + * The bit-depth of the value axes of gamma ramps, + * -1 for single precision floating point, and -2 for + * double precision floating point. */ - size_t gamma_depth; + signed gamma_depth; /** * Zero on success, positive it holds the value `errno` had |