summaryrefslogtreecommitdiff
path: root/src/lib/ecore_drm2/ecore_drm2_outputs.c
diff options
context:
space:
mode:
authorDerek Foreman <derekf@osg.samsung.com>2017-08-08 12:02:15 -0500
committerDerek Foreman <derekf@osg.samsung.com>2017-08-09 14:56:59 -0500
commit846db0e0e7ad3cff1fac4437e378c28e60c68bf2 (patch)
tree30a004ad26f4056efb652b329913c3ef9ae2de14 /src/lib/ecore_drm2/ecore_drm2_outputs.c
parent1b853dcfadfdea9e10bf4bca0ea7a24d990af68f (diff)
ecore_drm2: Remove ecore_drm2_output_geometry_get()
Replaced with ecore_drm2_output_info_get()
Diffstat (limited to 'src/lib/ecore_drm2/ecore_drm2_outputs.c')
-rw-r--r--src/lib/ecore_drm2/ecore_drm2_outputs.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/src/lib/ecore_drm2/ecore_drm2_outputs.c b/src/lib/ecore_drm2/ecore_drm2_outputs.c
index f3f13081b0..7cf8198adc 100644
--- a/src/lib/ecore_drm2/ecore_drm2_outputs.c
+++ b/src/lib/ecore_drm2/ecore_drm2_outputs.c
@@ -1118,18 +1118,6 @@ ecore_drm2_output_find(Ecore_Drm2_Device *device, int x, int y)
1118} 1118}
1119 1119
1120EAPI void 1120EAPI void
1121ecore_drm2_output_geometry_get(Ecore_Drm2_Output *output, int *x, int *y, int *w, int *h)
1122{
1123 EINA_SAFETY_ON_NULL_RETURN(output);
1124 EINA_SAFETY_ON_TRUE_RETURN(!output->enabled);
1125
1126 if (x) *x = output->x;
1127 if (y) *y = output->y;
1128 if (w) *w = output->current_mode->width;
1129 if (h) *h = output->current_mode->height;
1130}
1131
1132EAPI void
1133ecore_drm2_output_dpi_get(Ecore_Drm2_Output *output, int *xdpi, int *ydpi) 1121ecore_drm2_output_dpi_get(Ecore_Drm2_Output *output, int *xdpi, int *ydpi)
1134{ 1122{
1135 EINA_SAFETY_ON_NULL_RETURN(output); 1123 EINA_SAFETY_ON_NULL_RETURN(output);