/third_party/vk-gl-cts/external/openglcts/modules/common/ |
D | glcCompressedFormatTests.cpp | 1227 for(const auto& compressedFormat : format.second) in __anon220211703e02() local 1231 [uncompressedFormat, compressedFormat](ApiTestContext& context) in __anon220211703e02() 1234 const auto& image = imageData.at(compressedFormat); in __anon220211703e02() 1236 const auto textureData = loadImage(context.archive, compressedFormat, 0); in __anon220211703e02() 1237 …mats), end(compressedFormats), [compressedFormat](const FormatInfo& fmt) { return fmt.internalForm… in __anon220211703e02() 1247 …<< "Copying from " << getTextureFormatStr(compressedFormat).toString() << " " << image[0].width <<… in __anon220211703e02() 1257 …gl.compressedTexImage2D(GL_TEXTURE_2D, 0, compressedFormat, image[0].width, image[0].height, 0, te… in __anon220211703e02() 1287 for(const auto& compressedFormat : format.second) in __anon220211704102() local 1291 [uncompressedFormat, compressedFormat](ApiTestContext& context) in __anon220211704102() 1294 const auto& image = imageData.at(compressedFormat); in __anon220211704102() [all …]
|
/third_party/vk-gl-cts/framework/opengl/ |
D | gluTexture.cpp | 190 deUint32 compressedFormat = getGLFormat(levels[0].getFormat()); in loadCompressed() local 207 gl.compressedTexImage2D(GL_TEXTURE_2D, levelNdx, compressedFormat, in loadCompressed() 412 deUint32 compressedFormat = getGLFormat(levels[0].getFormat()); in loadCompressed() local 431 gl.compressedTexImage2D(getGLCubeFace((tcu::CubeFace)face), levelNdx, compressedFormat, in loadCompressed() 618 deUint32 compressedFormat = getGLFormat(levels[0].getFormat()); in loadCompressed() local 636 gl.compressedTexImage3D(GL_TEXTURE_2D_ARRAY, levelNdx, compressedFormat, in loadCompressed() 740 deUint32 compressedFormat = getGLFormat(levels[0].getFormat()); in loadCompressed() local 761 gl.compressedTexImage3D(GL_TEXTURE_3D, levelNdx, compressedFormat, in loadCompressed()
|
/third_party/vk-gl-cts/external/vulkancts/framework/vulkan/ |
D | vkImageUtil.hpp | 84 deUint32 getBlockSizeInBytes (const VkFormat compressedFormat); 85 deUint32 getBlockWidth (const VkFormat compressedFormat); 86 deUint32 getBlockHeight (const VkFormat compressedFormat);
|
D | vkImageUtil.cpp | 3732 deUint32 getBlockSizeInBytes (const VkFormat compressedFormat) in getBlockSizeInBytes() argument 3734 deUint32 formatNdx = static_cast<deUint32>(compressedFormat - VK_FORMAT_BC1_RGB_UNORM_BLOCK); in getBlockSizeInBytes() 3737 DE_ASSERT(compressedFormatParameters[formatNdx].format == compressedFormat); in getBlockSizeInBytes() 3742 deUint32 getBlockWidth (const VkFormat compressedFormat) in getBlockWidth() argument 3744 deUint32 formatNdx = static_cast<deUint32>(compressedFormat - VK_FORMAT_BC1_RGB_UNORM_BLOCK); in getBlockWidth() 3747 DE_ASSERT(compressedFormatParameters[formatNdx].format == compressedFormat); in getBlockWidth() 3752 deUint32 getBlockHeight (const VkFormat compressedFormat) in getBlockHeight() argument 3754 deUint32 formatNdx = static_cast<deUint32>(compressedFormat - VK_FORMAT_BC1_RGB_UNORM_BLOCK); in getBlockHeight() 3757 DE_ASSERT(compressedFormatParameters[formatNdx].format == compressedFormat); in getBlockHeight()
|
/third_party/mesa3d/src/mesa/main/ |
D | copyimage.c | 399 GLenum compressedFormat, GLenum otherFormat) in compressed_format_compatible() argument 437 switch (compressedFormat) { in compressed_format_compatible() 479 if (_mesa_is_gles(ctx) && _mesa_is_astc_format(compressedFormat)) in compressed_format_compatible()
|
/third_party/vk-gl-cts/modules/gles31/functional/ |
D | es31fCopyImageTests.cpp | 696 const tcu::CompressedTexFormat compressedFormat = glu::mapGLCompressedTexFormat(glFormat); in genTexel() local 698 if (tcu::isAstcFormat(compressedFormat)) in genTexel() 1264 const tcu::CompressedTexFormat& compressedFormat, in decompressTextureLevel() argument 1272 tcu::decompress(levelAccess, compressedFormat, (const deUint8*)data, params); in decompressTextureLevel() 1281 const tcu::CompressedTexFormat compressedFormat = glu::mapGLCompressedTexFormat(info.getFormat()); in decompressTexture() local 1282 const tcu::TextureFormat decompressedFormat = tcu::getUncompressedFormat(compressedFormat); in decompressTexture() 1289 if (tcu::isAstcFormat(compressedFormat)) in decompressTexture() 1291 …ensionSupported("GL_KHR_texture_compression_astc_hdr") && !tcu::isAstcSRGBFormat(compressedFormat)) in decompressTexture() 1308 …decompressTextureLevel(decompressParams, levelData, levelAccess, compressedFormat, decompressedFor… in decompressTexture() 1468 …const tcu::CompressedTexFormat& compressedFormat = glu::mapGLCompressedTexFormat(info.getFormat()); in renderTextureCubemap() local [all …]
|
D | es31fTextureBorderClampTests.cpp | 335 const tcu::CompressedTexFormat compressedFormat = glu::mapGLCompressedTexFormat(texFormat); in genDefaultTexture() local 337 tcu::CompressedTexture compressedLevel (compressedFormat, size.x(), size.y(), numLayers); in genDefaultTexture() 338 const bool isAstcFormat = tcu::isAstcFormat(compressedFormat); in genDefaultTexture() 341 generateDefaultCompressedData(compressedLevel, compressedFormat); in genDefaultTexture() 1405 const tcu::CompressedTexFormat compressedFormat = glu::mapGLCompressedTexFormat(texFormat); in TextureBorderClampFormatCase() local 1406 const tcu::IVec3 blockPixelSize = tcu::getBlockPixelSize(compressedFormat); in TextureBorderClampFormatCase()
|
/third_party/vk-gl-cts/modules/gles3/functional/ |
D | es3fTextureWrapTests.cpp | 88 …nfo, const char* name, const char* description, CompressedTexFormat compressedFormat, deUint32 wra… 173 …nfo, const char* name, const char* description, CompressedTexFormat compressedFormat, deUint32 wra… in TextureWrapCase() argument 179 , m_compressedFormat (compressedFormat) in TextureWrapCase()
|
/third_party/skia/third_party/externals/swiftshader/src/Renderer/ |
D | Sampler.hpp | 165 bool compressedFormat : 1; member
|
D | Sampler.cpp | 108 state.compressedFormat = Surface::isCompressed(externalTextureFormat); in samplerState()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/image/ |
D | vktImageSampleCompressedTextureTests.cpp | 289 tcu::CompressedTexFormat compressedFormat (mapVkCompressedFormat(m_imageFormat)); in iterate() local 290 IVec3 blockSize = tcu::getBlockPixelSize(compressedFormat); in iterate()
|
D | vktImageCompressionTranscodingSupport.cpp | 241 vector<UVec3> getCompressedMipLevelSizes (const VkFormat compressedFormat, 348 …TranscodingTestInstance::getCompressedMipLevelSizes (const VkFormat compressedFormat, const vector… in getCompressedMipLevelSizes() argument 354 levelSizes.push_back(getCompressedImageResolutionInBlocks(compressedFormat, *it)); in getCompressedMipLevelSizes()
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/image/ |
D | vktImageSampleCompressedTextureTests.cpp | 289 tcu::CompressedTexFormat compressedFormat (mapVkCompressedFormat(m_imageFormat)); in iterate() local 290 IVec3 blockSize = tcu::getBlockPixelSize(compressedFormat); in iterate()
|
D | vktImageCompressionTranscodingSupport.cpp | 241 vector<UVec3> getCompressedMipLevelSizes (const VkFormat compressedFormat, 348 …TranscodingTestInstance::getCompressedMipLevelSizes (const VkFormat compressedFormat, const vector… in getCompressedMipLevelSizes() argument 354 levelSizes.push_back(getCompressedImageResolutionInBlocks(compressedFormat, *it)); in getCompressedMipLevelSizes()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/pipeline/ |
D | vktPipelineImageUtil.cpp | 82 const tcu::CompressedTexFormat compressedFormat = mapVkCompressedFormat(format); in isSupportedSamplableFormat() local 86 if (tcu::isAstcFormat(compressedFormat)) in isSupportedSamplableFormat() 91 else if (tcu::isEtcFormat(compressedFormat)) in isSupportedSamplableFormat()
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/pipeline/ |
D | vktPipelineImageUtil.cpp | 82 const tcu::CompressedTexFormat compressedFormat = mapVkCompressedFormat(format); in isSupportedSamplableFormat() local 86 if (tcu::isAstcFormat(compressedFormat)) in isSupportedSamplableFormat() 91 else if (tcu::isEtcFormat(compressedFormat)) in isSupportedSamplableFormat()
|
/third_party/vk-gl-cts/external/openglcts/modules/gles2/ |
D | es2cTexture3DTests.cpp | 1685 deUint32 compressedFormat = glu::getGLFormat(format); in iterate() local 1686 callCompressedTexImage3D(GL_TEXTURE_3D, 0, compressedFormat, 0, 0, 0, 0, 0, 0); in iterate() 2140 deUint32 compressedFormat = glu::getGLFormat(format); in init() local 2142 compressedTexGroup->addChild(new CompressedTexture3DCase(m_context, name, compressedFormat)); in init()
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/ |
D | validationES.cpp | 3229 bool ValidateCopyMixedFormatCompatible(GLenum uncompressedFormat, GLenum compressedFormat) in ValidateCopyMixedFormatCompatible() argument 3233 switch (compressedFormat) in ValidateCopyMixedFormatCompatible() 3474 GLenum compressedFormat = (srcFormatInfo.compressed) ? srcFormatInfo.internalFormat in ValidateCopyFormatCompatible() local 3477 return ValidateCopyMixedFormatCompatible(uncompressedFormat, compressedFormat); in ValidateCopyFormatCompatible()
|
/third_party/skia/third_party/externals/swiftshader/src/Shader/ |
D | SamplerCore.cpp | 71 if(state.compressedFormat) in sampleTexture() 282 if(state.compressedFormat) in sampleTexture()
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/api/ |
D | vktApiCopiesAndBlittingTests.cpp | 3298 tcu::CompressedTexFormat compressedFormat = mapVkCompressedFormat(srcImageParams.format); in iterate() local 3299 …edTexture = CompressedTextureForBlitSp(new CompressedTextureForBlit(compressedFormat, srcWidth, sr… in iterate() 3315 tcu::CompressedTexFormat compressedFormat = mapVkCompressedFormat(dstImageParams.format); in iterate() local 3316 …edTexture = CompressedTextureForBlitSp(new CompressedTextureForBlit(compressedFormat, srcWidth, sr… in iterate()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/api/ |
D | vktApiCopiesAndBlittingTests.cpp | 3298 tcu::CompressedTexFormat compressedFormat = mapVkCompressedFormat(srcImageParams.format); in iterate() local 3299 …edTexture = CompressedTextureForBlitSp(new CompressedTextureForBlit(compressedFormat, srcWidth, sr… in iterate() 3315 tcu::CompressedTexFormat compressedFormat = mapVkCompressedFormat(dstImageParams.format); in iterate() local 3316 …edTexture = CompressedTextureForBlitSp(new CompressedTextureForBlit(compressedFormat, srcWidth, sr… in iterate()
|