summaryrefslogtreecommitdiff
path: root/src/lib/ecore_drm/Ecore_Drm.h
diff options
context:
space:
mode:
authorChris Michael <cp.michael@samsung.com>2015-04-07 11:41:21 -0400
committerStefan Schmidt <s.schmidt@samsung.com>2015-04-10 11:09:49 +0200
commit3a0577bd76593e985a5b964611f355869aea2434 (patch)
tree54ed2a5bd7ae196f1ce4ce9b7fc127a3cf62dd18 /src/lib/ecore_drm/Ecore_Drm.h
parent0a19a87c0eedfc2bb3040d776a3c5cb445c9291c (diff)
ecore-drm: Add support for DPMS on an output
Summary: This commit adds support for setting DPMS level of an output. This adds a new API function 'ecore_drm_output_dpms_set' to set the level. @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.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/lib/ecore_drm/Ecore_Drm.h b/src/lib/ecore_drm/Ecore_Drm.h
index d09e43f9d3..e2281f9eea 100644
--- a/src/lib/ecore_drm/Ecore_Drm.h
+++ b/src/lib/ecore_drm/Ecore_Drm.h
@@ -319,6 +319,19 @@ EAPI Eina_Stringshare *ecore_drm_output_model_get(Ecore_Drm_Output *output);
319EAPI Eina_Stringshare *ecore_drm_output_make_get(Ecore_Drm_Output *output); 319EAPI Eina_Stringshare *ecore_drm_output_make_get(Ecore_Drm_Output *output);
320 320
321/** 321/**
322 * Set the dpms level of an Ecore_Drm_Output
323 *
324 * This function will set the DPMS level of an Ecore_Drm_Output
325 *
326 * @param output The Ecore_Drm_Output to set the dpms level on
327 * @param level The level to set
328 *
329 * @ingroup Ecore_Drm_Output_Group
330 * @since 1.15
331 */
332EAPI void ecore_drm_output_dpms_set(Ecore_Drm_Output *output, int level);
333
334/**
322 * Get the pointer position of Ecore_Drm_Device 335 * Get the pointer position of Ecore_Drm_Device
323 * 336 *
324 * This function will give the pointer position of Ecore_Drm_Device 337 * This function will give the pointer position of Ecore_Drm_Device