mirror of
https://github.com/servo/servo.git
synced 2025-08-10 07:55:33 +01:00
Use webvr future_frame_data to avoid blocking the WebGL thread
This commit is contained in:
parent
a28e15e4ea
commit
c9087013b1
7 changed files with 23 additions and 17 deletions
|
@ -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"
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue