VR: Make VSync computation more robust to slow devices.
Previously we were trying to compute the actual refresh rate of the display, but this isn't possible when the VSync loop runs slow. Instead, compute the UI thread framerate, which is equivalent to the actual refresh rate on fast devices, but handles slowdowns appropriately. Bug: 741090 Change-Id: I35befba210af35f898f500ed70c8ce3b1e31a346 Reviewed-on: https://chromium-review.googlesource.com/568458Reviewed-by:Yash Malik <ymalik@chromium.org> Commit-Queue: Michael Thiessen <mthiesse@chromium.org> Cr-Commit-Position: refs/heads/master@{#486569}
Showing
Please register or sign in to comment