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:12 -0500
committerDerek Foreman <derekf@osg.samsung.com>2017-08-09 14:56:59 -0500
commit5ecfe6a8b5460fb9e16102798ceb027d3935d6af (patch)
tree216b61c60ea009dc0904f2dda878aae7e9aac1a8 /src/lib/ecore_drm2/ecore_drm2_outputs.c
parent846db0e0e7ad3cff1fac4437e378c28e60c68bf2 (diff)
ecore_drm2: Remove ecore_drm2_output_crtc_size_get()
Replaced with 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.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{