evas-wayland-shm: Get page flips out of the render thread
authorChris Michael <cp.michael@samsung.com>
Wed, 26 Oct 2016 15:56:04 +0000 (11:56 -0400)
committerChris Michael <cp.michael@samsung.com>
Wed, 26 Oct 2016 16:00:39 +0000 (12:00 -0400)
commit0fa7abae7b4acd5fb610fab49d99f82cc4153f90
treeca435b62b88f7fdd605ae76a0c4c2e127e13f3d3
parentf3d1b2d7da768a35837564a3ad2f2300f28d100c
evas-wayland-shm: Get page flips out of the render thread

Now that we have redraws_clear exposed through software generic, we can
use that to do the final buffer swap from the main thread instead of doing
it in outbuf_flush which runs from the render thread.

This becomes more important later when other call sites in the main thread
will perform buffer flips.

Based on 95a00b8e496839c4976259692fb7c308f7a850dc by Derek Foreman

Signed-off-by: Chris Michael <cp.michael@samsung.com>
src/modules/evas/engines/wayland_shm/evas_engine.c
src/modules/evas/engines/wayland_shm/evas_engine.h
src/modules/evas/engines/wayland_shm/evas_outbuf.c