aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/ecore_drm2/Ecore_Drm2.h
diff options
context:
space:
mode:
authorChris Michael <cp.michael@samsung.com>2016-11-28 10:00:49 -0500
committerChris Michael <cp.michael@samsung.com>2016-11-28 10:09:41 -0500
commite0b61a35c593cc8cd6d13ead87d0e99336c6af8f (patch)
treeac677dbf819ab0a10fd7ff39100359e1f1186d4a /src/lib/ecore_drm2/Ecore_Drm2.h
parentexample: update edje-edit-part-box to use not deprecated functions (diff)
downloadefl-e0b61a35c593cc8cd6d13ead87d0e99336c6af8f.tar.gz
ecore-drm2: Add API function to return screen dpi
This patch adds a new API function which will be called from Ecore_Evas to return the screen dpi @feature Signed-off-by: Chris Michael <cp.michael@samsung.com>
Diffstat (limited to 'src/lib/ecore_drm2/Ecore_Drm2.h')
-rw-r--r--src/lib/ecore_drm2/Ecore_Drm2.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/lib/ecore_drm2/Ecore_Drm2.h b/src/lib/ecore_drm2/Ecore_Drm2.h
index 50408be989..708e31aca4 100644
--- a/src/lib/ecore_drm2/Ecore_Drm2.h
+++ b/src/lib/ecore_drm2/Ecore_Drm2.h
@@ -461,6 +461,18 @@ EAPI Ecore_Drm2_Output *ecore_drm2_output_find(Ecore_Drm2_Device *device, int x,
EAPI void ecore_drm2_output_geometry_get(Ecore_Drm2_Output *output, int *x, int *y, int *w, int *h);
/**
+ * Get the dpi of a given output
+ *
+ * @param output
+ * @param xdpi
+ * @param ydpi
+ *
+ * @ingroup Ecore_Drm2_Output_Group
+ * @since 1.19
+ */
+EAPI void ecore_drm2_output_dpi_get(Ecore_Drm2_Output *output, int *xdpi, int *ydpi);
+
+/**
* Get the id of the crtc that an output is using
*
* @param output