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

Unified Diff: device/vr/android/gvr/gvr_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/android/gvr/gvr_device.h
diff --git a/device/vr/android/gvr/gvr_device.h b/device/vr/android/gvr/gvr_device.h
index 4d57f581a64d2dab47c4978a4c6601f2379634eb..9d30028d30a4e89844d3a9f605a43ff5bcd74114 100644
--- a/device/vr/android/gvr/gvr_device.h
+++ b/device/vr/android/gvr/gvr_device.h
@@ -32,7 +32,8 @@ class GvrDevice : public VRDevice {
void ExitPresent() override;
void SubmitFrame(mojom::VRPosePtr pose) override;
- void UpdateLayerBounds(mojom::VRLayerBoundsPtr left_bounds,
+ void UpdateLayerBounds(uint32_t frame_index,
+ mojom::VRLayerBoundsPtr left_bounds,
mojom::VRLayerBoundsPtr right_bounds) override;
void SetDelegate(GvrDelegate* delegate);

Powered by Google App Engine
This is Rietveld 408576698