forked from enlightenment/efl
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:
parent
ecc5fa3379
commit
b117d48159
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue