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 16645e854300a24d3034620bb810b632cbfce286..8243a86253e6604e35d733553e7dbfc86c7545e6 100644 |
--- a/chrome/browser/android/vr_shell/vr_shell_renderer.h |
+++ b/chrome/browser/android/vr_shell/vr_shell_renderer.h |
@@ -68,22 +68,14 @@ class WebVrRenderer : public BaseRenderer { |
void Draw(int texture_handle); |
- void UpdateTextureBounds(int eye, const gvr::Rectf& bounds); |
- |
private: |
static constexpr size_t VERTEX_STRIDE = sizeof(float) * 4; |
- static constexpr size_t POSITION_ELEMENTS = 2; |
- static constexpr size_t TEXCOORD_ELEMENTS = 2; |
- static constexpr size_t POSITION_OFFSET = 0; |
- static constexpr size_t TEXCOORD_OFFSET = sizeof(float) * 2; |
+ static constexpr size_t VERTEX_ELEMENTS = 4; |
+ static constexpr size_t VERTEX_OFFSET = 0; |
- GLuint src_rect_uniform_handle_; |
GLuint tex_uniform_handle_; |
GLuint vertex_buffer_; |
- gvr::Rectf left_bounds_; |
- gvr::Rectf right_bounds_; |
- |
DISALLOW_COPY_AND_ASSIGN(WebVrRenderer); |
}; |