ecore_evas: fix to notify mainthread just once 90/251290/2 submit/tizen/20210113.093459
authorWonki Kim <wonki_.kim@samsung.com>
Tue, 5 Jan 2021 05:21:57 +0000 (14:21 +0900)
committerWonki Kim <wonki_.kim@samsung.com>
Tue, 12 Jan 2021 10:55:17 +0000 (19:55 +0900)
commit9dc4da8a654c30e738049a958576bfd8ec411e83
treebae27d3d2d1eea025a48ea78f29eadfbbc1ba2b5
parent1d01561dcdf6a7e4ca2c88685f3985b9df2e41d3
ecore_evas: fix to notify mainthread just once

in tizen, there is an indivisual thread for getting vsync signal.
and the thread notifies the main thread every single time it gets vsync signal.

so that main thread has a possibility to handle multiple times of thread callbacks
(notify handler) when main thread can't iterate within about 16ms
which is an interval of the vsync signal.

this patch fixes the vsync logic not to notify the main thread
when the previous vsync is not handled.

Change-Id: I650a6213f7935f00600496aaac398858f5e9ebf2
src/modules/ecore_evas/engines/wayland/ecore_evas_wayland_vsync.c