gecko-dev/servo/components/script
Imanol Fernandez 952fe5d9e8 servo: Merge #14618 - WebVR API Implementation (from MortimerGoro:webvr_api); r=larsbergstrom,emilio,jdm,nox,asajeffrey,cvan
<!-- Please describe your changes on the following line: -->

WebVR API Implementation with HTC Vive support on Windows. The current implementations only enables the WebVR support on Windows. In other platforms the API is available on JavaScript but navigator.vr.getDisplays() returns an empty array. This will change when we add support for more VR providers and platforms ;)

Info about the architecture:
https://blog.mozvr.com/webvr-servo-architecture-and-latency-optimizations/
---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: -->
- [X] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report any errors
- [ ] These changes fix #__ (github issue number if applicable).

<!-- Either: -->
- [X] There are tests for these changes OR
- [ ] These changes do not require tests because _____

Proprietary openvr.dll must be copied next to servo.exe in order to test on HTC Vive (https://github.com/ValveSoftware/openvr/tree/master/bin/win64) I have added some of the official WebVR samples for testing. Switch on your headset and run:

mach run tests/html/webvr/room-scale.html

Source-Repo: https://github.com/servo/servo
Source-Revision: 518ef39cfd429082dd8dc0d5b13e2db637d08a53
2017-01-09 06:39:45 -08:00
..
docs servo: Merge #14495 - Rename `Reflectable` to `DomObject` (from frewsxcv:reflectable-domobject); r=jdm 2016-12-08 12:41:08 -08:00
dom servo: Merge #14618 - WebVR API Implementation (from MortimerGoro:webvr_api); r=larsbergstrom,emilio,jdm,nox,asajeffrey,cvan 2017-01-09 06:39:45 -08:00
task_source servo: Merge #13774 - Finish up the implementation of EventSource (from KiChjang:event-source-constructor); r=jdm 2016-11-12 08:08:38 -06:00
CMakeLists.txt servo: Merge #13410 - Fix doc build by resurrecting generation of supported DOM APIs.h (from jdm:doc_fix); r=Ms2ger 2016-09-26 23:33:53 -05:00
Cargo.toml servo: Merge #14618 - WebVR API Implementation (from MortimerGoro:webvr_api); r=larsbergstrom,emilio,jdm,nox,asajeffrey,cvan 2017-01-09 06:39:45 -08:00
body.rs servo: Merge #14495 - Rename `Reflectable` to `DomObject` (from frewsxcv:reflectable-domobject); r=jdm 2016-12-08 12:41:08 -08:00
build.rs servo: Merge #11756 - MSVC support for Servo, and CMake builds for native code (from vvuk:servo-msvc); r=larsbergstrom 2016-08-17 13:22:52 -05:00
clipboard_provider.rs servo: Merge #11270 - Remove ConstellationChan (from servo:ConstellationChan); r=asajeffrey 2016-05-19 12:38:26 -07:00
devtools.rs servo: Merge #14495 - Rename `Reflectable` to `DomObject` (from frewsxcv:reflectable-domobject); r=jdm 2016-12-08 12:41:08 -08:00
document_loader.rs servo: Merge #14246 - Urlmageddon (from emilio:servo-url); r=SimonSapin 2016-11-17 15:34:47 -06:00
fetch.rs servo: Merge #14495 - Rename `Reflectable` to `DomObject` (from frewsxcv:reflectable-domobject); r=jdm 2016-12-08 12:41:08 -08:00
layout_wrapper.rs servo: Merge #14845 - Avoid restyling elements that aren't in a document (from jdm:restyle-ood); r=emilio 2017-01-04 12:19:00 -08:00
lib.rs servo: Merge #14618 - WebVR API Implementation (from MortimerGoro:webvr_api); r=larsbergstrom,emilio,jdm,nox,asajeffrey,cvan 2017-01-09 06:39:45 -08:00
mem.rs servo: Merge #14495 - Rename `Reflectable` to `DomObject` (from frewsxcv:reflectable-domobject); r=jdm 2016-12-08 12:41:08 -08:00
network_listener.rs servo: Merge #14658 - Separate the async bluetooth handling from networking code (from servo:bluetooth-net); r=jdm 2016-12-21 06:47:33 -08:00
origin.rs servo: Merge #14246 - Urlmageddon (from emilio:servo-url); r=SimonSapin 2016-11-17 15:34:47 -06:00
script_runtime.rs servo: Merge #14618 - WebVR API Implementation (from MortimerGoro:webvr_api); r=larsbergstrom,emilio,jdm,nox,asajeffrey,cvan 2017-01-09 06:39:45 -08:00
script_thread.rs servo: Merge #14618 - WebVR API Implementation (from MortimerGoro:webvr_api); r=larsbergstrom,emilio,jdm,nox,asajeffrey,cvan 2017-01-09 06:39:45 -08:00
serviceworker_manager.rs servo: Merge #14592 - Remove the util crate (from asajeffrey:util-goodbye); r=mbrubeck 2016-12-14 16:48:42 -08:00
serviceworkerjob.rs servo: Merge #14495 - Rename `Reflectable` to `DomObject` (from frewsxcv:reflectable-domobject); r=jdm 2016-12-08 12:41:08 -08:00
stylesheet_loader.rs servo: Merge #14865 - Implement Subresource Integrity (from mrnayak:sri-fetch); r=jdm 2017-01-07 23:14:37 -08:00
test.rs servo: Merge #14662 - Hoist bloom filter into scoped TLS, and remove a bunch of complexity and unsafety from the style system (from bholley:bloom_tls); r=emilio 2016-12-22 12:02:38 -08:00
textinput.rs servo: Merge #14184 - Return `KeyReaction::Nothing` for a Tab event (from jmcomets:tab-no-default-action); r=metajack 2016-11-12 09:58:29 -06:00
timers.rs servo: Merge #14864 - Remove some unsound JSVal handling in JsTimerTask::invoke (from servo:timers); r=jdm 2017-01-05 14:00:50 -08:00
unpremultiplytable.rs servo: Merge #8086 - add (un)premultiply tables for canvas {Get,Put}ImageData operations (from froydnj:premultiply-tables); r=jdm 2015-10-21 17:48:49 -06:00
webdriver_handlers.rs servo: Merge #14526 - Attempt at refactoring and simplifying 'set cookies' operations on resource thread (from frewsxcv:cookies); r=jdm 2016-12-15 15:54:39 -08:00