diff options
author | Chris Michael <cp.michael@samsung.com> | 2015-04-07 12:24:07 -0400 |
---|---|---|
committer | Stefan Schmidt <s.schmidt@samsung.com> | 2015-04-10 11:09:49 +0200 |
commit | 0885834b68f96a3e60decf9d3de7157c28e36ecc (patch) | |
tree | 3c67f623ec9f464820f28eab2fffee37b484456c /src/lib/ecore_drm/Ecore_Drm.h | |
parent | f3edc3b20e9080037dbee1f332c96c5a2af39bea (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.h | 16 |
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); | |||
332 | EAPI void ecore_drm_output_dpms_set(Ecore_Drm_Output *output, int level); | 332 | EAPI 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 | */ | ||
348 | EAPI 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 |