Chromium Code Reviews
DescriptionWebVR: fix initial vsync
Applications sometimes use window.rAF while not presenting, then switch to
vrDisplay.rAF after presentation starts. Depending on the animation loop's
timing, this can cause a race condition where presentation has been started
but there's no vrDisplay.rAF pending yet. Ensure there's at least vsync
being processed after presentation starts so that a queued window.rAF
can run and schedule a vrDisplay.rAF.
BUG=711789
NOTRY=true
NOPRESUBMIT=true
Review-Url: https://codereview.chromium.org/2848483003
Cr-Commit-Position: refs/heads/master@{#468167}
(cherry picked from commit 262e77a72493e36e8006aeeba1c7497a42ee5ad9)
Review-Url: https://codereview.chromium.org/2867813002
Cr-Commit-Position: refs/branch-heads/3071@{#454}
Cr-Branched-From: a106f0abbf69dad349d4aaf4bcc4f5d376dd2377-refs/heads/master@{#464641}
Committed: https://chromium.googlesource.com/chromium/src/+/83bc6712b5b740815f9b24dd10934656683cd5de
Patch Set 1 #
Messages
Total messages: 14 (8 generated)
|
||||||||||||||||||||||||||||