summaryrefslogtreecommitdiff
path: root/src/lib/ecore_drm/Ecore_Drm.h
diff options
context:
space:
mode:
authorChris Michael <cp.michael@samsung.com>2015-04-07 12:24:07 -0400
committerStefan Schmidt <s.schmidt@samsung.com>2015-04-10 11:09:49 +0200
commit0885834b68f96a3e60decf9d3de7157c28e36ecc (patch)
tree3c67f623ec9f464820f28eab2fffee37b484456c /src/lib/ecore_drm/Ecore_Drm.h
parentf3edc3b20e9080037dbee1f332c96c5a2af39bea (diff)
ecore-drm: Add API function to set output gamma
Summary: This commit adds new API for setting gamma of an Ecore_Drm_Output @feature Signed-off-by: Chris Michael <cp.michael@samsung.com>
Diffstat (limited to 'src/lib/ecore_drm/Ecore_Drm.h')
-rw-r--r--src/lib/ecore_drm/Ecore_Drm.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/lib/ecore_drm/Ecore_Drm.h b/src/lib/ecore_drm/Ecore_Drm.h
index e2281f9eea..47f5221d9d 100644
--- a/src/lib/ecore_drm/Ecore_Drm.h
+++ b/src/lib/ecore_drm/Ecore_Drm.h
@@ -332,6 +332,22 @@ EAPI Eina_Stringshare *ecore_drm_output_make_get(Ecore_Drm_Output *output);
332EAPI void ecore_drm_output_dpms_set(Ecore_Drm_Output *output, int level); 332EAPI void ecore_drm_output_dpms_set(Ecore_Drm_Output *output, int level);
333 333
334/** 334/**
335 * Set the gamma level of an Ecore_Drm_Output
336 *
337 * This function will set the gamma of an Ecore_Drm_Output
338 *
339 * @param output The Ecore_Drm_Output to set the gamma level on
340 * @param size The gamma table size to set
341 * @param r The amount to scale the red channel
342 * @param g The amount to scale the green channel
343 * @param b The amount to scale the blue channel
344 *
345 * @ingroup Ecore_Drm_Output_Group
346 * @since 1.15
347 */
348EAPI void ecore_drm_output_gamma_set(Ecore_Drm_Output *output, uint16_t size, uint16_t *r, uint16_t *g, uint16_t *b);
349
350/**
335 * Get the pointer position of Ecore_Drm_Device 351 * Get the pointer position of Ecore_Drm_Device
336 * 352 *
337 * This function will give the pointer position of Ecore_Drm_Device 353 * This function will give the pointer position of Ecore_Drm_Device