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

Unified Diff: third_party/WebKit/Source/modules/vr/VRDisplay.h

Issue 2612333002: Allow VRDisplay to specify which frame the layer bounds should be updated at. (Closed)
Patch Set: rebase 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
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 0456f10e66d1d00d7291aca009d472bde8ef6c05..9226f21a24cbe514d29cd7a2ac2bc4a7963c2c3f 100644
--- a/third_party/WebKit/Source/modules/vr/VRDisplay.h
+++ b/third_party/WebKit/Source/modules/vr/VRDisplay.h
@@ -132,7 +132,8 @@ class VRDisplay final : public EventTargetWithInlineData,
void OnDeactivate(device::mojom::blink::VRDisplayEventReason) override;
void OnVSync(device::mojom::blink::VRPosePtr,
- mojo::common::mojom::blink::TimeDeltaPtr);
+ mojo::common::mojom::blink::TimeDeltaPtr,
+ int16_t frameId);
void ConnectVSyncProvider();
ScriptedAnimationController& ensureScriptedAnimationController(Document*);
@@ -148,6 +149,7 @@ class VRDisplay final : public EventTargetWithInlineData,
Member<VREyeParameters> m_eyeParametersLeft;
Member<VREyeParameters> m_eyeParametersRight;
device::mojom::blink::VRPosePtr m_framePose;
+ int16_t m_frameId;
VRLayer m_layer;
double m_depthNear = 0.01;
double m_depthFar = 10000.0;

Powered by Google App Engine
This is Rietveld 408576698