A live thumbnail sometimes is not updated. 38/28338/2
authorRyota Okubi <ryota.okubi@mail.toyota-td.jp>
Fri, 3 Oct 2014 05:41:11 +0000 (14:41 +0900)
committerMikko Ylinen <mikko.ylinen@intel.com>
Mon, 6 Oct 2014 10:59:18 +0000 (03:59 -0700)
commit40f84b72797e694bc06f25992259f4822745ad99
treece630f86577cf7edb589c14d273cad8061b0baef
parent9447cd666bbd8e6f3933c194ccc09f2768378a86
A live thumbnail sometimes is not updated.

In ico-uxf-weston-plugin(weston plugin), when Weston will finish
a certain processing and will be in an idle state, it investigated
whether the buffer number of surface changed, and if it is changing,
it will have judged with drawing having changed.
A buffer number changes because an application calls SwapBuffer.
However, since Weston may process at once 2 times of SwapBuffers which
the application called continuously and a buffer number returns by
SwapBuffer in that case, drawing judges that it is not changing and
does not remake a live thumbnail.
Even if the buffer number of repair was the same, when having passed
beyond the definite period of time, it corresponded by remaking a live
thumbnail.

Change-Id: Id241741344a4b8e7736dc5efad06c5ece1d78810
Signed-off-by: Ryota Okubi <ryota.okubi@mail.toyota-td.jp>
src/ico_window_mgr.c