Chromium Code Reviews
DescriptionWebVR: Add sanity checks for decoded pose index values
We seem to be getting glitches in the display pipeline that
manifest as all-white pixels for a few frames before regular
rendering starts. These get misinterpreted as an invalid
pose index, and apparently supplying a wrong pose to GVR
permanently breaks reprojection for that instance.
Add sanity checks to help identify and avoid bad pose values
during initialization.
BUG=667327
Committed: https://crrev.com/490f4294847d427265ae138de9932926d61b885e
Cr-Commit-Position: refs/heads/master@{#435866}
Patch Set 1 #
Total comments: 6
Patch Set 2 : Add "is valid pose" flag and magic number. #Patch Set 3 : Add VLOG to the "not a valid pose" branch #Patch Set 4 : Add VLOG to the "not a valid pose" branch (try #2) #Patch Set 5 : Add counter to skip the first few valid frames #Patch Set 6 : Add longer wait, 10 frames was not sufficient. Less verbose vlog. #
Total comments: 4
Patch Set 7 : Revert pose wait hack, add constants for magic numbers #Patch Set 8 : Work around bogus initialization warning #
Messages
Total messages: 23 (8 generated)
|
||||||||||||||||||||||||||||||||||||||||||||||