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.c19
1 files changed, 0 insertions, 19 deletions
diff --git a/src/lib/ecore_drm2/ecore_drm2_outputs.c b/src/lib/ecore_drm2/ecore_drm2_outputs.c
index 7cf8198adc..4e7db927bf 100644
--- a/src/lib/ecore_drm2/ecore_drm2_outputs.c
+++ b/src/lib/ecore_drm2/ecore_drm2_outputs.c
@@ -1146,25 +1146,6 @@ ecore_drm2_output_latest_fb_get(Ecore_Drm2_Output *output)
1146 return output->next.fb; 1146 return output->next.fb;
1147} 1147}
1148 1148
1149EAPI void
1150ecore_drm2_output_crtc_size_get(Ecore_Drm2_Output *output, int *w, int *h)
1151{
1152 drmModeCrtcPtr crtc;
1153
1154 if (w) *w = 0;
1155 if (h) *h = 0;
1156
1157 EINA_SAFETY_ON_NULL_RETURN(output);
1158
1159 crtc = sym_drmModeGetCrtc(output->fd, output->crtc_id);
1160 if (!crtc) return;
1161
1162 if (w) *w = crtc->width;
1163 if (h) *h = crtc->height;
1164
1165 sym_drmModeFreeCrtc(crtc);
1166}
1167
1168EAPI Eina_Bool 1149EAPI Eina_Bool
1169ecore_drm2_output_primary_get(Ecore_Drm2_Output *output) 1150ecore_drm2_output_primary_get(Ecore_Drm2_Output *output)
1170{ 1151{