aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/microtask.rs
diff options
context:
space:
mode:
authorbors-servo <lbergstrom+bors@mozilla.com>2019-01-08 20:42:37 -0500
committerGitHub <noreply@github.com>2019-01-08 20:42:37 -0500
commit44cbe969e24e65fc8f82f77bac6374ceb4aa0e71 (patch)
tree35209a562f09750d891cadfded8dc03d8f9271a7 /components/script/microtask.rs
parentd3763452b59837d72bd23eb03eac0926d1ff6145 (diff)
parente2522d36ffa053b10296bbd1c16d60e502f1f452 (diff)
downloadservo-44cbe969e24e65fc8f82f77bac6374ceb4aa0e71.tar.gz
servo-44cbe969e24e65fc8f82f77bac6374ceb4aa0e71.zip
Auto merge of #22649 - Manishearth:xr-promises, r=jdm
Make XR/VR presenting code async Previously we only pretended to be async, we returned promises that were already resolved because we synchronously blocked on the channel. This: - Moves XR presentation to session creation (where it belongs, see https://github.com/immersive-web/webxr/issues/453) - Factors out common presentation code in a way that supports asynchronously resolving promises - Uses this for `VRDisplay::RequestPresent()` and `XR::RequestSession()` r? @jdm <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/22649) <!-- Reviewable:end -->
Diffstat (limited to 'components/script/microtask.rs')
0 files changed, 0 insertions, 0 deletions