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

Unified Diff: device/vr/android/gvr/gvr_delegate.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_delegate.h
diff --git a/device/vr/android/gvr/gvr_delegate.h b/device/vr/android/gvr/gvr_delegate.h
index c5e22a0927d056873060c80e81b475b4f866b61a..5d3bfc517448fb80c26d9813af98c8d6f9b9a495 100644
--- a/device/vr/android/gvr/gvr_delegate.h
+++ b/device/vr/android/gvr/gvr_delegate.h
@@ -21,7 +21,8 @@ class DEVICE_VR_EXPORT GvrDelegate {
public:
virtual void SetWebVRSecureOrigin(bool secure_origin) = 0;
virtual void SubmitWebVRFrame() = 0;
- virtual void UpdateWebVRTextureBounds(const gvr::Rectf& left_bounds,
+ virtual void UpdateWebVRTextureBounds(uint32_t frame_index,
+ const gvr::Rectf& left_bounds,
const gvr::Rectf& right_bounds) = 0;
virtual void SetGvrPoseForWebVr(const gvr::Mat4f& pose,

Powered by Google App Engine
This is Rietveld 408576698