Skip to content
Commit 7e05ff35 authored by Gao Shuo's avatar Gao Shuo
Browse files

Avoid fake high input latency while vsync drifting



Usually isTrippleBuffered should be true when mSwapDeadline bigger
than IntendedVsync. However, vsync could be drifting on some platforms,
which make isTrippleBuffered to be true and report a fake high input
latency.

So add a small threshold to avoid this case.

Test: Manually
Change-Id: Ib6ff1046cfb94f89f4985361b84ad2d34850f783
Signed-off-by: default avatarGao Shuo <shuo.gao@intel.com>
Signed-off-by: default avatarWu Zhongmin <zhongmin.wu@intel.com>
Signed-off-by: default avatarZhu Tingting <tingting.zhu@intel.com>
parent 7a5b9c2d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment