diff options
author | Derek Foreman <derekf@osg.samsung.com> | 2017-08-08 12:02:15 -0500 |
---|---|---|
committer | Derek Foreman <derekf@osg.samsung.com> | 2017-08-09 14:56:59 -0500 |
commit | 846db0e0e7ad3cff1fac4437e378c28e60c68bf2 (patch) | |
tree | 30a004ad26f4056efb652b329913c3ef9ae2de14 /src/lib/ecore_drm2 | |
parent | 1b853dcfadfdea9e10bf4bca0ea7a24d990af68f (diff) |
ecore_drm2: Remove ecore_drm2_output_geometry_get()
Replaced with ecore_drm2_output_info_get()
Diffstat (limited to 'src/lib/ecore_drm2')
-rw-r--r-- | src/lib/ecore_drm2/Ecore_Drm2.h | 14 | ||||
-rw-r--r-- | src/lib/ecore_drm2/ecore_drm2_outputs.c | 12 |
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); | |||
476 | EAPI Ecore_Drm2_Output *ecore_drm2_output_find(Ecore_Drm2_Device *device, int x, int y); | 476 | EAPI 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 | */ | ||
490 | EAPI 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 | ||
1120 | EAPI void | 1120 | EAPI void |
1121 | ecore_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 | |||
1132 | EAPI void | ||
1133 | ecore_drm2_output_dpi_get(Ecore_Drm2_Output *output, int *xdpi, int *ydpi) | 1121 | ecore_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); |