mirror of
https://github.com/servo/servo.git
synced 2025-08-06 06:00:15 +01:00
Use a test VRDisplay that renders to a GL window
This commit is contained in:
parent
de3d2f7495
commit
cc2d203151
12 changed files with 95 additions and 13 deletions
|
@ -18,6 +18,7 @@ use script_traits::{AnimationState, ConstellationMsg, EventResult};
|
|||
use std::fmt::{Debug, Error, Formatter};
|
||||
use style_traits::viewport::ViewportConstraints;
|
||||
use webrender_api::{self, DeviceIntPoint, DeviceIntSize};
|
||||
use webvr_traits::WebVRMainThreadHeartbeat;
|
||||
|
||||
/// Sends messages to the compositor.
|
||||
pub struct CompositorProxy {
|
||||
|
@ -153,4 +154,5 @@ pub struct InitialCompositorState {
|
|||
pub webrender: webrender::Renderer,
|
||||
pub webrender_document: webrender_api::DocumentId,
|
||||
pub webrender_api: webrender_api::RenderApi,
|
||||
pub webvr_heartbeats: Vec<Box<WebVRMainThreadHeartbeat>>,
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue