Lines Matching refs:VkFormat
92 static FormatCompatibilityClass format_compatibility_class(VkFormat format) { in format_compatibility_class()
135 bool GrVkCaps::canCopyImage(VkFormat dstFormat, int dstSampleCnt, bool dstHasYcbcr, in canCopyImage()
136 VkFormat srcFormat, int srcSampleCnt, bool srcHasYcbcr) const { in canCopyImage()
150 bool GrVkCaps::canCopyAsBlit(VkFormat dstFormat, int dstSampleCnt, bool dstIsLinear, in canCopyAsBlit()
151 bool dstHasYcbcr, VkFormat srcFormat, int srcSampleCnt, in canCopyAsBlit()
173 bool GrVkCaps::canCopyAsResolve(VkFormat dstFormat, int dstSampleCnt, bool dstHasYcbcr, in canCopyAsResolve()
174 VkFormat srcFormat, int srcSampleCnt, bool srcHasYcbcr) const { in canCopyAsResolve()
257 VkFormat dstFormat, srcFormat; in onCanCopySurface()
733 VkFormat format) { in stencil_format_supported()
751 static bool format_is_srgb(VkFormat format) { in format_is_srgb()
764 static constexpr VkFormat kVkFormats[] = {
789 void GrVkCaps::setColorType(GrColorType colorType, std::initializer_list<VkFormat> formats) { in setColorType()
820 const GrVkCaps::FormatInfo& GrVkCaps::getFormatInfo(VkFormat format) const { in getFormatInfo()
825 GrVkCaps::FormatInfo& GrVkCaps::getFormatInfo(VkFormat format) { in getFormatInfo()
847 constexpr VkFormat format = VK_FORMAT_R8G8B8A8_UNORM; in initFormatTable()
876 constexpr VkFormat format = VK_FORMAT_R8_UNORM; in initFormatTable()
906 constexpr VkFormat format = VK_FORMAT_B8G8R8A8_UNORM; in initFormatTable()
925 constexpr VkFormat format = VK_FORMAT_R5G6B5_UNORM_PACK16; in initFormatTable()
944 constexpr VkFormat format = VK_FORMAT_R16G16B16A16_SFLOAT; in initFormatTable()
971 constexpr VkFormat format = VK_FORMAT_R16_SFLOAT; in initFormatTable()
992 constexpr VkFormat format = VK_FORMAT_R8G8B8_UNORM; in initFormatTable()
1012 constexpr VkFormat format = VK_FORMAT_R8G8_UNORM; in initFormatTable()
1031 constexpr VkFormat format = VK_FORMAT_A2B10G10R10_UNORM_PACK32; in initFormatTable()
1050 constexpr VkFormat format = VK_FORMAT_A2R10G10B10_UNORM_PACK32; in initFormatTable()
1069 constexpr VkFormat format = VK_FORMAT_B4G4R4A4_UNORM_PACK16; in initFormatTable()
1091 constexpr VkFormat format = VK_FORMAT_R4G4B4A4_UNORM_PACK16; in initFormatTable()
1110 constexpr VkFormat format = VK_FORMAT_R8G8B8A8_SRGB; in initFormatTable()
1129 constexpr VkFormat format = VK_FORMAT_R16_UNORM; in initFormatTable()
1150 constexpr VkFormat format = VK_FORMAT_R16G16_UNORM; in initFormatTable()
1169 constexpr VkFormat format = VK_FORMAT_R16G16B16A16_UNORM; in initFormatTable()
1188 constexpr VkFormat format = VK_FORMAT_R16G16_SFLOAT; in initFormatTable()
1207 constexpr VkFormat format = VK_FORMAT_G8_B8_R8_3PLANE_420_UNORM; in initFormatTable()
1228 constexpr VkFormat format = VK_FORMAT_G8_B8R8_2PLANE_420_UNORM; in initFormatTable()
1249 constexpr VkFormat format = VK_FORMAT_ETC2_R8G8B8_UNORM_BLOCK; in initFormatTable()
1258 constexpr VkFormat format = VK_FORMAT_BC1_RGB_UNORM_BLOCK; in initFormatTable()
1267 constexpr VkFormat format = VK_FORMAT_BC1_RGBA_UNORM_BLOCK; in initFormatTable()
1327 VkFormat format) { in initSampleCounts()
1371 VkFormat format) { in init()
1392 VkFormat vkFormat; in backend_format_is_external()
1402 VkFormat vkFormat; in isFormatSRGB()
1414 VkFormat vkFormat; in isFormatTexturable()
1426 bool GrVkCaps::isVkFormatTexturable(VkFormat format) const { in isVkFormatTexturable()
1436 VkFormat vkFormat; in isFormatAsColorTypeRenderable()
1448 VkFormat vkFormat; in isFormatRenderable()
1455 bool GrVkCaps::isFormatRenderable(VkFormat format, int sampleCount) const { in isFormatRenderable()
1461 VkFormat vkFormat; in getRenderTargetSampleCount()
1469 int GrVkCaps::getRenderTargetSampleCount(int requestedCount, VkFormat format) const { in getRenderTargetSampleCount()
1494 VkFormat vkFormat; in maxRenderTargetSampleCount()
1501 int GrVkCaps::maxRenderTargetSampleCount(VkFormat format) const { in maxRenderTargetSampleCount()
1525 VkFormat vkFormat; in supportedWritePixelsColorType()
1574 GrColorType GrVkCaps::transferColorType(VkFormat vkFormat, GrColorType surfaceColorType) const { in transferColorType()
1600 VkFormat vkFormat; in onAreColorTypeAndFormatCompatible()
1625 VkFormat format = this->getFormatFromColorType(ct); in onGetDefaultBackendFormat()
1658 VkFormat vkFormat; in onGetReadSwizzle()
1680 VkFormat vkFormat; in getWriteSwizzle()
1705 VkFormat vkFormat; in computeFormatKey()
1722 VkFormat vkFormat; in onSupportedReadPixelsColorType()