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

Unified Diff: device/vr/android/gvr/gvr_device.h

Issue 2384593002: Encode frame number in pixel data for pose sync (Closed)
Patch Set: bajones #10: restoreStateFromContext, skip pixel read for non-async mode 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
Index: device/vr/android/gvr/gvr_device.h
diff --git a/device/vr/android/gvr/gvr_device.h b/device/vr/android/gvr/gvr_device.h
index 2dafc76aae03087ff824b92852595994a51b1750..d67d6862ddd9d57d68d7850ad34c43e1eb1e073e 100644
--- a/device/vr/android/gvr/gvr_device.h
+++ b/device/vr/android/gvr/gvr_device.h
@@ -42,6 +42,7 @@ class GvrDevice : public VRDevice {
GvrDelegate* delegate_;
GvrDeviceProvider* gvr_provider_;
bool secure_origin_;
+ uint32_t pose_num_ = 0;
mthiesse 2016/10/04 21:19:16 I think frame_index_ would be more clear.
klausw 2016/10/04 23:08:14 Changed to pose_index_. As discussed, this is stro
DISALLOW_COPY_AND_ASSIGN(GvrDevice);
};

Powered by Google App Engine
This is Rietveld 408576698