aboutsummaryrefslogtreecommitdiffstats
path: root/src/libgamma-facade.h
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2014-05-21 07:05:05 +0200
committerMattias Andrée <maandree@operamail.com>2014-05-21 07:05:05 +0200
commit00f13f397e8838313743cb3e9d9d9ab668dea6b7 (patch)
tree7b4b42bac63dc50948962f704ea990b93dbf75b5 /src/libgamma-facade.h
parentadd float and double variants of gamma_ramps (diff)
downloadlibgamma-00f13f397e8838313743cb3e9d9d9ab668dea6b7.tar.gz
libgamma-00f13f397e8838313743cb3e9d9d9ab668dea6b7.tar.bz2
libgamma-00f13f397e8838313743cb3e9d9d9ab668dea6b7.tar.xz
reorder functions
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to '')
-rw-r--r--src/libgamma-facade.h54
1 files changed, 27 insertions, 27 deletions
diff --git a/src/libgamma-facade.h b/src/libgamma-facade.h
index f974206..8aae48f 100644
--- a/src/libgamma-facade.h
+++ b/src/libgamma-facade.h
@@ -240,17 +240,6 @@ unsigned char* libgamma_unhex_edid(const char* restrict edid);
/**
- * Set the gamma ramps for a CRTC, 16-bit gamma-depth version
- *
- * @param this The CRTC state
- * @parma ramps The gamma ramps to apply
- * @return Zero on success, otherwise (negative) the value of an
- * error identifier provided by this library
- */
-int libgamma_crtc_set_gamma_ramps(libgamma_crtc_state_t* restrict this,
- libgamma_gamma_ramps_t ramps);
-
-/**
* Get current the gamma ramps for a CRTC, 16-bit gamma-depth version
*
* @param this The CRTC state
@@ -261,17 +250,17 @@ int libgamma_crtc_set_gamma_ramps(libgamma_crtc_state_t* restrict this,
int libgamma_crtc_get_gamma_ramps(libgamma_crtc_state_t* restrict this,
libgamma_gamma_ramps_t* restrict ramps);
-
/**
- * Set the gamma ramps for a CRTC, 32-bit gamma-depth version
+ * Set the gamma ramps for a CRTC, 16-bit gamma-depth version
*
* @param this The CRTC state
* @parma ramps The gamma ramps to apply
* @return Zero on success, otherwise (negative) the value of an
* error identifier provided by this library
*/
-int libgamma_crtc_set_gamma_ramps32(libgamma_crtc_state_t* restrict this,
- libgamma_gamma_ramps32_t ramps);
+int libgamma_crtc_set_gamma_ramps(libgamma_crtc_state_t* restrict this,
+ libgamma_gamma_ramps_t ramps);
+
/**
* Get current the gamma ramps for a CRTC, 32-bit gamma-depth version
@@ -284,17 +273,17 @@ int libgamma_crtc_set_gamma_ramps32(libgamma_crtc_state_t* restrict this,
int libgamma_crtc_get_gamma_ramps32(libgamma_crtc_state_t* restrict this,
libgamma_gamma_ramps32_t* restrict ramps);
-
/**
- * Set the gamma ramps for a CRTC, 64-bit gamma-depth version
+ * Set the gamma ramps for a CRTC, 32-bit gamma-depth version
*
* @param this The CRTC state
* @parma ramps The gamma ramps to apply
* @return Zero on success, otherwise (negative) the value of an
* error identifier provided by this library
*/
-int libgamma_crtc_set_gamma_ramps64(libgamma_crtc_state_t* restrict this,
- libgamma_gamma_ramps64_t ramps);
+int libgamma_crtc_set_gamma_ramps32(libgamma_crtc_state_t* restrict this,
+ libgamma_gamma_ramps32_t ramps);
+
/**
* Get current the gamma ramps for a CRTC, 64-bit gamma-depth version
@@ -307,6 +296,17 @@ int libgamma_crtc_set_gamma_ramps64(libgamma_crtc_state_t* restrict this,
int libgamma_crtc_get_gamma_ramps64(libgamma_crtc_state_t* restrict this,
libgamma_gamma_ramps64_t* restrict ramps);
+/**
+ * Set the gamma ramps for a CRTC, 64-bit gamma-depth version
+ *
+ * @param this The CRTC state
+ * @parma ramps The gamma ramps to apply
+ * @return Zero on success, otherwise (negative) the value of an
+ * error identifier provided by this library
+ */
+int libgamma_crtc_set_gamma_ramps64(libgamma_crtc_state_t* restrict this,
+ libgamma_gamma_ramps64_t ramps);
+
/**
* Set the gamma ramps for a CRTC, `float` version
@@ -332,26 +332,26 @@ int libgamma_crtc_get_gamma_rampsf(libgamma_crtc_state_t* restrict this,
/**
- * Set the gamma ramps for a CRTC, `double` version
+ * Get current the gamma ramps for a CRTC, `double` version
*
* @param this The CRTC state
- * @parma ramps The gamma ramps to apply
+ * @parma 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_crtc_set_gamma_rampsd(libgamma_crtc_state_t* restrict this,
- libgamma_gamma_rampsd_t ramps);
+int libgamma_crtc_get_gamma_rampsd(libgamma_crtc_state_t* restrict this,
+ libgamma_gamma_rampsd_t* restrict ramps);
/**
- * Get current the gamma ramps for a CRTC, `double` version
+ * Set the gamma ramps for a CRTC, `double` version
*
* @param this The CRTC state
- * @parma ramps The gamma ramps to fill with the current values
+ * @parma ramps The gamma ramps to apply
* @return Zero on success, otherwise (negative) the value of an
* error identifier provided by this library
*/
-int libgamma_crtc_get_gamma_rampsd(libgamma_crtc_state_t* restrict this,
- libgamma_gamma_rampsd_t* restrict ramps);
+int libgamma_crtc_set_gamma_rampsd(libgamma_crtc_state_t* restrict this,
+ libgamma_gamma_rampsd_t ramps);
#endif