Lines Matching refs:GrBackendFormat
1385 static bool backend_format_is_external(const GrBackendFormat& format) { in backend_format_is_external()
1401 bool GrVkCaps::isFormatSRGB(const GrBackendFormat& format) const { in isFormatSRGB()
1413 bool GrVkCaps::isFormatTexturable(const GrBackendFormat& format) const { in isFormatTexturable()
1431 bool GrVkCaps::isFormatAsColorTypeRenderable(GrColorType ct, const GrBackendFormat& format, in isFormatAsColorTypeRenderable()
1447 bool GrVkCaps::isFormatRenderable(const GrBackendFormat& format, int sampleCount) const { in isFormatRenderable()
1460 const GrBackendFormat& format) const { in getRenderTargetSampleCount()
1493 int GrVkCaps::maxRenderTargetSampleCount(const GrBackendFormat& format) const { in maxRenderTargetSampleCount()
1523 const GrBackendFormat& surfaceFormat, in supportedWritePixelsColorType()
1599 const GrBackendFormat& format) const { in onAreColorTypeAndFormatCompatible()
1624 GrBackendFormat GrVkCaps::onGetDefaultBackendFormat(GrColorType ct) const { in onGetDefaultBackendFormat()
1629 return GrBackendFormat::MakeVk(format); in onGetDefaultBackendFormat()
1632 GrBackendFormat GrVkCaps::getBackendFormatFromCompressionType( in getBackendFormatFromCompressionType()
1639 return GrBackendFormat::MakeVk(VK_FORMAT_ETC2_R8G8B8_UNORM_BLOCK); in getBackendFormatFromCompressionType()
1644 return GrBackendFormat::MakeVk(VK_FORMAT_BC1_RGB_UNORM_BLOCK); in getBackendFormatFromCompressionType()
1649 return GrBackendFormat::MakeVk(VK_FORMAT_BC1_RGBA_UNORM_BLOCK); in getBackendFormatFromCompressionType()
1657 GrSwizzle GrVkCaps::onGetReadSwizzle(const GrBackendFormat& format, GrColorType colorType) const { in onGetReadSwizzle()
1679 GrSwizzle GrVkCaps::getWriteSwizzle(const GrBackendFormat& format, GrColorType colorType) const { in getWriteSwizzle()
1704 uint64_t GrVkCaps::computeFormatKey(const GrBackendFormat& format) const { in computeFormatKey()
1720 GrColorType srcColorType, const GrBackendFormat& srcBackendFormat, in onSupportedReadPixelsColorType()
1760 const GrBackendFormat& format) const { in addExtraSamplerKey()
1894 { GrColorType::kAlpha_8, GrBackendFormat::MakeVk(VK_FORMAT_R8_UNORM) }, in getTestingCombinations()
1895 { GrColorType::kBGR_565, GrBackendFormat::MakeVk(VK_FORMAT_R5G6B5_UNORM_PACK16) }, in getTestingCombinations()
1896 { GrColorType::kABGR_4444, GrBackendFormat::MakeVk(VK_FORMAT_R4G4B4A4_UNORM_PACK16)}, in getTestingCombinations()
1897 { GrColorType::kABGR_4444, GrBackendFormat::MakeVk(VK_FORMAT_B4G4R4A4_UNORM_PACK16)}, in getTestingCombinations()
1898 { GrColorType::kRGBA_8888, GrBackendFormat::MakeVk(VK_FORMAT_R8G8B8A8_UNORM) }, in getTestingCombinations()
1899 { GrColorType::kRGBA_8888_SRGB, GrBackendFormat::MakeVk(VK_FORMAT_R8G8B8A8_SRGB) }, in getTestingCombinations()
1900 { GrColorType::kRGB_888x, GrBackendFormat::MakeVk(VK_FORMAT_R8G8B8A8_UNORM) }, in getTestingCombinations()
1901 { GrColorType::kRGB_888x, GrBackendFormat::MakeVk(VK_FORMAT_R8G8B8_UNORM) }, in getTestingCombinations()
1902 { GrColorType::kRG_88, GrBackendFormat::MakeVk(VK_FORMAT_R8G8_UNORM) }, in getTestingCombinations()
1903 { GrColorType::kBGRA_8888, GrBackendFormat::MakeVk(VK_FORMAT_B8G8R8A8_UNORM) }, in getTestingCombinations()
1904 { GrColorType::kRGBA_1010102, GrBackendFormat::MakeVk(VK_FORMAT_A2B10G10R10_UNORM_PACK32)}, in getTestingCombinations()
1905 { GrColorType::kBGRA_1010102, GrBackendFormat::MakeVk(VK_FORMAT_A2R10G10B10_UNORM_PACK32)}, in getTestingCombinations()
1906 { GrColorType::kGray_8, GrBackendFormat::MakeVk(VK_FORMAT_R8_UNORM) }, in getTestingCombinations()
1907 { GrColorType::kAlpha_F16, GrBackendFormat::MakeVk(VK_FORMAT_R16_SFLOAT) }, in getTestingCombinations()
1908 { GrColorType::kRGBA_F16, GrBackendFormat::MakeVk(VK_FORMAT_R16G16B16A16_SFLOAT) }, in getTestingCombinations()
1909 { GrColorType::kRGBA_F16_Clamped, GrBackendFormat::MakeVk(VK_FORMAT_R16G16B16A16_SFLOAT) }, in getTestingCombinations()
1910 { GrColorType::kAlpha_16, GrBackendFormat::MakeVk(VK_FORMAT_R16_UNORM) }, in getTestingCombinations()
1911 { GrColorType::kRG_1616, GrBackendFormat::MakeVk(VK_FORMAT_R16G16_UNORM) }, in getTestingCombinations()
1912 { GrColorType::kRGBA_16161616, GrBackendFormat::MakeVk(VK_FORMAT_R16G16B16A16_UNORM) }, in getTestingCombinations()
1913 { GrColorType::kRG_F16, GrBackendFormat::MakeVk(VK_FORMAT_R16G16_SFLOAT) }, in getTestingCombinations()
1915 { GrColorType::kRGB_888x, GrBackendFormat::MakeVk(VK_FORMAT_ETC2_R8G8B8_UNORM_BLOCK)}, in getTestingCombinations()
1916 { GrColorType::kRGB_888x, GrBackendFormat::MakeVk(VK_FORMAT_BC1_RGB_UNORM_BLOCK) }, in getTestingCombinations()
1917 { GrColorType::kRGBA_8888, GrBackendFormat::MakeVk(VK_FORMAT_BC1_RGBA_UNORM_BLOCK) }, in getTestingCombinations()