aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/ecore_drm2/Ecore_Drm2.h
diff options
context:
space:
mode:
authorDerek Foreman <derekf@osg.samsung.com>2017-08-03 18:26:18 -0500
committerDerek Foreman <derekf@osg.samsung.com>2017-08-09 14:56:59 -0500
commit1b853dcfadfdea9e10bf4bca0ea7a24d990af68f (patch)
treeb5f075b9d47705638382dcade95422bfbab50f21 /src/lib/ecore_drm2/Ecore_Drm2.h
parentecore_drm2: Remove useless safety checks (diff)
downloadefl-1b853dcfadfdea9e10bf4bca0ea7a24d990af68f.tar.gz
ecore_drm2: Add ecore_drm2_output_info_get
We've got too many ways to query output information, so let's add more. (this will soon replace all of them)
Diffstat (limited to 'src/lib/ecore_drm2/Ecore_Drm2.h')
-rw-r--r--src/lib/ecore_drm2/Ecore_Drm2.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/lib/ecore_drm2/Ecore_Drm2.h b/src/lib/ecore_drm2/Ecore_Drm2.h
index 0468cbca5e..ef35304c35 100644
--- a/src/lib/ecore_drm2/Ecore_Drm2.h
+++ b/src/lib/ecore_drm2/Ecore_Drm2.h
@@ -718,6 +718,21 @@ EAPI unsigned int ecore_drm2_output_connector_type_get(Ecore_Drm2_Output *output
EAPI void ecore_drm2_output_resolution_get(Ecore_Drm2_Output *output, int *w, int *h, unsigned int *refresh);
/**
+ * Get the geometry and refresh rate for a given output
+ *
+ * @param output
+ * @param *x
+ * @param *y
+ * @param *w
+ * @param *h
+ * @param *refresh
+ *
+ * @ingroup Ecore_Drm2_Output_Group
+ * @since 1.21
+ */
+EAPI void ecore_drm2_output_info_get(Ecore_Drm2_Output *output, int *x, int *y, int *w, int *h, unsigned int *refresh);
+
+/**
* Get if an output can be used on a given crtc
*
* This function will loop the possible crtcs of an encoder to determine if