summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/lib/ecore_drm2/Ecore_Drm2.h13
-rw-r--r--src/lib/ecore_drm2/ecore_drm2_outputs.c15
2 files changed, 0 insertions, 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);
679EAPI unsigned int ecore_drm2_output_connector_type_get(Ecore_Drm2_Output *output); 679EAPI unsigned int ecore_drm2_output_connector_type_get(Ecore_Drm2_Output *output);
680 680
681/** 681/**
682 * Get the current resolution of a given output
683 *
684 * @param output
685 * @param *w
686 * @param *h
687 * @param *refresh
688 *
689 * @ingroup Ecore_Drm2_Output_Group
690 * @since 1.18
691 */
692EAPI void ecore_drm2_output_resolution_get(Ecore_Drm2_Output *output, int *w, int *h, unsigned int *refresh);
693
694/**
695 * Get the geometry and refresh rate for a given output 682 * Get the geometry and refresh rate for a given output
696 * 683 *
697 * @param output 684 * @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)
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{