devilhorns pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=1904466ebc1f649fdc9e00c9d16dde8a1b3165ea

commit 1904466ebc1f649fdc9e00c9d16dde8a1b3165ea
Author: Chris Michael <[email protected]>
Date:   Mon Mar 3 16:07:18 2014 +0000

    evas-drm: Fix evas drawing delay for cedric
    
    @bugfix: Draw to the front buffer first, instead of the back buffer.
    
    Frenchie says this improves the "initial rendering delay" of expedite
    tests. Originally, we were drawing to the back buffer first, then
    flipping it onto the crtc when drawing was done. This presented a
    "perceived" rendering delay when running expedite tests as it would
    wait for the back buffer to be drawn before presenting it. Personally,
    I think it is not good to draw directly to the front buffer first as
    it may get presented "incomplete" ... but cedric says it draws fine so
    we'll leave it starting on the front buffer (for now).
    
    Signed-off-by: Chris Michael <[email protected]>
---
 src/modules/evas/engines/drm/evas_outbuf.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/modules/evas/engines/drm/evas_outbuf.c 
b/src/modules/evas/engines/drm/evas_outbuf.c
index 54d15ac..a391c7e 100644
--- a/src/modules/evas/engines/drm/evas_outbuf.c
+++ b/src/modules/evas/engines/drm/evas_outbuf.c
@@ -121,7 +121,7 @@ evas_outbuf_setup(Evas_Engine_Info_Drm *info, int w, int h)
    evas_drm_outbuf_framebuffer_set(ob, &(ob->priv.buffer[0]));
 
    /* set back buffer as first one to draw into */
-   ob->priv.curr = (ob->priv.num - 1);
+   /* ob->priv.curr = (ob->priv.num - 1); */
 
    return ob;
 }

-- 


Reply via email to