chromium/chrome/browser/vr/renderers/base_quad_renderer.cc

// Copyright 2017 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "chrome/browser/vr/renderers/base_quad_renderer.h"

#include "device/vr/vr_gl_util.h"
#include "ui/gfx/geometry/transform.h"

namespace vr {

namespace {

static constexpr float kQuadVertices[8] =;
static constexpr GLushort kQuadIndices[6] =;
static constexpr int kQuadPositionDataSize =;

}  // namespace

BaseQuadRenderer::BaseQuadRenderer(const char* vertex_src,
                                   const char* fragment_src)
    :{}

BaseQuadRenderer::~BaseQuadRenderer() = default;

void BaseQuadRenderer::PrepareToDraw(GLuint view_proj_matrix_handle,
                                     const gfx::Transform& view_proj_matrix) {}

GLuint BaseQuadRenderer::vertex_buffer_ =;
GLuint BaseQuadRenderer::index_buffer_ =;

void BaseQuadRenderer::CreateBuffers() {}

int BaseQuadRenderer::NumQuadIndices() {}

}  // namespace vr