devilhorns pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=46a04d8803ec3dd0927fd8cf44368f65e8bda8fa

commit 46a04d8803ec3dd0927fd8cf44368f65e8bda8fa
Author: Chris Michael <cp.mich...@samsung.com>
Date:   Thu Apr 16 10:23:55 2015 -0400

    evas-drm: Mark the Ecore_Drm_Fb as complete when we get the page flip event.
    
    Summary: This fixes Ticket T2289 where the mouse pointer was leaving a
    trail while moving. This was caused due to not waiting for the page
    flip to complete
    
    @fix
    
    Signed-off-by: Chris Michael <cp.mich...@samsung.com>
---
 src/modules/evas/engines/drm/evas_outbuf.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/src/modules/evas/engines/drm/evas_outbuf.c 
b/src/modules/evas/engines/drm/evas_outbuf.c
index a27ac7e..c7a65be 100644
--- a/src/modules/evas/engines/drm/evas_outbuf.c
+++ b/src/modules/evas/engines/drm/evas_outbuf.c
@@ -12,11 +12,15 @@ static void
 _evas_outbuf_cb_pageflip(void *data)
 {
    Outbuf *ob;
+   Ecore_Drm_Fb *fb;
 
    if (!(ob = data)) return;
 
    DBG("Outbuf Pagelip Done");
 
+   if ((fb = ob->priv.buffer[ob->priv.curr]))
+     fb->pending_flip = EINA_FALSE;
+
    ob->priv.last = ob->priv.curr;
    ob->priv.curr = (ob->priv.curr + 1) % ob->priv.num;
 }

-- 


Reply via email to