aboutsummaryrefslogtreecommitdiffstats
path: root/gamma-dummy.c.gpp
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2021-03-05 00:43:38 +0100
committerMattias Andrée <maandree@kth.se>2021-03-05 00:43:38 +0100
commit0ce0d8d6e0c420ccafa79e0203b928c3559a4311 (patch)
tree88e8228a93691c28811a49898abf86a96dd9d613 /gamma-dummy.c.gpp
parentChange license + change style + misc (diff)
downloadlibgamma-0ce0d8d6e0c420ccafa79e0203b928c3559a4311.tar.gz
libgamma-0ce0d8d6e0c420ccafa79e0203b928c3559a4311.tar.bz2
libgamma-0ce0d8d6e0c420ccafa79e0203b928c3559a4311.tar.xz
Split source files, merge public header files, eliminite use gpp, rewrite makefile
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to '')
-rw-r--r--gamma-dummy.c.gpp (renamed from src/lib/gamma-dummy.c.gpp)10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/lib/gamma-dummy.c.gpp b/gamma-dummy.c.gpp
index a9aa724..4cc758d 100644
--- a/src/lib/gamma-dummy.c.gpp
+++ b/gamma-dummy.c.gpp
@@ -669,7 +669,7 @@ libgamma_dummy_get_crtc_information(libgamma_crtc_information_t *restrict this,
if (this->edid_error)
this->width_mm_edid_error = this->height_mm_edid_error = this->gamma_error = this->edid_error;
else if (fields & (LIBGAMMA_CRTC_INFO_MACRO_EDID ^ LIBGAMMA_CRTC_INFO_EDID))
- e |= libgamma_parse_edid(this, fields);
+ e |= libgamma_internal_parse_edid(this, fields);
/* Test errors */
#define _E(FIELD, VAR)\
@@ -717,7 +717,7 @@ int
libgamma_dummy_crtc_get_gamma_${2}(libgamma_crtc_state_t *restrict this, libgamma_gamma_${2}_t *restrict ramps)
{
libgamma_dummy_crtc_t *data = this->data;
- libgamma_gamma_ramps_any_t ramps_;
+ gamma_ramps_any_t ramps_;
${1}* r_ramp = data->gamma_red;
${1}* g_ramp = data->gamma_green;
${1}* b_ramp = data->gamma_blue;
@@ -742,7 +742,7 @@ libgamma_dummy_crtc_get_gamma_${2}(libgamma_crtc_state_t *restrict this, libgamm
do {\
if (data->info.gamma_depth == DEPTH) {\
ramps_.${3} = *ramps;\
- return libgamma_translated_ramp_get(this, &ramps_, ${4}, DEPTH, libgamma_crtc_get_gamma_ramps ## SUFFIX);\
+ return libgamma_internal_translated_ramp_get(this, &ramps_, ${4}, DEPTH, libgamma_crtc_get_gamma_ramps ## SUFFIX);\
}\
} while (0)
@@ -796,7 +796,7 @@ int
libgamma_dummy_crtc_set_gamma_${2}(libgamma_crtc_state_t *restrict this, libgamma_gamma_${2}_t ramps)
{
libgamma_dummy_crtc_t *data = this->data;
- libgamma_gamma_ramps_any_t ramps_;
+ gamma_ramps_any_t ramps_;
${1} *r_ramp = data->gamma_red;
${1} *g_ramp = data->gamma_green;
${1} *b_ramp = data->gamma_blue;
@@ -821,7 +821,7 @@ libgamma_dummy_crtc_set_gamma_${2}(libgamma_crtc_state_t *restrict this, libgamm
do {\
if (data->info.gamma_depth == DEPTH) {\
ramps_.${3} = ramps;\
- return libgamma_translated_ramp_set(this, ramps_, ${4}, DEPTH, libgamma_crtc_set_gamma_ramps ## SUFFIX);\
+ return libgamma_internal_translated_ramp_set(this, ramps_, ${4}, DEPTH, libgamma_crtc_set_gamma_ramps ## SUFFIX);\
}\
} while (0)