Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3782)

Unified Diff: device/vr/vr_service.mojom

Issue 2624633002: Remove Sync GetPose VRService call, implement VRVSyncProvider (Closed)
Patch Set: oops Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « device/vr/vr_display_impl.cc ('k') | third_party/WebKit/LayoutTests/vr/resources/mock-vr-service.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: device/vr/vr_service.mojom
diff --git a/device/vr/vr_service.mojom b/device/vr/vr_service.mojom
index d41b1a9ed09da0fe5157c51d9de5af058d4e1a0d..b7d8515825e0a45e1f521f051a7e276f5d0c41dc 100644
--- a/device/vr/vr_service.mojom
+++ b/device/vr/vr_service.mojom
@@ -3,6 +3,8 @@
module device.mojom;
+import "mojo/common/time.mojom";
+
// A field of view, given by 4 degrees describing the view from a center point.
struct VRFieldOfView {
float upDegrees;
@@ -84,14 +86,17 @@ interface VRServiceClient {
};
interface VRDisplay {
- [Sync]
- GetPose() => (VRPose? pose);
ResetPose();
RequestPresent(bool secureOrigin) => (bool success);
ExitPresent();
SubmitFrame(VRPose? pose);
UpdateLayerBounds(VRLayerBounds leftBounds, VRLayerBounds rightBounds);
+ GetVRVSyncProvider(VRVSyncProvider& request);
+};
+
+interface VRVSyncProvider {
+ GetVSync() => (VRPose? pose, mojo.common.mojom.TimeDelta time);
};
interface VRDisplayClient {
« no previous file with comments | « device/vr/vr_display_impl.cc ('k') | third_party/WebKit/LayoutTests/vr/resources/mock-vr-service.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698