/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/angle/src/tests/gl_tests/ |
H A D | VulkanFormatTablesTest.cpp | 57 const rx::vk::Format &vkFormat = renderer->getFormat(internalFormat); in TEST_P() local 62 if (!vkFormat.valid()) in TEST_P() 76 vkFormat.vkImageFormat, &formatProperties); in TEST_P() 83 renderer->getPhysicalDevice(), vkFormat.vkImageFormat, params.imageType, in TEST_P() 86 EXPECT_EQ(isTexturable, textureCaps.texturable) << vkFormat.vkImageFormat; in TEST_P() 94 EXPECT_EQ(isFilterable, textureCaps.filterable) << vkFormat.vkImageFormat; in TEST_P() 99 renderer->getPhysicalDevice(), vkFormat.vkImageFormat, params.imageType, in TEST_P() 104 renderer->getPhysicalDevice(), vkFormat.vkImageFormat, params.imageType, in TEST_P() 109 EXPECT_EQ(isRenderable, textureCaps.textureAttachment) << vkFormat.vkImageFormat; in TEST_P() 110 EXPECT_EQ(isRenderable, textureCaps.renderbuffer) << vkFormat.vkImageFormat; in TEST_P()
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/angle/src/libANGLE/renderer/vulkan/ |
H A D | vk_format_utils.cpp | 65 bool HasFullBufferFormatSupport(RendererVk *renderer, VkFormat vkFormat) in HasFullBufferFormatSupport() argument 70 using SupportTest = bool (*)(RendererVk *renderer, VkFormat vkFormat); 85 if (hasSupport(renderer, info[i].vkFormat)) in FindSupportedFormat() 89 if (skip > 0 && !hasSupport(renderer, info[last].vkFormat)) in FindSupportedFormat() 96 ASSERT(hasSupport(renderer, info[last].vkFormat)); in FindSupportedFormat() 149 vkImageFormat = info[i].vkFormat; in initImageFallback() 164 vkBufferFormat = info[i].vkFormat; in initBufferFallback() 176 vkCompressedBufferFormat = info[i].vkFormat; in initBufferFallback() 320 switch (vkFormat) in HasFullTextureFormatSupport() 334 renderer->hasImageFormatFeatureBits(vkFormat, kBitsDepth); in HasFullTextureFormatSupport() [all …]
|
H A D | vk_format_utils.h | 40 VkFormat vkFormat; member 47 VkFormat vkFormat; member 169 const VkFormatProperties &GetMandatoryFormatSupport(VkFormat vkFormat); 176 bool HasFullTextureFormatSupport(RendererVk *renderer, VkFormat vkFormat); 178 bool HasNonFilterableTextureFormatSupport(RendererVk *renderer, VkFormat vkFormat); 180 bool HasNonRenderableTextureFormatSupport(RendererVk *renderer, VkFormat vkFormat);
|
H A D | RenderbufferVk.cpp | 50 const vk::Format &vkFormat = renderer->getFormat(internalformat); in setStorageImpl() local 85 VkFormat vkImageFormat = vkFormat.vkImageFormat; in setStorageImpl() 86 VkFormat vkImageListFormat = vkFormat.actualImageFormat().isSRGB in setStorageImpl() 104 const angle::Format &textureFormat = vkFormat.actualImageFormat(); in setStorageImpl() 127 ANGLE_TRY(mImage->initExternal(contextVk, gl::TextureType::_2D, extents, vkFormat, imageSamples, in setStorageImpl() 191 const vk::Format &vkFormat = renderer->getFormat(image->getFormat().info->sizedInternalFormat); in setStorageEGLImageTarget() local 192 const angle::Format &textureFormat = vkFormat.actualImageFormat(); in setStorageEGLImageTarget()
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/skia/src/gpu/ |
H A D | GrBackendUtils.cpp | 53 VkFormat vkFormat; in GrBackendFormatToCompressionType() local 54 SkAssertResult(format.asVkFormat(&vkFormat)); in GrBackendFormatToCompressionType() 55 switch (vkFormat) { in GrBackendFormatToCompressionType() 108 VkFormat vkFormat; in GrBackendFormatBytesPerBlock() local 109 SkAssertResult(format.asVkFormat(&vkFormat)); in GrBackendFormatBytesPerBlock() 110 return GrVkFormatBytesPerBlock(vkFormat); in GrBackendFormatBytesPerBlock() 168 VkFormat vkFormat; in GrBackendFormatStencilBits() local 169 SkAssertResult(format.asVkFormat(&vkFormat)); in GrBackendFormatStencilBits() 170 return GrVkFormatStencilBits(vkFormat); in GrBackendFormatStencilBits()
|
/dports/www/firefox-esr/firefox-91.8.0/gfx/skia/skia/src/gpu/vk/ |
H A D | GrVkCaps.cpp | 1232 VkFormat vkFormat; in isFormatSRGB() local 1245 VkFormat vkFormat; in isFormatCompressed() local 1264 VkFormat vkFormat; in isFormatTexturableAndUploadable() local 1275 VkFormat vkFormat; in isFormatTexturable() local 1297 VkFormat vkFormat; in isFormatAsColorTypeRenderable() local 1309 VkFormat vkFormat; in isFormatRenderable() local 1322 VkFormat vkFormat; in getRenderTargetSampleCount() local 1355 VkFormat vkFormat; in maxRenderTargetSampleCount() local 1373 VkFormat vkFormat; in bytesPerPixel() local 1398 VkFormat vkFormat; in supportedWritePixelsColorType() local [all …]
|
H A D | GrVkUtil.h | 68 bool GrVkFormatToCompressionType(VkFormat vkFormat, SkImage::CompressionType* compressionType); 71 static constexpr const char* GrVkFormatToStr(VkFormat vkFormat) { in GrVkFormatToStr() argument 72 switch (vkFormat) { in GrVkFormatToStr()
|
H A D | GrVkUtil.cpp | 180 bool GrVkFormatIsCompressed(VkFormat vkFormat) { in GrVkFormatIsCompressed() argument 181 switch (vkFormat) { in GrVkFormatIsCompressed() 189 bool GrVkFormatToCompressionType(VkFormat vkFormat, SkImage::CompressionType* compressionType) { in GrVkFormatToCompressionType() argument 190 switch (vkFormat) { in GrVkFormatToCompressionType()
|
/dports/lang/spidermonkey78/firefox-78.9.0/gfx/skia/skia/src/gpu/vk/ |
H A D | GrVkCaps.cpp | 1232 VkFormat vkFormat; in isFormatSRGB() local 1245 VkFormat vkFormat; in isFormatCompressed() local 1264 VkFormat vkFormat; in isFormatTexturableAndUploadable() local 1275 VkFormat vkFormat; in isFormatTexturable() local 1297 VkFormat vkFormat; in isFormatAsColorTypeRenderable() local 1309 VkFormat vkFormat; in isFormatRenderable() local 1322 VkFormat vkFormat; in getRenderTargetSampleCount() local 1355 VkFormat vkFormat; in maxRenderTargetSampleCount() local 1373 VkFormat vkFormat; in bytesPerPixel() local 1398 VkFormat vkFormat; in supportedWritePixelsColorType() local [all …]
|
H A D | GrVkUtil.h | 68 bool GrVkFormatToCompressionType(VkFormat vkFormat, SkImage::CompressionType* compressionType); 71 static constexpr const char* GrVkFormatToStr(VkFormat vkFormat) { in GrVkFormatToStr() argument 72 switch (vkFormat) { in GrVkFormatToStr()
|
/dports/www/firefox/firefox-99.0/gfx/skia/skia/src/gpu/vk/ |
H A D | GrVkCaps.cpp | 1232 VkFormat vkFormat; in isFormatSRGB() local 1245 VkFormat vkFormat; in isFormatCompressed() local 1264 VkFormat vkFormat; in isFormatTexturableAndUploadable() local 1275 VkFormat vkFormat; in isFormatTexturable() local 1297 VkFormat vkFormat; in isFormatAsColorTypeRenderable() local 1309 VkFormat vkFormat; in isFormatRenderable() local 1322 VkFormat vkFormat; in getRenderTargetSampleCount() local 1355 VkFormat vkFormat; in maxRenderTargetSampleCount() local 1373 VkFormat vkFormat; in bytesPerPixel() local 1398 VkFormat vkFormat; in supportedWritePixelsColorType() local [all …]
|
H A D | GrVkUtil.h | 68 bool GrVkFormatToCompressionType(VkFormat vkFormat, SkImage::CompressionType* compressionType); 71 static constexpr const char* GrVkFormatToStr(VkFormat vkFormat) { in GrVkFormatToStr() argument 72 switch (vkFormat) { in GrVkFormatToStr()
|
H A D | GrVkUtil.cpp | 180 bool GrVkFormatIsCompressed(VkFormat vkFormat) { in GrVkFormatIsCompressed() argument 181 switch (vkFormat) { in GrVkFormatIsCompressed() 189 bool GrVkFormatToCompressionType(VkFormat vkFormat, SkImage::CompressionType* compressionType) { in GrVkFormatToCompressionType() argument 190 switch (vkFormat) { in GrVkFormatToCompressionType()
|
/dports/mail/thunderbird/thunderbird-91.8.0/gfx/skia/skia/src/gpu/vk/ |
H A D | GrVkCaps.cpp | 1232 VkFormat vkFormat; in isFormatSRGB() local 1245 VkFormat vkFormat; in isFormatCompressed() local 1264 VkFormat vkFormat; in isFormatTexturableAndUploadable() local 1275 VkFormat vkFormat; in isFormatTexturable() local 1297 VkFormat vkFormat; in isFormatAsColorTypeRenderable() local 1309 VkFormat vkFormat; in isFormatRenderable() local 1322 VkFormat vkFormat; in getRenderTargetSampleCount() local 1355 VkFormat vkFormat; in maxRenderTargetSampleCount() local 1373 VkFormat vkFormat; in bytesPerPixel() local 1398 VkFormat vkFormat; in supportedWritePixelsColorType() local [all …]
|
H A D | GrVkUtil.h | 68 bool GrVkFormatToCompressionType(VkFormat vkFormat, SkImage::CompressionType* compressionType); 71 static constexpr const char* GrVkFormatToStr(VkFormat vkFormat) { in GrVkFormatToStr() argument 72 switch (vkFormat) { in GrVkFormatToStr()
|
H A D | GrVkUtil.cpp | 180 bool GrVkFormatIsCompressed(VkFormat vkFormat) { in GrVkFormatIsCompressed() argument 181 switch (vkFormat) { in GrVkFormatIsCompressed() 189 bool GrVkFormatToCompressionType(VkFormat vkFormat, SkImage::CompressionType* compressionType) { in GrVkFormatToCompressionType() argument 190 switch (vkFormat) { in GrVkFormatToCompressionType()
|
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/angle/src/libANGLE/renderer/vulkan/ |
H A D | vk_format_utils.cpp | 65 bool HasFullBufferFormatSupport(RendererVk *renderer, VkFormat vkFormat) in HasFullBufferFormatSupport() argument 70 using SupportTest = bool (*)(RendererVk *renderer, VkFormat vkFormat); 85 if (hasSupport(renderer, info[i].vkFormat)) in FindSupportedFormat() 89 if (skip > 0 && !hasSupport(renderer, info[last].vkFormat)) in FindSupportedFormat() 96 ASSERT(hasSupport(renderer, info[last].vkFormat)); in FindSupportedFormat() 144 vkImageFormat = info[i].vkFormat; in initImageFallback() 155 vkBufferFormat = info[i].vkFormat; in initBufferFallback() 289 return renderer->hasImageFormatFeatureBits(vkFormat, kBitsColor) || in HasFullTextureFormatSupport() 290 renderer->hasImageFormatFeatureBits(vkFormat, kBitsDepth); in HasFullTextureFormatSupport() 300 renderer->hasImageFormatFeatureBits(vkFormat, kBitsDepth); in HasNonFilterableTextureFormatSupport() [all …]
|
H A D | vk_format_utils.h | 41 VkFormat vkFormat; member 48 VkFormat vkFormat; member 150 const VkFormatProperties &GetMandatoryFormatSupport(VkFormat vkFormat); 157 bool HasFullTextureFormatSupport(RendererVk *renderer, VkFormat vkFormat); 159 bool HasNonFilterableTextureFormatSupport(RendererVk *renderer, VkFormat vkFormat); 161 bool HasNonRenderableTextureFormatSupport(RendererVk *renderer, VkFormat vkFormat);
|
H A D | RenderbufferVk.cpp | 40 const vk::Format &vkFormat = renderer->getFormat(internalformat); in setStorageImpl() local 66 const angle::Format &textureFormat = vkFormat.actualImageFormat(); in setStorageImpl() 75 ANGLE_TRY(mImage->init(contextVk, gl::TextureType::_2D, extents, vkFormat, in setStorageImpl() 82 mImage->stageClearIfEmulatedFormat(gl::ImageIndex::Make2D(0), vkFormat); in setStorageImpl() 119 const vk::Format &vkFormat = renderer->getFormat(image->getFormat().info->sizedInternalFormat); in setStorageEGLImageTarget() local 120 const angle::Format &textureFormat = vkFormat.actualImageFormat(); in setStorageEGLImageTarget()
|
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/skia/src/gpu/vk/ |
H A D | GrVkCaps.cpp | 1310 VkFormat vkFormat; in isFormatSRGB() local 1322 VkFormat vkFormat; in compressionType() local 1338 VkFormat vkFormat; in isFormatTexturable() local 1360 VkFormat vkFormat; in isFormatAsColorTypeRenderable() local 1372 VkFormat vkFormat; in isFormatRenderable() local 1385 VkFormat vkFormat; in getRenderTargetSampleCount() local 1418 VkFormat vkFormat; in maxRenderTargetSampleCount() local 1436 VkFormat vkFormat; in bytesPerPixel() local 1461 VkFormat vkFormat; in supportedWritePixelsColorType() local 1519 VkFormat vkFormat; in onAreColorTypeAndFormatCompatible() local [all …]
|
H A D | GrVkUtil.h | 86 SkImage::CompressionType GrVkFormatToCompressionType(VkFormat vkFormat); 89 static constexpr const char* GrVkFormatToStr(VkFormat vkFormat) { in GrVkFormatToStr() argument 90 switch (vkFormat) { in GrVkFormatToStr()
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/skia/src/gpu/vk/ |
H A D | GrVkCaps.cpp | 1329 VkFormat vkFormat; in isFormatSRGB() local 1341 VkFormat vkFormat; in isFormatTexturable() local 1363 VkFormat vkFormat; in isFormatAsColorTypeRenderable() local 1375 VkFormat vkFormat; in isFormatRenderable() local 1388 VkFormat vkFormat; in getRenderTargetSampleCount() local 1421 VkFormat vkFormat; in maxRenderTargetSampleCount() local 1452 VkFormat vkFormat; in supportedWritePixelsColorType() local 1516 VkFormat vkFormat; in onAreColorTypeAndFormatCompatible() local 1574 VkFormat vkFormat; in onGetReadSwizzle() local 1596 VkFormat vkFormat; in getWriteSwizzle() local [all …]
|
H A D | GrVkUtil.h | 48 static constexpr uint32_t GrVkFormatChannels(VkFormat vkFormat) { in GrVkFormatChannels() argument 49 switch (vkFormat) { in GrVkFormatChannels() 77 static constexpr size_t GrVkFormatBytesPerBlock(VkFormat vkFormat) { in GrVkFormatBytesPerBlock() argument 78 switch (vkFormat) { in GrVkFormatBytesPerBlock() 150 static constexpr const char* GrVkFormatToStr(VkFormat vkFormat) { in GrVkFormatToStr() argument 151 switch (vkFormat) { in GrVkFormatToStr()
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/angle/src/libANGLE/renderer/vulkan/android/ |
H A D | HardwareBufferImageSiblingVkAndroid.cpp | 170 const vk::Format &vkFormat = renderer->getFormat(internalFormat); in initImpl() local 172 const angle::Format &imageFormat = vkFormat.actualImageFormat(); in initImpl() 196 VkFormat vkImageFormat = vkFormat.vkImageFormat; in initImpl() 197 VkFormat vkImageListFormat = vkFormat.actualImageFormat().isSRGB in initImpl() 232 bufferFormatProperties.format == VK_FORMAT_UNDEFINED ? externalVkFormat : vkFormat, 1, in initImpl() 286 renderer->hasImageFormatFeatureBits(vkFormat.vkImageFormat, kColorRenderableRequiredBits) || in initImpl() 287 renderer->hasImageFormatFeatureBits(vkFormat.vkImageFormat, in initImpl() 293 renderer->hasImageFormatFeatureBits(vkFormat.vkImageFormat, kTextureableRequiredBits); in initImpl()
|
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/angle/src/libANGLE/renderer/vulkan/android/ |
H A D | HardwareBufferImageSiblingVkAndroid.cpp | 101 const vk::Format &vkFormat = renderer->getFormat(internalFormat); in initImpl() local 102 const angle::Format &imageFormat = vkFormat.actualImageFormat(); in initImpl() 129 ANGLE_TRY(mImage->initExternal(displayVk, gl::TextureType::_2D, vkExtents, vkFormat, 1, usage, in initImpl() 156 renderer->hasImageFormatFeatureBits(vkFormat.vkImageFormat, kColorRenderableRequiredBits) || in initImpl() 157 renderer->hasImageFormatFeatureBits(vkFormat.vkImageFormat, in initImpl() 163 renderer->hasImageFormatFeatureBits(vkFormat.vkImageFormat, kTextureableRequiredBits); in initImpl()
|