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

Unified Diff: device/vr/vr_service.mojom

Issue 2384593002: Encode frame number in pixel data for pose sync (Closed)
Patch Set: bajones #40: add sanity check + pointer zeroing Created 4 years, 2 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/android/gvr/gvr_device_provider.cc ('k') | third_party/WebKit/Source/modules/vr/DEPS » ('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 0894f23facc79abd8f519ae66a7a4deea5fa7633..5dbf7025641ca0edd5f616e0ca2ba6d4a4f03df3 100644
--- a/device/vr/vr_service.mojom
+++ b/device/vr/vr_service.mojom
@@ -22,6 +22,9 @@ struct VRPose {
array<float, 3>? linearVelocity;
array<float, 3>? angularAcceleration;
array<float, 3>? linearAcceleration;
+ // The poseIndex is a sequential ID that's incremented on each distinct
+ // getPose result, it may wrap around for long sessions.
+ uint32 poseIndex;
};
struct VRDisplayCapabilities {
« no previous file with comments | « device/vr/android/gvr/gvr_device_provider.cc ('k') | third_party/WebKit/Source/modules/vr/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698