summaryrefslogtreecommitdiff
path: root/src/lib/ecore_drm2
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/ecore_drm2')
-rw-r--r--src/lib/ecore_drm2/Ecore_Drm2.h14
-rw-r--r--src/lib/ecore_drm2/ecore_drm2_outputs.c12
2 files changed, 0 insertions, 26 deletions
diff --git a/src/lib/ecore_drm2/Ecore_Drm2.h b/src/lib/ecore_drm2/Ecore_Drm2.h
index ef35304c35..d979881867 100644
--- a/src/lib/ecore_drm2/Ecore_Drm2.h
+++ b/src/lib/ecore_drm2/Ecore_Drm2.h
@@ -476,20 +476,6 @@ EAPI Eina_Bool ecore_drm2_output_backlight_get(Ecore_Drm2_Output *output);
476EAPI Ecore_Drm2_Output *ecore_drm2_output_find(Ecore_Drm2_Device *device, int x, int y); 476EAPI Ecore_Drm2_Output *ecore_drm2_output_find(Ecore_Drm2_Device *device, int x, int y);
477 477
478/** 478/**
479 * Get the geometry of a given output
480 *
481 * @param output
482 * @param x
483 * @param y
484 * @param w
485 * @param h
486 *
487 * @ingroup Ecore_Drm2_Output_Group
488 * @since 1.18
489 */
490EAPI void ecore_drm2_output_geometry_get(Ecore_Drm2_Output *output, int *x, int *y, int *w, int *h);
491
492/**
493 * Get the dpi of a given output 479 * Get the dpi of a given output
494 * 480 *
495 * @param output 481 * @param output
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);