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:49:46 -0400
committerStefan Schmidt <s.schmidt@samsung.com>2015-04-10 11:09:50 +0200
commit63ff8eaf3da5c63e2fbaaacc020e49da2a3090de (patch)
treefafa1f3a28fce6060c60751ccd418c55224e75d8 /src/lib/ecore_drm/Ecore_Drm.h
parente11be98ed05b695d9dc6f662b1f957eca28c2160 (diff)
ecore-drm: Add API function to return an output crtc buffer id
Summary: This adds an API function to return an output's crtc buffer id @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 92ffc02bf8..69a48ca95b 100644
--- a/src/lib/ecore_drm/Ecore_Drm.h
+++ b/src/lib/ecore_drm/Ecore_Drm.h
@@ -505,6 +505,20 @@ EAPI void ecore_drm_output_size_get(Ecore_Drm_Device *dev, int output, int *w, i
505 */ 505 */
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/**
509 * Get the crtc buffer of an output
510 *
511 * This function will return the default buffer id for an output
512 *
513 * @param output The Ecore_Drm_Output to get the default buffer of
514 *
515 * @return The id of the default buffer for this output
516 *
517 * @ingroup Ecore_Drm_Output_Group
518 * @since 1.15
519 */
520EAPI unsigned int ecore_drm_output_crtc_buffer_get(Ecore_Drm_Output *output);
521
508/* TODO: Doxy */ 522/* TODO: Doxy */
509EAPI Eina_Bool ecore_drm_inputs_create(Ecore_Drm_Device *dev); 523EAPI Eina_Bool ecore_drm_inputs_create(Ecore_Drm_Device *dev);
510EAPI void ecore_drm_inputs_destroy(Ecore_Drm_Device *dev); 524EAPI void ecore_drm_inputs_destroy(Ecore_Drm_Device *dev);