Index: device/vr/vr_service.mojom |
diff --git a/device/vr/vr_service.mojom b/device/vr/vr_service.mojom |
index 253513d50c1802636c6416f244d354a9fe48b5fd..58458d5a6dac7fd993ef62c764667e7f67abebda 100644 |
--- a/device/vr/vr_service.mojom |
+++ b/device/vr/vr_service.mojom |
@@ -54,6 +54,13 @@ struct VRDisplay { |
VREyeParameters rightEye; |
}; |
+struct VRLayerBounds { |
+ float left; |
+ float top; |
+ float width; |
+ float height; |
+}; |
+ |
interface VRService { |
SetClient(VRServiceClient client); |
@@ -61,6 +68,11 @@ interface VRService { |
[Sync] |
GetPose(uint32 index) => (VRPose pose); |
ResetPose(uint32 index); |
+ |
+ RequestPresent(uint32 index); |
+ ExitPresent(uint32 index); |
+ SubmitFrame(uint32 index); |
+ UpdateLayerBounds(uint32 index, VRLayerBounds leftBounds, VRLayerBounds rightBounds); |
}; |
interface VRServiceClient { |