aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/ecore_drm2/Ecore_Drm2.h
diff options
context:
space:
mode:
authorChris Michael <cpmichael@osg.samsung.com>2016-05-11 09:33:15 -0400
committerChris Michael <cpmichael@osg.samsung.com>2016-05-27 11:57:53 -0400
commitbd2ab7de9636ef55809ae997226e7d2b5be7448a (patch)
tree163ca4fd7bbaab97223cc16ee8ffd0fae1291460 /src/lib/ecore_drm2/Ecore_Drm2.h
parentecore-drm2: Add API functions to get name & model of an output (diff)
downloadefl-bd2ab7de9636ef55809ae997226e7d2b5be7448a.tar.gz
ecore-drm2: Add API function to get cloned & connected properties of an output
Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
Diffstat (limited to 'src/lib/ecore_drm2/Ecore_Drm2.h')
-rw-r--r--src/lib/ecore_drm2/Ecore_Drm2.h24
1 files changed, 24 insertions, 0 deletions
diff --git a/src/lib/ecore_drm2/Ecore_Drm2.h b/src/lib/ecore_drm2/Ecore_Drm2.h
index 390f5d057a..e9250ecab7 100644
--- a/src/lib/ecore_drm2/Ecore_Drm2.h
+++ b/src/lib/ecore_drm2/Ecore_Drm2.h
@@ -519,6 +519,30 @@ EAPI char *ecore_drm2_output_name_get(Ecore_Drm2_Output *output);
EAPI char *ecore_drm2_output_model_get(Ecore_Drm2_Output *output);
/**
+ * Get if a given output is connected
+ *
+ * @param output
+ *
+ * @return EINA_TRUE if connected, EINA_FALSE otherwise
+ *
+ * @ingroup Ecore_Drm2_Output_Group
+ * @since 1.18
+ */
+EAPI Eina_Bool ecore_drm2_output_connected_get(Ecore_Drm2_Output *output);
+
+/**
+ * Get if a given output is cloned
+ *
+ * @param output
+ *
+ * @return EINA_TRUE if cloned, EINA_FALSE otherwise.
+ *
+ * @ingroup Ecore_Drm2_Output_Group
+ * @since 1.18
+ */
+EAPI Eina_Bool ecore_drm2_output_cloned_get(Ecore_Drm2_Output *output);
+
+/**
* @defgroup Ecore_Drm2_Fb_Group Drm framebuffer functions
*
* Functions that deal with setup of framebuffers