Home
last modified time | relevance | path

Searched refs:DawnBackendTextureData (Results 1 – 1 of 1) sorted by relevance

/external/skia/src/gpu/graphite/dawn/
DDawnBackendTexture.cpp18 class DawnBackendTextureData final : public BackendTextureData { class
20 DawnBackendTextureData(WGPUTexture tex, WGPUTextureView tv) : fTexture(tex), fTextureView(tv) {} in DawnBackendTextureData() function in skgpu::graphite::DawnBackendTextureData
36 dstData.emplace<DawnBackendTextureData>(fTexture, fTextureView); in copyTo()
41 if (auto otherDawn = static_cast<const DawnBackendTextureData*>(that)) { in equal()
48 static const DawnBackendTextureData* get_and_cast_data(const BackendTexture& tex) { in get_and_cast_data()
51 return static_cast<const DawnBackendTextureData*>(data); in get_and_cast_data()
70 DawnBackendTextureData(texture, nullptr)); in MakeDawn()
84 DawnBackendTextureData(texture, nullptr)); in MakeDawn()
92 DawnBackendTextureData(nullptr, textureView)); in MakeDawn()
99 const DawnBackendTextureData* dawnData = get_and_cast_data(tex); in GetDawnTexturePtr()
[all …]