chromium/content/renderer/webgraphicscontext3d_provider_impl.cc

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

#include "content/renderer/webgraphicscontext3d_provider_impl.h"

#include "base/command_line.h"
#include "base/strings/string_number_conversions.h"
#include "build/build_config.h"
#include "cc/paint/paint_image.h"
#include "cc/tiles/gpu_image_decode_cache.h"
#include "content/public/common/content_switches.h"
#include "gpu/command_buffer/client/context_support.h"
#include "gpu/command_buffer/client/gl_helper.h"
#include "gpu/config/gpu_feature_info.h"
#include "media/renderers/paint_canvas_video_renderer.h"
#include "services/viz/public/cpp/gpu/context_provider_command_buffer.h"
#include "third_party/skia/include/gpu/GrDirectContext.h"

namespace content {

WebGraphicsContext3DProviderImpl::WebGraphicsContext3DProviderImpl(
    scoped_refptr<viz::ContextProviderCommandBuffer> provider)
    :{}

WebGraphicsContext3DProviderImpl::~WebGraphicsContext3DProviderImpl() {}

bool WebGraphicsContext3DProviderImpl::BindToCurrentSequence() {}

gpu::InterfaceBase* WebGraphicsContext3DProviderImpl::InterfaceBase() {}

gpu::gles2::GLES2Interface* WebGraphicsContext3DProviderImpl::ContextGL() {}

gpu::raster::RasterInterface*
WebGraphicsContext3DProviderImpl::RasterInterface() {}

gpu::webgpu::WebGPUInterface*
WebGraphicsContext3DProviderImpl::WebGPUInterface() {}

gpu::ContextSupport* WebGraphicsContext3DProviderImpl::ContextSupport() {}

bool WebGraphicsContext3DProviderImpl::IsContextLost() {}

GrDirectContext* WebGraphicsContext3DProviderImpl::GetGrContext() {}

const gpu::Capabilities& WebGraphicsContext3DProviderImpl::GetCapabilities()
    const {}

const gpu::GpuFeatureInfo& WebGraphicsContext3DProviderImpl::GetGpuFeatureInfo()
    const {}

const blink::WebglPreferences&
WebGraphicsContext3DProviderImpl::GetWebglPreferences() const {}

gpu::GLHelper* WebGraphicsContext3DProviderImpl::GetGLHelper() {}

void WebGraphicsContext3DProviderImpl::SetLostContextCallback(
    base::RepeatingClosure c) {}

void WebGraphicsContext3DProviderImpl::SetErrorMessageCallback(
    base::RepeatingCallback<void(const char*, int32_t)> c) {}

void WebGraphicsContext3DProviderImpl::OnContextLost() {}

cc::ImageDecodeCache* WebGraphicsContext3DProviderImpl::ImageDecodeCache(
    SkColorType color_type) {}

gpu::SharedImageInterface*
WebGraphicsContext3DProviderImpl::SharedImageInterface() {}

void WebGraphicsContext3DProviderImpl::CopyVideoFrame(
    media::PaintCanvasVideoRenderer* video_renderer,
    media::VideoFrame* video_frame,
    cc::PaintCanvas* canvas) {}

viz::RasterContextProvider*
WebGraphicsContext3DProviderImpl::RasterContextProvider() const {}

unsigned int WebGraphicsContext3DProviderImpl::GetGrGLTextureFormat(
    viz::SharedImageFormat format) const {}

}  // namespace content