Lines Matching refs:GrBackendFormat
36 bool GrDawnCaps::isFormatSRGB(const GrBackendFormat& format) const { in isFormatSRGB()
40 bool GrDawnCaps::isFormatTexturable(const GrBackendFormat& format) const { in isFormatTexturable()
46 static GrSwizzle get_swizzle(const GrBackendFormat& format, GrColorType colorType, in get_swizzle()
72 bool GrDawnCaps::isFormatRenderable(const GrBackendFormat& format, in isFormatRenderable()
82 bool GrDawnCaps::isFormatAsColorTypeRenderable(GrColorType ct, const GrBackendFormat& format, in isFormatAsColorTypeRenderable()
100 const GrBackendFormat& backendFormat) const { in getRenderTargetSampleCount()
108 int GrDawnCaps::maxRenderTargetSampleCount(const GrBackendFormat& format) const { in maxRenderTargetSampleCount()
112 GrBackendFormat GrDawnCaps::onGetDefaultBackendFormat(GrColorType ct) const { in onGetDefaultBackendFormat()
117 return GrBackendFormat::MakeDawn(format); in onGetDefaultBackendFormat()
120 GrBackendFormat GrDawnCaps::getBackendFormatFromCompressionType(SkImage::CompressionType type) const in getBackendFormatFromCompressionType()
122 return GrBackendFormat(); in getBackendFormatFromCompressionType()
125 GrSwizzle GrDawnCaps::onGetReadSwizzle(const GrBackendFormat& format, GrColorType colorType) const in onGetReadSwizzle()
130 GrSwizzle GrDawnCaps::getWriteSwizzle(const GrBackendFormat& format, GrColorType colorType) const { in getWriteSwizzle()
134 uint64_t GrDawnCaps::computeFormatKey(const GrBackendFormat& format) const { in computeFormatKey()
146 const GrBackendFormat& format) const { in onAreColorTypeAndFormatCompatible()
200 { GrColorType::kAlpha_8, GrBackendFormat::MakeDawn(wgpu::TextureFormat::R8Unorm) }, in getTestingCombinations()
201 { GrColorType::kRGBA_8888, GrBackendFormat::MakeDawn(wgpu::TextureFormat::RGBA8Unorm) }, in getTestingCombinations()
202 { GrColorType::kRGBA_8888, GrBackendFormat::MakeDawn(wgpu::TextureFormat::BGRA8Unorm) }, in getTestingCombinations()
203 { GrColorType::kRGB_888x, GrBackendFormat::MakeDawn(wgpu::TextureFormat::RGBA8Unorm) }, in getTestingCombinations()
204 { GrColorType::kRGB_888x, GrBackendFormat::MakeDawn(wgpu::TextureFormat::BGRA8Unorm) }, in getTestingCombinations()
205 { GrColorType::kBGRA_8888, GrBackendFormat::MakeDawn(wgpu::TextureFormat::BGRA8Unorm) }, in getTestingCombinations()
206 { GrColorType::kBGRA_8888, GrBackendFormat::MakeDawn(wgpu::TextureFormat::RGBA8Unorm) }, in getTestingCombinations()