| Index: chrome/browser/android/vr_shell/vr_shell_renderer.h
|
| diff --git a/chrome/browser/android/vr_shell/vr_shell_renderer.h b/chrome/browser/android/vr_shell/vr_shell_renderer.h
|
| index eb11c06e2f48a271687c5fa2e49c285533c16579..9ac13c145044fc95a1eefde36789f6ee4f601a02 100644
|
| --- a/chrome/browser/android/vr_shell/vr_shell_renderer.h
|
| +++ b/chrome/browser/android/vr_shell/vr_shell_renderer.h
|
| @@ -17,7 +17,6 @@
|
|
|
| namespace vr_shell {
|
|
|
| -// TODO(tiborg): set background color through JS API.
|
| constexpr float kFogBrightness = 0.57f;
|
|
|
| enum ShaderID {
|
| @@ -75,7 +74,6 @@ class BaseRenderer {
|
|
|
| GLuint program_handle_;
|
| GLuint position_handle_;
|
| - GLuint tex_coord_handle_;
|
|
|
| DISALLOW_COPY_AND_ASSIGN(BaseRenderer);
|
| };
|
| @@ -92,6 +90,7 @@ class BaseQuadRenderer : public BaseRenderer {
|
| const gfx::Transform& view_proj_matrix);
|
|
|
| static GLuint vertex_buffer_;
|
| + static GLuint index_buffer_;
|
|
|
| DISALLOW_COPY_AND_ASSIGN(BaseQuadRenderer);
|
| };
|
| @@ -206,6 +205,7 @@ class ControllerRenderer : public BaseRenderer {
|
|
|
| private:
|
| GLuint model_view_proj_matrix_handle_;
|
| + GLuint tex_coord_handle_;
|
| GLuint tex_uniform_handle_;
|
| GLuint opacity_handle_;
|
| GLuint indices_buffer_ = 0;
|
|
|