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 <devilhorns@comcast.net>
This commit is contained in:
Chris Michael 2014-03-03 16:07:18 +00:00
parent 13d1e5dcf0
commit 1904466ebc
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}