chromium/device/vr/vr_gl_util.cc

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

#include "device/vr/vr_gl_util.h"

#include "ui/gfx/geometry/transform.h"

namespace vr {

// This code is adapted from the GVR Treasure Hunt demo source.
std::array<float, 16> MatrixToGLArray(const gfx::Transform& transform) {}

GLuint CompileShader(GLenum shader_type,
                     const std::string& shader_source,
                     std::string& error) {}

GLuint CreateAndLinkProgram(GLuint vertext_shader_handle,
                            GLuint fragment_shader_handle,
                            std::string& error) {}

void SetTexParameters(GLenum texture_type) {}

void SetColorUniform(GLuint handle, SkColor c) {}

void SetOpaqueColorUniform(GLuint handle, SkColor c) {}

}  // namespace vr