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

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 + address comments 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
« no previous file with comments | « device/vr/vr_service.mojom ('k') | third_party/WebKit/Source/modules/vr/VRDisplay.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 a3b8adc0f660135fb8a37bd4d41f229e5ce0b6c7..c75631438803f8eea31a36b2196ff535f4d52939 100644
--- a/third_party/WebKit/Source/modules/vr/VRDisplay.h
+++ b/third_party/WebKit/Source/modules/vr/VRDisplay.h
@@ -131,7 +131,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*);
@@ -147,6 +148,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;
« no previous file with comments | « device/vr/vr_service.mojom ('k') | third_party/WebKit/Source/modules/vr/VRDisplay.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698