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

Unified Diff: device/vr/android/gvr/gvr_delegate.h

Issue 2508703002: WebVR: Use content CVC size for compositor rendering (Closed)
Patch Set: Undo VrShellImpl changes, use native-side values. Created 4 years, 1 month 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 3b57a77c2ad43d0e15abfcdc87d0c6d0eaba5102..cf2a6240fa293ef257d7ef63aed4653206a24a7b 100644
--- a/device/vr/android/gvr/gvr_delegate.h
+++ b/device/vr/android/gvr/gvr_delegate.h
@@ -25,6 +25,8 @@ class DEVICE_VR_EXPORT GvrDelegate {
virtual void SetGvrPoseForWebVr(const gvr::Mat4f& pose,
uint32_t pose_index) = 0;
+ virtual gvr::Sizei GetWebVRCompositorSurfaceSize() = 0;
+ virtual void SetWebVRRenderSurfaceSize(int width, int height) = 0;
virtual gvr::GvrApi* gvr_api() = 0;
};

Powered by Google App Engine
This is Rietveld 408576698