Home
last modified time | relevance | path

Searched refs:compressedFormat (Results 1 – 12 of 12) sorted by relevance

/external/deqp/external/vulkancts/modules/vulkan/image/
DvktImageTestsUtil.cpp124 deUint32 getBlockSizeInBytes(const VkFormat compressedFormat) in getBlockSizeInBytes() argument
126 deUint32 formatNdx = static_cast<deUint32>(compressedFormat - VK_FORMAT_BC1_RGB_UNORM_BLOCK); in getBlockSizeInBytes()
129 DE_ASSERT(compressedFormatParameters[formatNdx].format == compressedFormat); in getBlockSizeInBytes()
134 deUint32 getBlockWidth(const VkFormat compressedFormat) in getBlockWidth() argument
136 deUint32 formatNdx = static_cast<deUint32>(compressedFormat - VK_FORMAT_BC1_RGB_UNORM_BLOCK); in getBlockWidth()
139 DE_ASSERT(compressedFormatParameters[formatNdx].format == compressedFormat); in getBlockWidth()
144 deUint32 getBlockHeight(const VkFormat compressedFormat) in getBlockHeight() argument
146 deUint32 formatNdx = static_cast<deUint32>(compressedFormat - VK_FORMAT_BC1_RGB_UNORM_BLOCK); in getBlockHeight()
149 DE_ASSERT(compressedFormatParameters[formatNdx].format == compressedFormat); in getBlockHeight()
DvktImageTestsUtil.hpp109 deUint32 getBlockSizeInBytes (const vk::VkFormat compressedFormat);
110 deUint32 getBlockWidth (const vk::VkFormat compressedFormat);
111 deUint32 getBlockHeight (const vk::VkFormat compressedFormat);
DvktImageCompressionTranscodingSupport.cpp147 vector<UVec3> getCompressedMipLevelSizes (const VkFormat compressedFormat,
238 …TranscodingTestInstance::getCompressedMipLevelSizes (const VkFormat compressedFormat, const vector… in getCompressedMipLevelSizes() argument
244 levelSizes.push_back(getCompressedImageResolutionInBlocks(compressedFormat, *it)); in getCompressedMipLevelSizes()
/external/deqp/framework/opengl/
DgluTexture.cpp190 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()
/external/mesa3d/src/mesa/main/
Dcopyimage.c313 GLenum compressedFormat, GLenum otherFormat) in compressed_format_compatible() argument
351 switch (compressedFormat) { in compressed_format_compatible()
393 if (_mesa_is_gles(ctx) && _mesa_is_astc_format(compressedFormat)) in compressed_format_compatible()
/external/deqp/modules/gles31/functional/
Des31fCopyImageTests.cpp696 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 …]
Des31fTextureBorderClampTests.cpp335 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()
1404 const tcu::CompressedTexFormat compressedFormat = glu::mapGLCompressedTexFormat(texFormat); in TextureBorderClampFormatCase() local
1405 const tcu::IVec3 blockPixelSize = tcu::getBlockPixelSize(compressedFormat); in TextureBorderClampFormatCase()
/external/deqp/modules/gles3/functional/
Des3fTextureWrapTests.cpp88 …nfo, const char* name, const char* description, CompressedTexFormat compressedFormat, deUint32 wra…
169 …nfo, const char* name, const char* description, CompressedTexFormat compressedFormat, deUint32 wra… in TextureWrapCase() argument
175 , m_compressedFormat (compressedFormat) in TextureWrapCase()
/external/swiftshader/src/Renderer/
DSampler.hpp165 bool compressedFormat : 1; member
DSampler.cpp108 state.compressedFormat = Surface::isCompressed(externalTextureFormat); in samplerState()
/external/deqp/external/vulkancts/modules/vulkan/pipeline/
DvktPipelineImageUtil.cpp79 const tcu::CompressedTexFormat compressedFormat = mapVkCompressedFormat(format); in isSupportedSamplableFormat() local
83 if (tcu::isAstcFormat(compressedFormat)) in isSupportedSamplableFormat()
88 else if (tcu::isEtcFormat(compressedFormat)) in isSupportedSamplableFormat()
/external/swiftshader/src/Shader/
DSamplerCore.cpp71 if(state.compressedFormat) in sampleTexture()
284 if(state.compressedFormat) in sampleTexture()