mirror of
https://github.com/servo/servo.git
synced 2025-08-03 20:50:07 +01:00
Format components webvr_traits #21373
This commit is contained in:
parent
577830de90
commit
984680714e
2 changed files with 13 additions and 3 deletions
|
@ -15,11 +15,20 @@ pub enum WebVRMsg {
|
|||
UnregisterContext(PipelineId),
|
||||
PollEvents(IpcSender<bool>),
|
||||
GetDisplays(IpcSender<WebVRResult<Vec<VRDisplayData>>>),
|
||||
GetFrameData(PipelineId, u32, f64, f64, IpcSender<WebVRResult<VRFrameData>>),
|
||||
GetFrameData(
|
||||
PipelineId,
|
||||
u32,
|
||||
f64,
|
||||
f64,
|
||||
IpcSender<WebVRResult<VRFrameData>>,
|
||||
),
|
||||
ResetPose(PipelineId, u32, IpcSender<WebVRResult<VRDisplayData>>),
|
||||
RequestPresent(PipelineId, u32, IpcSender<WebVRResult<()>>),
|
||||
ExitPresent(PipelineId, u32, Option<IpcSender<WebVRResult<()>>>),
|
||||
CreateCompositor(u32),
|
||||
GetGamepads(Vec<u32>, IpcSender<WebVRResult<Vec<(Option<VRGamepadData>, VRGamepadState)>>>),
|
||||
GetGamepads(
|
||||
Vec<u32>,
|
||||
IpcSender<WebVRResult<Vec<(Option<VRGamepadData>, VRGamepadState)>>>,
|
||||
),
|
||||
Exit,
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue