ecore-drm: Only queue re-flip on the head that needs it
authorDerek Foreman <derekf@osg.samsung.com>
Tue, 26 Jan 2016 16:43:21 +0000 (10:43 -0600)
committerMike Blumenkrantz <zmike@osg.samsung.com>
Thu, 18 Feb 2016 20:50:15 +0000 (15:50 -0500)
Prevents stuttering when a head that was successfully set bounces
back to a previous frame the other head failed to set.

src/lib/ecore_drm/ecore_drm_device.c

index 756a5fc..16a7843 100644 (file)
@@ -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);
      }
 }