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

Unified Diff: third_party/WebKit/Source/modules/vr/VRDisplay.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: third_party/WebKit/Source/modules/vr/VRDisplay.h
diff --git a/third_party/WebKit/Source/modules/vr/VRDisplay.h b/third_party/WebKit/Source/modules/vr/VRDisplay.h
index 3c8ac8c7c23a324b06f188a9647c7d6b74bb67f5..17ba51ced91ca87e273cbcc0013a62f625832968 100644
--- a/third_party/WebKit/Source/modules/vr/VRDisplay.h
+++ b/third_party/WebKit/Source/modules/vr/VRDisplay.h
@@ -115,6 +115,7 @@ private:
double m_depthFar;
Timer<VRDisplay> m_fullscreenCheckTimer;
+ int32_t m_poseNum = 0;
};
using VRDisplayVector = HeapVector<Member<VRDisplay>>;

Powered by Google App Engine
This is Rietveld 408576698