This repository has been archived by the owner on Jul 22, 2024. It is now read-only.
perf of Polyfill tracking degraded with new Sensor API (since devicemotion
is being deprecated) on Chrome for Android
#254
Labels
reproduced in Chrome 65 on an Android Pixel 2 device:
chrome://flags#enable-webvr
localhost
server)likely, this appears to be mostly caused the upgrade of the WebVR Polyfill in
v1.1.0
.in the most recent release, Chrome for Android just shipped the Sensor API removing the previously required flag.
based on Chromium's bug trackers and the Chromium Developers mailing list, Chrome is deprecating the
devicemotion
API very soon, in favour of this recently shipped Sensor API (a similar Intent to Deprecate has been announced by the Firefox/Gecko folks on the Mozilladev.platform
mailing list).the
webvr-polyfill
(viacardboard-vr-display
), if the API is supported, uses the Sensor API instead ofdevicemotion
.this work was done in immersive-web/cardboard-vr-display#10
the actionable steps here are to see if we can file issues in the Chromium tracker to improve the frequency of the sensor
reading
updates. likely, we'll need to bring this up with the Immersive Group to see if there is a plan to improve mobile perf for WebVR. (this may be indicative of a larger issue, or it could just be a regression in our Unity -> WebVR codepath viasendMessage
. cc @caseyyee)and a relevant, but separate, issue: immersive-web/cardboard-vr-display#11
The text was updated successfully, but these errors were encountered: