wayland_shm: Add swap mode fallback when buffer age changes 97/92797/3
authorWonki Kim <wonki_.kim@samsung.com>
Tue, 11 Oct 2016 12:17:41 +0000 (21:17 +0900)
committerGerrit Code Review <gerrit@review.vlan103.tizen.org>
Wed, 19 Oct 2016 14:18:12 +0000 (07:18 -0700)
commit53bbc5037f3048d49a322d31fe901160538576c3
tree95849ce1fd28a87d17ab925a7fcd6c316681f2ab
parentbaa56058bb9a056b656149099b597d03fd7957c8
wayland_shm: Add swap mode fallback when buffer age changes

This copies the behaviour in opengl_x11 engine, where the buffer
age needs to be continuously the same to be taken into account.
If the age varies, then we fallback to a full redraw.

Apparently this fixes issues on actual devices. I tested this
patch in weston (I didn't have issues before and buffer age is 1).

This commit is cherry-pick of the upstream commit.
https://git.enlightenment.org/core/efl.git/commit/?id=62ca4486ea30fd63a5589ea7af373a5cb9982031

TIZEN_ONLY tag has been removed

Change-Id: If479243d5f8bce5bd41142e833e04602e6152326
Signed-off-by: Wonki Kim <wonki_.kim@samsung.com>
src/modules/evas/engines/wayland_shm/evas_engine.h
src/modules/evas/engines/wayland_shm/evas_outbuf.c