diff options
author | Mattias Andrée <maandree@operamail.com> | 2014-08-28 15:32:01 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@operamail.com> | 2014-08-28 15:32:01 +0200 |
commit | 5a9b82bc5b9c5973ac9bda6c0ec4701c7fb88271 (patch) | |
tree | 20524d8a1fd61ef466b792e335434727fa352016 /src/lib/gamma-dummy.c | |
parent | info: ramps => ramps16 (diff) | |
download | libgamma-5a9b82bc5b9c5973ac9bda6c0ec4701c7fb88271.tar.gz libgamma-5a9b82bc5b9c5973ac9bda6c0ec4701c7fb88271.tar.bz2 libgamma-5a9b82bc5b9c5973ac9bda6c0ec4701c7fb88271.tar.xz |
add 8-bit ramps (good for software gamma)
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to 'src/lib/gamma-dummy.c')
-rw-r--r-- | src/lib/gamma-dummy.c | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/src/lib/gamma-dummy.c b/src/lib/gamma-dummy.c index ccde8cc..84e6df0 100644 --- a/src/lib/gamma-dummy.c +++ b/src/lib/gamma-dummy.c @@ -722,6 +722,35 @@ int libgamma_dummy_get_crtc_information(libgamma_crtc_information_t* restrict th /** + * Get current the gamma ramps for a CRTC, 8-bit gamma-depth version. + * + * @param this The CRTC state. + * @param ramps The gamma ramps to fill with the current values. + * @return Zero on success, otherwise (negative) the value of an + * error identifier provided by this library. + */ +int libgamma_dummy_crtc_get_gamma_ramps8(libgamma_crtc_state_t* restrict this, + libgamma_gamma_ramps8_t* restrict ramps) +{ +} + + +/** + * Set the gamma ramps for a CRTC, 8-bit gamma-depth version. + * + * @param this The CRTC state. + * @param ramps The gamma ramps to apply. + * @return Zero on success, otherwise (negative) the value of an + * error identifier provided by this library. + */ +int libgamma_dummy_crtc_set_gamma_ramps8(libgamma_crtc_state_t* restrict this, + libgamma_gamma_ramps8_t ramps) +{ +} + + + +/** * Get current the gamma ramps for a CRTC, 16-bit gamma-depth version. * * @param this The CRTC state. |