evas-drm: Don't call framebuffer set from within send function
authorChris Michael <cp.michael@samsung.com>
Wed, 5 Mar 2014 07:07:57 +0000 (07:07 +0000)
committerChris Michael <cp.michael@samsung.com>
Wed, 5 Mar 2014 14:12:58 +0000 (14:12 +0000)
@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>
src/modules/evas/engines/drm/evas_drm.c

index 42d64f7..a19acda 100644 (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;