summaryrefslogtreecommitdiff
path: root/src/lib/ecore_drm2
diff options
context:
space:
mode:
authorDerek Foreman <derekf@osg.samsung.com>2017-06-15 13:03:16 -0500
committerDerek Foreman <derekf@osg.samsung.com>2017-06-23 08:15:40 -0500
commit0d1082f947cbed5d29edb8ff653cdf0789a1d7c8 (patch)
tree4986357b2fa58a329e9076380ab2369280aa7d82 /src/lib/ecore_drm2
parent4d058ad3230c520d8a09614a109909cb6195330c (diff)
ecore_drm2: Stop using the old per output release callbacks
Diffstat (limited to 'src/lib/ecore_drm2')
-rw-r--r--src/lib/ecore_drm2/ecore_drm2_fb.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/lib/ecore_drm2/ecore_drm2_fb.c b/src/lib/ecore_drm2/ecore_drm2_fb.c
index bd81889308..ddd7c3e5dc 100644
--- a/src/lib/ecore_drm2/ecore_drm2_fb.c
+++ b/src/lib/ecore_drm2/ecore_drm2_fb.c
@@ -242,13 +242,12 @@ ecore_drm2_fb_dirty(Ecore_Drm2_Fb *fb, Eina_Rectangle *rects, unsigned int count
242#endif 242#endif
243} 243}
244 244
245/* perhaps output is no longer a necessary parameter for this function */
245void 246void
246_ecore_drm2_fb_buffer_release(Ecore_Drm2_Output *output, Ecore_Drm2_Output_State *s) 247_ecore_drm2_fb_buffer_release(Ecore_Drm2_Output *output EINA_UNUSED, Ecore_Drm2_Output_State *s)
247{ 248{
248 Ecore_Drm2_Fb *fb = s->fb; 249 Ecore_Drm2_Fb *fb = s->fb;
249 250
250 if (output->release_cb) output->release_cb(output->release_data, s->fb);
251
252 if (fb->status_handler) 251 if (fb->status_handler)
253 fb->status_handler(fb, ECORE_DRM2_FB_STATUS_RELEASE, fb->status_data); 252 fb->status_handler(fb, ECORE_DRM2_FB_STATUS_RELEASE, fb->status_data);
254 253