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

Unified Diff: chrome/browser/android/vr_shell/vr_shell_gl.h

Issue 2775513002: WebVR: match GVR renderbuffer resolution to canvas resolution (Closed)
Patch Set: Rebase, fix Target Ref Created 3 years, 9 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
« no previous file with comments | « no previous file | chrome/browser/android/vr_shell/vr_shell_gl.cc » ('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_gl.h
diff --git a/chrome/browser/android/vr_shell/vr_shell_gl.h b/chrome/browser/android/vr_shell/vr_shell_gl.h
index b04cb8a071418c2e3214013f536ec6c3467f5bdc..af121a2f9fb761160204f2140ef1d5a961348dc8 100644
--- a/chrome/browser/android/vr_shell/vr_shell_gl.h
+++ b/chrome/browser/android/vr_shell/vr_shell_gl.h
@@ -160,6 +160,8 @@ class VrShellGl : public device::mojom::VRVSyncProvider {
// Current sizes for the render buffers.
gvr::Sizei render_size_primary_;
gvr::Sizei render_size_headlocked_;
+ gvr::Sizei render_size_primary_vrshell_ = {0, 0};
+ gvr::Sizei render_size_primary_webvr_ = {0, 0};
std::unique_ptr<VrShellRenderer> vr_shell_renderer_;
« no previous file with comments | « no previous file | chrome/browser/android/vr_shell/vr_shell_gl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698