ee-wayland: use frame callbacks exclusively to determine render timing
authorMike Blumenkrantz <zmike@osg.samsung.com>
Tue, 20 Oct 2015 20:41:28 +0000 (16:41 -0400)
committerMike Blumenkrantz <zmike@osg.samsung.com>
Tue, 20 Oct 2015 20:57:05 +0000 (16:57 -0400)
commita347a47e7502542115412efc4f2ddcd78c610193
tree25edb0be263403470fa28de109ddd31d921b2582
parent9d3bc82d0834d20a21b1feefc2eb3209f6cd9be4
ee-wayland: use frame callbacks exclusively to determine render timing

when running in a wayland compositor, the ideal mode of operation is to
only prepare/send frames when the compositor has finished with the previous
frame

to achieve this, manual rendering can be toggled upon creating and completing
a frame callback, ensuring that a canvas never has multiple pending buffers at
any given time

fix T2784
src/modules/ecore_evas/engines/wayland/ecore_evas_wayland_common.c
src/modules/ecore_evas/engines/wayland/ecore_evas_wayland_egl.c
src/modules/ecore_evas/engines/wayland/ecore_evas_wayland_private.h
src/modules/ecore_evas/engines/wayland/ecore_evas_wayland_shm.c