derekf pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=9fd0ed736dfed7739dbc35024c11ccd093b0b5f5

commit 9fd0ed736dfed7739dbc35024c11ccd093b0b5f5
Author: Derek Foreman <der...@osg.samsung.com>
Date:   Tue Aug 8 12:03:51 2017 -0500

    ecore_drm2: Remove ecore_drm2_output_resolution_get()
    
    No local callers.  Superseded by ecore_drm2_output_info_get()
---
 src/lib/ecore_drm2/Ecore_Drm2.h         | 13 -------------
 src/lib/ecore_drm2/ecore_drm2_outputs.c | 15 ---------------
 2 files changed, 28 deletions(-)

diff --git a/src/lib/ecore_drm2/Ecore_Drm2.h b/src/lib/ecore_drm2/Ecore_Drm2.h
index ea87c19cbb..031a3dac88 100644
--- a/src/lib/ecore_drm2/Ecore_Drm2.h
+++ b/src/lib/ecore_drm2/Ecore_Drm2.h
@@ -679,19 +679,6 @@ EAPI Eina_Bool 
ecore_drm2_output_cloned_get(Ecore_Drm2_Output *output);
 EAPI unsigned int ecore_drm2_output_connector_type_get(Ecore_Drm2_Output 
*output);
 
 /**
- * Get the current resolution of a given output
- *
- * @param output
- * @param *w
- * @param *h
- * @param *refresh
- *
- * @ingroup Ecore_Drm2_Output_Group
- * @since 1.18
- */
-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
diff --git a/src/lib/ecore_drm2/ecore_drm2_outputs.c 
b/src/lib/ecore_drm2/ecore_drm2_outputs.c
index 4e7db927bf..29e26c80bc 100644
--- a/src/lib/ecore_drm2/ecore_drm2_outputs.c
+++ b/src/lib/ecore_drm2/ecore_drm2_outputs.c
@@ -1393,21 +1393,6 @@ ecore_drm2_output_connector_type_get(Ecore_Drm2_Output 
*output)
    return output->conn_type;
 }
 
-EAPI void
-ecore_drm2_output_resolution_get(Ecore_Drm2_Output *output, int *w, int *h, 
unsigned int *refresh)
-{
-   if (w) *w = 0;
-   if (h) *h = 0;
-   if (refresh) *refresh = 0;
-
-   EINA_SAFETY_ON_NULL_RETURN(output);
-   EINA_SAFETY_ON_TRUE_RETURN(!output->current_mode);
-
-   if (w) *w = output->current_mode->width;
-   if (h) *h = output->current_mode->height;
-   if (refresh) *refresh = output->current_mode->refresh;
-}
-
 EAPI Eina_Bool
 ecore_drm2_output_possible_crtc_get(Ecore_Drm2_Output *output, unsigned int 
crtc)
 {

-- 


Reply via email to