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

Unified Diff: chrome/browser/android/vr_shell/vr_shell_delegate.cc

Issue 2508703002: WebVR: Use content CVC size for compositor rendering (Closed)
Patch Set: Rebase, use more appropriate crbug/655722 for TODOS 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
« no previous file with comments | « chrome/browser/android/vr_shell/vr_shell.cc ('k') | device/vr/android/gvr/gvr_delegate.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/android/vr_shell/vr_shell_delegate.cc
diff --git a/chrome/browser/android/vr_shell/vr_shell_delegate.cc b/chrome/browser/android/vr_shell/vr_shell_delegate.cc
index ae4acc523ce7317b1e0c39f8bad9a523af61170c..5099fec8f32be95c04c5d8c96c28ad85a398f070 100644
--- a/chrome/browser/android/vr_shell/vr_shell_delegate.cc
+++ b/chrome/browser/android/vr_shell/vr_shell_delegate.cc
@@ -31,6 +31,9 @@ class GvrNonPresentingDelegate : public device::GvrDelegate {
const gvr::Rectf& right_bounds) override {}
void SetGvrPoseForWebVr(const gvr::Mat4f& pose,
uint32_t pose_index) override {}
+ void SetWebVRRenderSurfaceSize(int width, int height) override {}
+ gvr::Sizei GetWebVRCompositorSurfaceSize() override {
+ return device::kFallbackRenderTargetSize; }
gvr::GvrApi* gvr_api() override { return gvr_api_.get(); }
base::WeakPtr<GvrNonPresentingDelegate> GetWeakPtr() {
return weak_ptr_factory_.GetWeakPtr();
« no previous file with comments | « chrome/browser/android/vr_shell/vr_shell.cc ('k') | device/vr/android/gvr/gvr_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698