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:03:51 -0500
committerDerek Foreman <derekf@osg.samsung.com>2017-08-09 14:56:59 -0500
commit9fd0ed736dfed7739dbc35024c11ccd093b0b5f5 (patch)
treeaeeb344a6fb3f1203c6c0a879ef9f226d7bc8fd3 /src/lib/ecore_drm2/ecore_drm2_outputs.c
parent5ecfe6a8b5460fb9e16102798ceb027d3935d6af (diff)
ecore_drm2: Remove ecore_drm2_output_resolution_get()
No local callers. Superseded by 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.c15
1 files changed, 0 insertions, 15 deletions
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)
1393 return output->conn_type; 1393 return output->conn_type;
1394} 1394}
1395 1395
1396EAPI void
1397ecore_drm2_output_resolution_get(Ecore_Drm2_Output *output, int *w, int *h, unsigned int *refresh)
1398{
1399 if (w) *w = 0;
1400 if (h) *h = 0;
1401 if (refresh) *refresh = 0;
1402
1403 EINA_SAFETY_ON_NULL_RETURN(output);
1404 EINA_SAFETY_ON_TRUE_RETURN(!output->current_mode);
1405
1406 if (w) *w = output->current_mode->width;
1407 if (h) *h = output->current_mode->height;
1408 if (refresh) *refresh = output->current_mode->refresh;
1409}
1410
1411EAPI Eina_Bool 1396EAPI Eina_Bool
1412ecore_drm2_output_possible_crtc_get(Ecore_Drm2_Output *output, unsigned int crtc) 1397ecore_drm2_output_possible_crtc_get(Ecore_Drm2_Output *output, unsigned int crtc)
1413{ 1398{