chromium/third_party/skia/src/gpu/graphite/dawn/DawnTextureInfo.cpp

/*
 * Copyright 2024 Google LLC
 *
 * Use of this source code is governed by a BSD-style license that can be
 * found in the LICENSE file.
 */
#include "include/core/SkString.h"
#include "include/gpu/graphite/dawn/DawnTypes.h"
#include "src/gpu/graphite/TextureInfoPriv.h"
#include "src/gpu/graphite/dawn/DawnGraphiteTypesPriv.h"
#include "src/gpu/graphite/dawn/DawnUtilsPriv.h"

#include <cstdint>

namespace skgpu::graphite {

class DawnTextureInfoData final : public TextureInfoData {};

static const DawnTextureInfoData* get_and_cast_data(const TextureInfo& info) {}

namespace TextureInfos {
TextureInfo MakeDawn(const DawnTextureInfo& dawnInfo) {}

bool GetDawnTextureInfo(const TextureInfo& info, DawnTextureInfo* out) {}

// This cannot return a const reference or we get a warning about returning
// a reference to a temporary local variable.
DawnTextureSpec GetDawnTextureSpec(const TextureInfo& info) {}

wgpu::TextureFormat GetDawnViewFormat(const TextureInfo& info) {}

wgpu::TextureAspect GetDawnAspect(const TextureInfo& info) {}

}  // namespace TextureInfos

}  // namespace skgpu::graphite