chromium/chrome/browser/vr/native_gl_surface_provider.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/native_gl_surface_provider.h"

#include "third_party/skia/include/gpu/GrDirectContext.h"
#include "third_party/skia/include/gpu/ganesh/gl/GrGLDirectContext.h"
#include "ui/gfx/geometry/size.h"
#include "ui/gl/gl_implementation.h"
#include "ui/gl/gl_version_info.h"
#include "ui/gl/init/create_gr_gl_interface.h"

namespace vr {

NativeGlSurfaceProvider::NativeGlSurfaceProvider() {}

NativeGlSurfaceProvider::~NativeGlSurfaceProvider() = default;

std::unique_ptr<SkiaSurfaceProvider::Texture>
NativeGlSurfaceProvider::CreateTextureWithSkia(
    const gfx::Size& size,
    base::FunctionRef<void(SkCanvas*)> paint) {}

}  // namespace vr