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

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

Issue 2384593002: Encode frame number in pixel data for pose sync (Closed)
Patch Set: Frame pose sync: fix oscillating off-by-one Created 4 years, 3 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..027d74d15031f7b42f750297bc36efc806517bf1 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_;
+ int32_t frameNumStarted_ = 0;
DISALLOW_COPY_AND_ASSIGN(GvrDevice);
};

Powered by Google App Engine
This is Rietveld 408576698