chromium/third_party/skia/src/gpu/graphite/Caps.cpp

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

#include "src/gpu/graphite/Caps.h"

#include "include/core/SkCapabilities.h"
#include "include/core/SkPaint.h"
#include "include/core/SkTextureCompressionType.h"
#include "include/gpu/ShaderErrorHandler.h"
#include "include/gpu/graphite/ContextOptions.h"
#include "include/gpu/graphite/TextureInfo.h"
#include "src/core/SkBlenderBase.h"
#include "src/gpu/graphite/GraphiteResourceKey.h"
#include "src/gpu/graphite/ResourceTypes.h"
#include "src/sksl/SkSLUtil.h"

namespace skgpu::graphite {

Caps::Caps()
        :{}

Caps::~Caps() {}

void Caps::finishInitialization(const ContextOptions& options) {}

sk_sp<SkCapabilities> Caps::capabilities() const {}

SkISize Caps::getDepthAttachmentDimensions(const TextureInfo& textureInfo,
                                           const SkISize colorAttachmentDimensions) const {}

bool Caps::isTexturable(const TextureInfo& info) const {}

GraphiteResourceKey Caps::makeSamplerKey(const SamplerDesc& samplerDesc) const {}

bool Caps::areColorTypeAndTextureInfoCompatible(SkColorType ct, const TextureInfo& info) const {}

static inline SkColorType color_type_fallback(SkColorType ct) {}

SkColorType Caps::getRenderableColorType(SkColorType ct) const {}

skgpu::Swizzle Caps::getReadSwizzle(SkColorType ct, const TextureInfo& info) const {}

skgpu::Swizzle Caps::getWriteSwizzle(SkColorType ct, const TextureInfo& info) const {}

DstReadRequirement Caps::getDstReadRequirement() const {}

sktext::gpu::SubRunControl Caps::getSubRunControl(bool useSDFTForSmallText) const {}

} // namespace skgpu::graphite