summaryrefslogtreecommitdiff
path: root/src/lib/ecore_drm/Ecore_Drm.h
diff options
context:
space:
mode:
authorChris Michael <cp.michael@samsung.com>2015-04-08 10:59:35 -0400
committerStefan Schmidt <s.schmidt@samsung.com>2015-04-10 11:09:50 +0200
commite18f82632d67f750d1e7a68d56ea90f4bb00f75f (patch)
treedbe41c13db7d25074306b783251fa7adfdb767fb /src/lib/ecore_drm/Ecore_Drm.h
parent63ff8eaf3da5c63e2fbaaacc020e49da2a3090de (diff)
ecore-drm: Add API function to return an output's crtc id
Summary: This adds an API function to return the crtc id of an 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.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/lib/ecore_drm/Ecore_Drm.h b/src/lib/ecore_drm/Ecore_Drm.h
index 69a48ca95b..dde07052c8 100644
--- a/src/lib/ecore_drm/Ecore_Drm.h
+++ b/src/lib/ecore_drm/Ecore_Drm.h
@@ -506,6 +506,20 @@ EAPI void ecore_drm_output_size_get(Ecore_Drm_Device *dev, int output, int *w, i
506EAPI void ecore_drm_outputs_geometry_get(Ecore_Drm_Device *dev, int *x, int *y, int *w, int *h); 506EAPI void ecore_drm_outputs_geometry_get(Ecore_Drm_Device *dev, int *x, int *y, int *w, int *h);
507 507
508/** 508/**
509 * Get the crtc id of an output
510 *
511 * This function will return the default crtc id for an output
512 *
513 * @param output The Ecore_Drm_Output to get the default crtc of
514 *
515 * @return The id of the default crtc for this output
516 *
517 * @ingroup Ecore_Drm_Output_Group
518 * @since 1.15
519 */
520EAPI unsigned int ecore_drm_output_crtc_id_get(Ecore_Drm_Output *output);
521
522/**
509 * Get the crtc buffer of an output 523 * Get the crtc buffer of an output
510 * 524 *
511 * This function will return the default buffer id for an output 525 * This function will return the default buffer id for an output