| OLD | NEW |
| 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 Loading... |
| 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_ |
| OLD | NEW |