tpl_wayland_egl_thread: Modified wait_vblank handling of PRESENT_MODE_FIFO. 99/189599/1
authorJoonbum Ko <joonbum.ko@samsung.com>
Wed, 19 Sep 2018 05:45:48 +0000 (14:45 +0900)
committerJoonbum Ko <joonbum.ko@samsung.com>
Wed, 19 Sep 2018 06:16:36 +0000 (15:16 +0900)
commit2362cc838a6548e10eeb5a3bf0a62673a2d315a3
tree34074ac7310855eb6f5294498b45a8321d29683a
parent6b0a749c498be3408e987b1039e9606d99d3c374
tpl_wayland_egl_thread: Modified wait_vblank handling of PRESENT_MODE_FIFO.

 - PRESENT_MODE_FIFO has been modified to be dependent on
  the behavior of the display server which can use HW vblank.
  (Therefore, PRESENT_MODE_IMMEDIATE and PRESENT_MODE_FIFO_RELAXED
   are not meaningful because client can not control HW vblank.)

 - If the client sends a commit only once per one vblank,
  the display server will perform pageflip on the HW vsync,
  so the latency of PRESENT_MODE_FIFO can be reduced.

Change-Id: Ie3802e0a7b93515827e93c6712bb8cf3160640ce
Signed-off-by: Joonbum Ko <joonbum.ko@samsung.com>
src/tpl_wayland_egl_thread.c