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

Side by Side Diff: chrome/browser/android/vr_shell/vr_shell_renderer.h

Issue 2598093002: Update GVR to 1.10.0 (Closed)
Patch Set: Created 4 years 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 unified diff | Download patch
« no previous file with comments | « chrome/browser/android/vr_shell/vr_shell_gl.h ('k') | device/vr/android/gvr/gvr_delegate.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_ANDROID_VR_SHELL_VR_SHELL_RENDERER_H_ 5 #ifndef CHROME_BROWSER_ANDROID_VR_SHELL_VR_SHELL_RENDERER_H_
6 #define CHROME_BROWSER_ANDROID_VR_SHELL_VR_SHELL_RENDERER_H_ 6 #define CHROME_BROWSER_ANDROID_VR_SHELL_VR_SHELL_RENDERER_H_
7 7
8 #include <memory> 8 #include <memory>
9 9
10 #include "base/macros.h" 10 #include "base/macros.h"
11 #include "chrome/browser/android/vr_shell/vr_math.h" 11 #include "chrome/browser/android/vr_shell/vr_math.h"
12 #include "third_party/gvr-android-sdk/src/ndk/include/vr/gvr/capi/include/gvr_ty pes.h" 12 #include "third_party/gvr-android-sdk/src/libraries/headers/vr/gvr/capi/include/ gvr_types.h"
13 #include "ui/gl/gl_bindings.h" 13 #include "ui/gl/gl_bindings.h"
14 14
15 namespace vr_shell { 15 namespace vr_shell {
16 16
17 typedef unsigned int GLuint; 17 typedef unsigned int GLuint;
18 18
19 enum ShaderID { 19 enum ShaderID {
20 SHADER_UNRECOGNIZED = 0, 20 SHADER_UNRECOGNIZED = 0,
21 TEXTURE_QUAD_VERTEX_SHADER, 21 TEXTURE_QUAD_VERTEX_SHADER,
22 TEXTURE_QUAD_FRAGMENT_SHADER, 22 TEXTURE_QUAD_FRAGMENT_SHADER,
(...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after
146 std::unique_ptr<WebVrRenderer> webvr_renderer_; 146 std::unique_ptr<WebVrRenderer> webvr_renderer_;
147 std::unique_ptr<ReticleRenderer> reticle_renderer_; 147 std::unique_ptr<ReticleRenderer> reticle_renderer_;
148 std::unique_ptr<LaserRenderer> laser_renderer_; 148 std::unique_ptr<LaserRenderer> laser_renderer_;
149 149
150 DISALLOW_COPY_AND_ASSIGN(VrShellRenderer); 150 DISALLOW_COPY_AND_ASSIGN(VrShellRenderer);
151 }; 151 };
152 152
153 } // namespace vr_shell 153 } // namespace vr_shell
154 154
155 #endif // CHROME_BROWSER_ANDROID_VR_SHELL_VR_SHELL_RENDERER_H_ 155 #endif // CHROME_BROWSER_ANDROID_VR_SHELL_VR_SHELL_RENDERER_H_
OLDNEW
« no previous file with comments | « chrome/browser/android/vr_shell/vr_shell_gl.h ('k') | device/vr/android/gvr/gvr_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698