chromium/third_party/skia/src/gpu/ganesh/GrContext_Base.cpp

/*
 * Copyright 2019 Google Inc.
 *
 * Use of this source code is governed by a BSD-style license that can be
 * found in the LICENSE file.
 */

#include "include/private/gpu/ganesh/GrContext_Base.h"

#include "include/gpu/ganesh/GrBackendSurface.h"
#include "include/gpu/ganesh/GrContextOptions.h"
#include "include/gpu/ganesh/GrContextThreadSafeProxy.h"
#include "include/gpu/ShaderErrorHandler.h"
#include "include/private/base/SkAssert.h"
#include "src/gpu/ganesh/GrBaseContextPriv.h"
#include "src/gpu/ganesh/GrContextThreadSafeProxyPriv.h"

#include <utility>

enum SkColorType : int;

GrContext_Base::GrContext_Base(sk_sp<GrContextThreadSafeProxy> proxy)
        :{}

GrContext_Base::~GrContext_Base() {}

bool GrContext_Base::init() {}

uint32_t GrContext_Base::contextID() const {}
GrBackendApi GrContext_Base::backend() const {}

const GrContextOptions& GrContext_Base::options() const {}

const GrCaps* GrContext_Base::caps() const {}
sk_sp<const GrCaps> GrContext_Base::refCaps() const {}

GrBackendFormat GrContext_Base::defaultBackendFormat(SkColorType skColorType,
                                                     GrRenderable renderable) const {}

GrBackendFormat GrContext_Base::compressedBackendFormat(SkTextureCompressionType c) const {}

int GrContext_Base::maxSurfaceSampleCountForColorType(SkColorType colorType) const {}

sk_sp<GrContextThreadSafeProxy> GrContext_Base::threadSafeProxy() {}

///////////////////////////////////////////////////////////////////////////////////////////////////
sk_sp<const GrCaps> GrBaseContextPriv::refCaps() const {}

GrContextOptions::ShaderErrorHandler* GrBaseContextPriv::getShaderErrorHandler() const {}