evas-drm: Don't call framebuffer set from within send function

@bugfix: We cannot call framebuffer_set from within the send function
because if we are not vsync'd then framebuffer_set would never be
called and thus the buffer would not be marked as valid, causing full
Copies to happen.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
This commit is contained in:
Chris Michael 2014-03-05 07:07:57 +00:00
parent ecc5fa3379
commit b117d48159
1 changed files with 0 additions and 2 deletions

View File

@ -736,8 +736,6 @@ evas_drm_framebuffer_send(Outbuf *ob, Buffer *buffer)
{
unsigned int flags = 0;
if (!buffer->valid) evas_drm_outbuf_framebuffer_set(ob, buffer);
flags = DRM_MODE_PAGE_FLIP_EVENT;
if (ob->priv.use_async_page_flip) flags |= DRM_MODE_PAGE_FLIP_ASYNC;