OSDN Git Service

Weston: Don't use vblank for frame completion.
authorHarish Krupo <harish.krupo.kps@intel.com>
Sun, 10 Jun 2018 11:02:28 +0000 (16:32 +0530)
committerKalyan Kondapally <kalyan.kondapally@intel.com>
Sun, 10 Jun 2018 22:54:14 +0000 (15:54 -0700)
commitf162510193c2b57f9b1b3c686b75d67f870cd877
tree0d79a64cd523b7b2c6955bd339198e6ab3e15d68
parente4debee8b239c5ffbe8502dddcb6264515457c0a
Weston: Don't use vblank for frame completion.

For some reason when using vblank callback as an indication
of frame completion the weston-simple-egl app reports a fps
of ~30-40. Thus instead of using the vblank callback, use the
received release fence.
This patch adds the release fence to the fds polled in the main
loop to use as an indication of frame completion.

Jira: None
Test: The weston-simple-egl app should report ~60 FPS

Signed-off-by: Harish Krupo <harish.krupo.kps@intel.com>
os/linux/weston/plugin/compositor-iahwc.c