Support creating and messaging mock display

This commit is contained in:
Manish Goregaokar 2019-05-29 15:42:07 -07:00
parent c689866d35
commit a89d2c6410
4 changed files with 30 additions and 1 deletions

View file

@ -26,6 +26,8 @@ pub enum WebVRMsg {
RequestPresent(PipelineId, u32, IpcSender<WebVRResult<()>>),
ExitPresent(PipelineId, u32, Option<IpcSender<WebVRResult<()>>>),
CreateCompositor(u32),
CreateMockDisplay,
MessageMockDisplay(MockVRControlMsg),
GetGamepads(
Vec<u32>,
IpcSender<WebVRResult<Vec<(Option<VRGamepadData>, VRGamepadState)>>>,