wayland_shm: Add swap mode fallback when buffer age changes
authorJean-Philippe Andre <jp.andre@samsung.com>
Tue, 18 Oct 2016 08:36:43 +0000 (17:36 +0900)
committerJean-Philippe Andre <jp.andre@samsung.com>
Tue, 18 Oct 2016 08:40:01 +0000 (17:40 +0900)
commit62ca4486ea30fd63a5589ea7af373a5cb9982031
treef6f1f2338d72d46479291edde1a3a191e1fb3d5d
parent2922b68fdf4bb03b12e294449b4a105a84fa9231
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).
src/modules/evas/engines/wayland_shm/evas_engine.h
src/modules/evas/engines/wayland_shm/evas_outbuf.c