summaryrefslogtreecommitdiff
path: root/src/lib/ecore_drm2/ecore_drm2_outputs.c
diff options
context:
space:
mode:
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{