From: Derek Foreman Date: Tue, 26 Jan 2016 16:43:21 +0000 (-0600) Subject: ecore-drm: Only queue re-flip on the head that needs it X-Git-Tag: upstream/1.20.0~7403 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=937ca952edfd0e9e35ee286547eef81936f248d0;p=platform%2Fupstream%2Fefl.git ecore-drm: Only queue re-flip on the head that needs it Prevents stuttering when a head that was successfully set bounces back to a previous frame the other head failed to set. --- diff --git a/src/lib/ecore_drm/ecore_drm_device.c b/src/lib/ecore_drm/ecore_drm_device.c index 756a5fc..16a7843 100644 --- a/src/lib/ecore_drm/ecore_drm_device.c +++ b/src/lib/ecore_drm/ecore_drm_device.c @@ -65,7 +65,7 @@ _ecore_drm_device_cb_page_flip(int fd EINA_UNUSED, unsigned int frame EINA_UNUSE if (next) { output->next = NULL; - ecore_drm_fb_send(output->dev, next, NULL, NULL); + _ecore_drm_output_fb_send(output->dev, next, output); } }