diff options
author | Alan Jeffrey <ajeffrey@mozilla.com> | 2019-02-25 11:44:26 -0600 |
---|---|---|
committer | Alan Jeffrey <ajeffrey@mozilla.com> | 2019-02-26 11:07:42 -0600 |
commit | c9087013b1bce87302ff49de9c2753262008c59b (patch) | |
tree | b8027f8e4a56b07ab276c067fa783a86d50cc238 /components/webvr_traits | |
parent | a28e15e4ea34ed068cc4a49a0625c54f370cd9e8 (diff) | |
download | servo-c9087013b1bce87302ff49de9c2753262008c59b.tar.gz servo-c9087013b1bce87302ff49de9c2753262008c59b.zip |
Use webvr future_frame_data to avoid blocking the WebGL thread
Diffstat (limited to 'components/webvr_traits')
-rw-r--r-- | components/webvr_traits/Cargo.toml | 2 | ||||
-rw-r--r-- | components/webvr_traits/lib.rs | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/components/webvr_traits/Cargo.toml b/components/webvr_traits/Cargo.toml index 7228e4e621d..6caceda3ac4 100644 --- a/components/webvr_traits/Cargo.toml +++ b/components/webvr_traits/Cargo.toml @@ -13,5 +13,5 @@ path = "lib.rs" [dependencies] ipc-channel = "0.11" msg = {path = "../msg"} -rust-webvr-api = {version = "0.10", features = ["serde-serialization"]} +rust-webvr-api = {version = "0.10.2", features = ["ipc"]} serde = "1.0" diff --git a/components/webvr_traits/lib.rs b/components/webvr_traits/lib.rs index 9ebae6e65dc..04dfca47fad 100644 --- a/components/webvr_traits/lib.rs +++ b/components/webvr_traits/lib.rs @@ -20,6 +20,7 @@ pub use rust_webvr_api::VREye as WebVREye; pub use rust_webvr_api::VREyeParameters as WebVREyeParameters; pub use rust_webvr_api::VRFieldOfView as WebVRFieldOfView; pub use rust_webvr_api::VRFrameData as WebVRFrameData; +pub use rust_webvr_api::VRFutureFrameData as WebVRFutureFrameData; pub use rust_webvr_api::VRGamepadButton as WebVRGamepadButton; pub use rust_webvr_api::VRGamepadData as WebVRGamepadData; pub use rust_webvr_api::VRGamepadEvent as WebVRGamepadEvent; |