/third_party/vk-gl-cts/external/openglcts/modules/common/ |
D | glcCompressedFormatTests.cpp | 1227 for(const auto& compressedFormat : format.second) in __anon399be5113e02() local 1231 [uncompressedFormat, compressedFormat](ApiTestContext& context) in __anon399be5113e02() 1234 const auto& image = imageData.at(compressedFormat); in __anon399be5113e02() 1236 const auto textureData = loadImage(context.archive, compressedFormat, 0); in __anon399be5113e02() 1237 …mats), end(compressedFormats), [compressedFormat](const FormatInfo& fmt) { return fmt.internalForm… in __anon399be5113e02() 1247 …<< "Copying from " << getTextureFormatStr(compressedFormat).toString() << " " << image[0].width <<… in __anon399be5113e02() 1257 …gl.compressedTexImage2D(GL_TEXTURE_2D, 0, compressedFormat, image[0].width, image[0].height, 0, te… in __anon399be5113e02() 1287 for(const auto& compressedFormat : format.second) in __anon399be5114102() local 1291 [uncompressedFormat, compressedFormat](ApiTestContext& context) in __anon399be5114102() 1294 const auto& image = imageData.at(compressedFormat); in __anon399be5114102() [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 | 80 deUint32 getBlockSizeInBytes (const VkFormat compressedFormat); 81 deUint32 getBlockWidth (const VkFormat compressedFormat); 82 deUint32 getBlockHeight (const VkFormat compressedFormat);
|
D | vkImageUtil.cpp | 3677 deUint32 getBlockSizeInBytes (const VkFormat compressedFormat) in getBlockSizeInBytes() argument 3679 deUint32 formatNdx = static_cast<deUint32>(compressedFormat - VK_FORMAT_BC1_RGB_UNORM_BLOCK); in getBlockSizeInBytes() 3682 DE_ASSERT(compressedFormatParameters[formatNdx].format == compressedFormat); in getBlockSizeInBytes() 3687 deUint32 getBlockWidth (const VkFormat compressedFormat) in getBlockWidth() argument 3689 deUint32 formatNdx = static_cast<deUint32>(compressedFormat - VK_FORMAT_BC1_RGB_UNORM_BLOCK); in getBlockWidth() 3692 DE_ASSERT(compressedFormatParameters[formatNdx].format == compressedFormat); in getBlockWidth() 3697 deUint32 getBlockHeight (const VkFormat compressedFormat) in getBlockHeight() argument 3699 deUint32 formatNdx = static_cast<deUint32>(compressedFormat - VK_FORMAT_BC1_RGB_UNORM_BLOCK); in getBlockHeight() 3702 DE_ASSERT(compressedFormatParameters[formatNdx].format == compressedFormat); in getBlockHeight()
|
/third_party/mesa3d/src/mesa/main/ |
D | copyimage.c | 397 GLenum compressedFormat, GLenum otherFormat) in compressed_format_compatible() argument 435 switch (compressedFormat) { in compressed_format_compatible() 477 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 genDummyTexture() local 337 tcu::CompressedTexture compressedLevel (compressedFormat, size.x(), size.y(), numLayers); in genDummyTexture() 338 const bool isAstcFormat = tcu::isAstcFormat(compressedFormat); in genDummyTexture() 341 generateDummyCompressedData(compressedLevel, compressedFormat); in genDummyTexture() 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/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/vk-gl-cts/external/vulkancts/modules/vulkan/image/ |
D | vktImageCompressionTranscodingSupport.cpp | 240 vector<UVec3> getCompressedMipLevelSizes (const VkFormat compressedFormat, 347 …TranscodingTestInstance::getCompressedMipLevelSizes (const VkFormat compressedFormat, const vector… in getCompressedMipLevelSizes() argument 353 levelSizes.push_back(getCompressedImageResolutionInBlocks(compressedFormat, *it)); in getCompressedMipLevelSizes()
|
/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/vulkan/api/ |
D | vktApiCopiesAndBlittingTests.cpp | 3263 tcu::CompressedTexFormat compressedFormat = mapVkCompressedFormat(srcImageParams.format); in iterate() local 3264 …edTexture = CompressedTextureForBlitSp(new CompressedTextureForBlit(compressedFormat, srcWidth, sr… in iterate() 3280 tcu::CompressedTexFormat compressedFormat = mapVkCompressedFormat(dstImageParams.format); in iterate() local 3281 …edTexture = CompressedTextureForBlitSp(new CompressedTextureForBlit(compressedFormat, srcWidth, sr… in iterate()
|