#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) { … }
DawnTextureSpec GetDawnTextureSpec(const TextureInfo& info) { … }
wgpu::TextureFormat GetDawnViewFormat(const TextureInfo& info) { … }
wgpu::TextureAspect GetDawnAspect(const TextureInfo& info) { … }
}
}