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

Unified Diff: device/vr/vr_device.h

Issue 2612333002: Allow VRDisplay to specify which frame the layer bounds should be updated at. (Closed)
Patch Set: 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: device/vr/vr_device.h
diff --git a/device/vr/vr_device.h b/device/vr/vr_device.h
index 93c9aa0377736c138e96a0009b6263367a026757..b5419e1ea1aef85e6543bd90c7cfbb1264950eaa 100644
--- a/device/vr/vr_device.h
+++ b/device/vr/vr_device.h
@@ -31,7 +31,8 @@ class DEVICE_VR_EXPORT VRDevice {
virtual void SetSecureOrigin(bool secure_origin) = 0;
virtual void ExitPresent() = 0;
virtual void SubmitFrame(mojom::VRPosePtr pose) = 0;
- virtual void UpdateLayerBounds(mojom::VRLayerBoundsPtr left_bounds,
+ virtual void UpdateLayerBounds(uint32_t frame_index,
+ mojom::VRLayerBoundsPtr left_bounds,
mojom::VRLayerBoundsPtr right_bounds) = 0;
virtual void AddDisplay(VRDisplayImpl* display);

Powered by Google App Engine
This is Rietveld 408576698