#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) { … }
}