| Index: chrome/browser/android/vr_shell/vr_shell.h
|
| diff --git a/chrome/browser/android/vr_shell/vr_shell.h b/chrome/browser/android/vr_shell/vr_shell.h
|
| index a1795da49479785615db14724fba575728e6ce4b..6f2594cc56eb5f4705697197db23aa27e3a1fb89 100644
|
| --- a/chrome/browser/android/vr_shell/vr_shell.h
|
| +++ b/chrome/browser/android/vr_shell/vr_shell.h
|
| @@ -114,11 +114,6 @@ class VrShell : public device::GvrDelegate {
|
| private:
|
| virtual ~VrShell();
|
| void LoadUIContent();
|
| - bool IsUiTextureReady();
|
| - // Converts a pixel rectangle to (0..1) float texture coordinates.
|
| - // Callers need to ensure that the texture width/height is
|
| - // initialized by checking IsUiTextureReady() first.
|
| - Rectf MakeUiGlCopyRect(Recti pixel_rect);
|
| void DrawVrShell(const gvr::Mat4f& head_pose);
|
| void DrawEye(gvr::Eye eye,
|
| const gvr::Mat4f& head_pose,
|
| @@ -127,10 +122,6 @@ class VrShell : public device::GvrDelegate {
|
| const gvr::Mat4f& fov_matrix);
|
| void DrawCursor(const gvr::Mat4f& render_matrix);
|
| void DrawWebVr();
|
| - void DrawWebVrOverlay(int64_t present_time_nanos);
|
| - void DrawWebVrEye(const gvr::Mat4f& view_matrix,
|
| - const gvr::BufferViewport& params,
|
| - int64_t present_time_nanos);
|
|
|
| void UpdateController(const gvr::Vec3f& forward_vector);
|
|
|
| @@ -176,8 +167,7 @@ class VrShell : public device::GvrDelegate {
|
| int ui_tex_height_ = 0;
|
|
|
| bool webvr_mode_ = false;
|
| - bool webvr_secure_origin_ = false;
|
| - int64_t webvr_warning_end_nanos_ = 0;
|
| +
|
| // The pose ring buffer size must be a power of two to avoid glitches when
|
| // the pose index wraps around. It should be large enough to handle the
|
| // current backlog of poses which is 2-3 frames.
|
|
|