Lines Matching refs:VkFormat
93 static FormatCompatibilityClass format_compatibility_class(VkFormat format) { in format_compatibility_class()
136 bool GrVkCaps::canCopyImage(VkFormat dstFormat, int dstSampleCnt, bool dstHasYcbcr, in canCopyImage()
137 VkFormat srcFormat, int srcSampleCnt, bool srcHasYcbcr) const { in canCopyImage()
151 bool GrVkCaps::canCopyAsBlit(VkFormat dstFormat, int dstSampleCnt, bool dstIsLinear, in canCopyAsBlit()
152 bool dstHasYcbcr, VkFormat srcFormat, int srcSampleCnt, in canCopyAsBlit()
174 bool GrVkCaps::canCopyAsResolve(VkFormat dstFormat, int dstSampleCnt, bool dstHasYcbcr, in canCopyAsResolve()
175 VkFormat srcFormat, int srcSampleCnt, bool srcHasYcbcr) const { in canCopyAsResolve()
258 VkFormat dstFormat, srcFormat; in onCanCopySurface()
731 VkFormat format) { in stencil_format_supported()
749 static bool format_is_srgb(VkFormat format) { in format_is_srgb()
762 static constexpr VkFormat kVkFormats[] = {
787 void GrVkCaps::setColorType(GrColorType colorType, std::initializer_list<VkFormat> formats) { in setColorType()
818 const GrVkCaps::FormatInfo& GrVkCaps::getFormatInfo(VkFormat format) const { in getFormatInfo()
823 GrVkCaps::FormatInfo& GrVkCaps::getFormatInfo(VkFormat format) { in getFormatInfo()
845 constexpr VkFormat format = VK_FORMAT_R8G8B8A8_UNORM; in initFormatTable()
874 constexpr VkFormat format = VK_FORMAT_R8_UNORM; in initFormatTable()
904 constexpr VkFormat format = VK_FORMAT_B8G8R8A8_UNORM; in initFormatTable()
923 constexpr VkFormat format = VK_FORMAT_R5G6B5_UNORM_PACK16; in initFormatTable()
942 constexpr VkFormat format = VK_FORMAT_R16G16B16A16_SFLOAT; in initFormatTable()
969 constexpr VkFormat format = VK_FORMAT_R16_SFLOAT; in initFormatTable()
990 constexpr VkFormat format = VK_FORMAT_R8G8B8_UNORM; in initFormatTable()
1010 constexpr VkFormat format = VK_FORMAT_R8G8_UNORM; in initFormatTable()
1029 constexpr VkFormat format = VK_FORMAT_A2B10G10R10_UNORM_PACK32; in initFormatTable()
1048 constexpr VkFormat format = VK_FORMAT_A2R10G10B10_UNORM_PACK32; in initFormatTable()
1067 constexpr VkFormat format = VK_FORMAT_B4G4R4A4_UNORM_PACK16; in initFormatTable()
1089 constexpr VkFormat format = VK_FORMAT_R4G4B4A4_UNORM_PACK16; in initFormatTable()
1108 constexpr VkFormat format = VK_FORMAT_R8G8B8A8_SRGB; in initFormatTable()
1127 constexpr VkFormat format = VK_FORMAT_R16_UNORM; in initFormatTable()
1148 constexpr VkFormat format = VK_FORMAT_R16G16_UNORM; in initFormatTable()
1167 constexpr VkFormat format = VK_FORMAT_R16G16B16A16_UNORM; in initFormatTable()
1186 constexpr VkFormat format = VK_FORMAT_R16G16_SFLOAT; in initFormatTable()
1205 constexpr VkFormat format = VK_FORMAT_G8_B8_R8_3PLANE_420_UNORM; in initFormatTable()
1226 constexpr VkFormat format = VK_FORMAT_G8_B8R8_2PLANE_420_UNORM; in initFormatTable()
1247 constexpr VkFormat format = VK_FORMAT_ETC2_R8G8B8_UNORM_BLOCK; in initFormatTable()
1256 constexpr VkFormat format = VK_FORMAT_BC1_RGB_UNORM_BLOCK; in initFormatTable()
1265 constexpr VkFormat format = VK_FORMAT_BC1_RGBA_UNORM_BLOCK; in initFormatTable()
1325 VkFormat format) { in initSampleCounts()
1369 VkFormat format) { in init()
1390 VkFormat vkFormat; in backend_format_is_external()
1400 VkFormat vkFormat; in isFormatSRGB()
1412 VkFormat vkFormat; in isFormatTexturable()
1424 bool GrVkCaps::isVkFormatTexturable(VkFormat format) const { in isVkFormatTexturable()
1434 VkFormat vkFormat; in isFormatAsColorTypeRenderable()
1446 VkFormat vkFormat; in isFormatRenderable()
1453 bool GrVkCaps::isFormatRenderable(VkFormat format, int sampleCount) const { in isFormatRenderable()
1459 VkFormat vkFormat; in getRenderTargetSampleCount()
1467 int GrVkCaps::getRenderTargetSampleCount(int requestedCount, VkFormat format) const { in getRenderTargetSampleCount()
1492 VkFormat vkFormat; in maxRenderTargetSampleCount()
1499 int GrVkCaps::maxRenderTargetSampleCount(VkFormat format) const { in maxRenderTargetSampleCount()
1523 VkFormat vkFormat; in supportedWritePixelsColorType()
1575 GrColorType GrVkCaps::transferColorType(VkFormat vkFormat, GrColorType surfaceColorType) const { in transferColorType()
1605 VkFormat vkFormat; in onAreColorTypeAndFormatCompatible()
1630 VkFormat format = this->getFormatFromColorType(ct); in onGetDefaultBackendFormat()
1686 VkFormat vkFormat; in onGetReadSwizzle()
1709 VkFormat vkFormat; in getWriteSwizzle()
1735 VkFormat vkFormat; in computeFormatKey()
1752 VkFormat vkFormat; in onSupportedReadPixelsColorType()