/external/deqp/framework/opengl/ |
D | gluTexture.cpp | 91 for (int levelNdx = 0; levelNdx < m_refTexture.getNumLevels(); levelNdx++) in upload() local 93 if (m_refTexture.isLevelEmpty(levelNdx)) in upload() 96 tcu::ConstPixelBufferAccess access = m_refTexture.getLevel(levelNdx); in upload() 97 …gl.texImage1D(GL_TEXTURE_1D, levelNdx, m_format, access.getWidth(), 0 /* border */, transferFormat… in upload() 174 for (int levelNdx = 0; levelNdx < m_refTexture.getNumLevels(); levelNdx++) in upload() local 176 if (m_refTexture.isLevelEmpty(levelNdx)) in upload() 179 tcu::ConstPixelBufferAccess access = m_refTexture.getLevel(levelNdx); in upload() 181 …gl.texImage2D(GL_TEXTURE_2D, levelNdx, m_format, access.getWidth(), access.getHeight(), 0 /* borde… in upload() 195 for (int levelNdx = 0; levelNdx < numLevels; levelNdx++) in loadCompressed() local 197 const tcu::CompressedTexture& level = levels[levelNdx]; in loadCompressed() [all …]
|
/external/deqp/modules/gles31/functional/ |
D | es31fTextureLevelStateQueryTests.cpp | 738 for (int levelNdx = 0; levelNdx < (int)spec.levels.size(); ++levelNdx) in applyTextureGenerationSpec() local 740 …t = (spec.levels[levelNdx].compressed) ? (glu::TransferFormat()) : (glu::getTransferFormat(glu::ma… in applyTextureGenerationSpec() 742 if (spec.immutable && !spec.levels[levelNdx].compressed && spec.bindTarget == GL_TEXTURE_2D) in applyTextureGenerationSpec() 743 …rage2D(spec.bindTarget, 1, spec.levels[levelNdx].internalFormat, spec.levels[levelNdx].width, spec… in applyTextureGenerationSpec() 744 else if (spec.immutable && !spec.levels[levelNdx].compressed && spec.bindTarget == GL_TEXTURE_3D) in applyTextureGenerationSpec() 745 …dTarget, 1, spec.levels[levelNdx].internalFormat, spec.levels[levelNdx].width, spec.levels[levelNd… in applyTextureGenerationSpec() 746 …else if (spec.immutable && !spec.levels[levelNdx].compressed && spec.bindTarget == GL_TEXTURE_2D_A… in applyTextureGenerationSpec() 747 …dTarget, 1, spec.levels[levelNdx].internalFormat, spec.levels[levelNdx].width, spec.levels[levelNd… in applyTextureGenerationSpec() 748 …else if (spec.immutable && !spec.levels[levelNdx].compressed && spec.bindTarget == GL_TEXTURE_CUBE… in applyTextureGenerationSpec() 749 …rage2D(spec.bindTarget, 1, spec.levels[levelNdx].internalFormat, spec.levels[levelNdx].width, spec… in applyTextureGenerationSpec() [all …]
|
D | es31fStencilTexturingTests.cpp | 469 for (int levelNdx = 0; levelNdx < src.getNumLevels(); levelNdx++) in stencilToUnorm8() local 475 if (!src.isLevelEmpty(face, levelNdx)) in stencilToUnorm8() 477 dst.allocLevel(face, levelNdx); in stencilToUnorm8() 479 const tcu::ConstPixelBufferAccess srcLevel = src.getLevelFace(levelNdx, face); in stencilToUnorm8() 480 const tcu::PixelBufferAccess dstLevel = dst.getLevelFace(levelNdx, face); in stencilToUnorm8() 596 for (int levelNdx = 0; levelNdx < levels; levelNdx++) in iterate() local 598 …erAccess levelAccess = tcu::getSubregion(uploadLevel.getAccess(), 0, 0, levelNdx, width, height, 1… in iterate() 600 if (levelNdx == ptrnLevel) in iterate() 603 tcu::clearStencil(levelAccess, levelNdx); in iterate() 622 for (int levelNdx = 0; levelNdx < levels; levelNdx++) in iterate() local [all …]
|
D | es31fTextureGatherTests.cpp | 379 for (int levelNdx = 0; levelNdx < src.getNumLevels(); levelNdx++) in swizzleTexture() local 381 if (src.isLevelEmpty(levelNdx)) in swizzleTexture() 383 dst.allocLevel(levelNdx); in swizzleTexture() 384 swizzlePixels(dst.getLevel(levelNdx), src.getLevel(levelNdx), swizzle); in swizzleTexture() 391 for (int levelNdx = 0; levelNdx < src.getNumLevels(); levelNdx++) in swizzleTexture() local 393 if (src.isLevelEmpty(levelNdx)) in swizzleTexture() 395 dst.allocLevel(levelNdx); in swizzleTexture() 396 swizzlePixels(dst.getLevel(levelNdx), src.getLevel(levelNdx), swizzle); in swizzleTexture() 406 for (int levelNdx = 0; levelNdx < src.getNumLevels(); levelNdx++) in swizzleTexture() local 408 if (src.isLevelEmpty(face, levelNdx)) in swizzleTexture() [all …]
|
/external/deqp/external/vulkancts/modules/vulkan/pipeline/ |
D | vktPipelineImageUtil.cpp | 690 for (int levelNdx = 0; levelNdx < texture.getNumLevels(); levelNdx++) in allocateLevels() local 691 texture.allocLevel(levelNdx); in allocateLevels() 699 for (int levelNdx = 0; levelNdx < texture.getNumLevels(); levelNdx++) in getLevelsVector() local 700 levels[levelNdx] = *reinterpret_cast<const tcu::PixelBufferAccess*>(&texture.getLevel(levelNdx)); in getLevelsVector() 733 for (size_t levelNdx = 0; levelNdx < m_compressedLevels.size(); levelNdx++) in ~TestTexture() local 734 delete m_compressedLevels[levelNdx]; in ~TestTexture() 745 for (int levelNdx = 0; levelNdx < getNumLevels(); levelNdx++) in getSize() local 749 const tcu::ConstPixelBufferAccess level = getLevel(levelNdx, layerNdx); in getSize() 769 for (int levelNdx = 0; levelNdx < getNumLevels(); levelNdx++) in getCompressedSize() local 774 textureSize += getCompressedLevel(levelNdx, layerNdx).getDataSize(); in getCompressedSize() [all …]
|
D | vktPipelineImageSamplingInstance.cpp | 1161 for (int levelNdx = 0; levelNdx < texture.getNumLevels(); ++levelNdx) in createSwizzledCopy() local 1163 copy->allocLevel(levelNdx); in createSwizzledCopy() 1164 swizzle(texture.getLevel(levelNdx), copy->getLevel(levelNdx), swz); in createSwizzledCopy() 1177 for (int levelNdx = 0; levelNdx < texture.getNumLevels(); ++levelNdx) in createSwizzledCopy() local 1179 copy->allocLevel((tcu::CubeFace)faceNdx, levelNdx); in createSwizzledCopy() 1180 …swizzle(texture.getLevelFace(levelNdx, (tcu::CubeFace)faceNdx), copy->getLevelFace(levelNdx, (tcu:… in createSwizzledCopy() 1230 for (int levelNdx = 0; levelNdx < (int)levels.size(); ++levelNdx) in getTexture1DView() local 1232 …erAccess& srcLevel = testTexture.getLevel((int)subresource.baseMipLevel+levelNdx, subresource.base… in getTexture1DView() 1234 levels[levelNdx] = tcu::getSubregion(srcLevel, 0, 0, 0, srcLevel.getWidth(), 1, 1); in getTexture1DView() 1250 for (int levelNdx = 0; levelNdx < (int)levels.size(); ++levelNdx) in getTexture1DArrayView() local [all …]
|
/external/deqp/modules/gles2/functional/ |
D | es2fTextureCompletenessTests.cpp | 291 for (int levelNdx = 0; levelNdx < numLevels; levelNdx++) in createTexture() local 293 …int levelW = (levelNdx == m_invalidLevelNdx) ? m_invalidLevelSize.x() : de::max(1, m_size.x() >> l… in createTexture() 294 …int levelH = (levelNdx == m_invalidLevelNdx) ? m_invalidLevelSize.y() : de::max(1, m_size.y() >> l… in createTexture() 299 …glTexImage2D(GL_TEXTURE_2D, levelNdx, GL_RGBA, levelW, levelH, 0, GL_RGBA, GL_UNSIGNED_BYTE, level… in createTexture() 358 for (int levelNdx = 0; levelNdx < numLevels; levelNdx++) in createTexture() local 360 int levelW = de::max(1, m_size.x() >> levelNdx); in createTexture() 361 int levelH = de::max(1, m_size.y() >> levelNdx); in createTexture() 366 deUint32 format = levelNdx == m_invalidLevelNdx ? m_invalidFormat : m_format; in createTexture() 368 …glTexImage2D(GL_TEXTURE_2D, levelNdx, format, levelW, levelH, 0, format, GL_UNSIGNED_BYTE, levelDa… in createTexture() 409 for (int levelNdx = 0; levelNdx < numLevels; levelNdx++) in createTexture() local [all …]
|
D | es2fTextureFilteringTests.cpp | 181 for (int levelNdx = 0; levelNdx < numLevels; levelNdx++) in init() local 186 m_textures[0]->getRefTexture().allocLevel(levelNdx); in init() 187 tcu::fillWithComponentGradients(m_textures[0]->getRefTexture().getLevel(levelNdx), gMin, gMax); in init() 191 for (int levelNdx = 0; levelNdx < numLevels; levelNdx++) in init() local 194 deUint32 rgb = step*levelNdx; in init() 198 m_textures[1]->getRefTexture().allocLevel(levelNdx); in init() 199 …tcu::fillWithGrid(m_textures[1]->getRefTexture().getLevel(levelNdx), 4, tcu::RGBA(colorA).toVec()*… in init() 455 for (int levelNdx = 0; levelNdx < numLevels; levelNdx++) in init() local 457 m_textures[0]->getRefTexture().allocLevel((tcu::CubeFace)face, levelNdx); in init() 458 …tcu::fillWithComponentGradients(m_textures[0]->getRefTexture().getLevelFace(levelNdx, (tcu::CubeFa… in init() [all …]
|
D | es2fTextureMipmapTests.cpp | 166 for (int levelNdx = 0; levelNdx < numLevels; levelNdx++) in init() local 169 deUint32 inc = deClamp32(step*levelNdx, 0x00, 0xff); in init() 174 m_texture->getRefTexture().allocLevel(levelNdx); in init() 175 tcu::clear(m_texture->getRefTexture().getLevel(levelNdx), tcu::RGBA(color).toVec()); in init() 518 for (int levelNdx = 0; levelNdx < numLevels; levelNdx++) in init() local 521 deUint32 inc = deClamp32(step*levelNdx, 0x00, 0xff); in init() 537 m_texture->getRefTexture().allocLevel((tcu::CubeFace)faceNdx, levelNdx); in init() 538 …tcu::clear(m_texture->getRefTexture().getLevelFace(levelNdx, (tcu::CubeFace)faceNdx), tcu::RGBA(co… in init() 851 for (int levelNdx = 0; levelNdx < numLevels; levelNdx++) in iterate() local 853 const int levelWidth = de::max(1, m_width >> levelNdx); in iterate() [all …]
|
D | es2fTextureSizeTests.cpp | 103 for (int levelNdx = 0; levelNdx < numLevels; levelNdx++) in init() local 105 m_texture->getRefTexture().allocLevel(levelNdx); in init() 106 …tcu::fillWithComponentGradients(m_texture->getRefTexture().getLevel(levelNdx), tcu::Vec4(-1.0f, -1… in init() 241 for (int levelNdx = 0; levelNdx < numLevels; levelNdx++) in init() local 245 m_texture->getRefTexture().allocLevel((tcu::CubeFace)face, levelNdx); in init() 246 …fillWithComponentGradients(m_texture->getRefTexture().getLevelFace(levelNdx, (tcu::CubeFace)face),… in init()
|
D | es2fTextureUnitTests.cpp | 707 for (int levelNdx = 0; levelNdx < numLevels; levelNdx++) in init() local 710 m_textures2d.back()->allocLevel(levelNdx); in init() 712 m_texturesCube.back()->allocLevel((tcu::CubeFace)face, levelNdx); in init() 714 …int curCellSize = deMax32(1, GRID_CELL_SIZE >> levelNdx); // \note Scale grid cell size for mipmap… in init() 716 …s access = is2d ? m_textures2d.back()->getLevel(levelNdx) : m_texturesCube.back()->getLevelFace(le… in init() 859 for (int levelNdx = 0; levelNdx < numLevels; levelNdx++) in render() local 861 tcu::ConstPixelBufferAccess access = texture->getLevel(levelNdx); in render() 867 …context.texImage2D(GL_TEXTURE_2D, levelNdx, m_textureParams[texNdx].format, width, height, 0, m_te… in render() 883 for (int levelNdx = 0; levelNdx < numLevels; levelNdx++) in render() local 885 tcu::ConstPixelBufferAccess access = texture->getLevelFace(levelNdx, (tcu::CubeFace)face); in render() [all …]
|
D | es2fVertexTextureTests.cpp | 497 for (int levelNdx = 0; levelNdx < numLevels; levelNdx++) in init() local 502 m_textures[0]->getRefTexture().allocLevel(levelNdx); in init() 503 tcu::fillWithComponentGradients(m_textures[0]->getRefTexture().getLevel(levelNdx), gMin, gMax); in init() 507 for (int levelNdx = 0; levelNdx < numLevels; levelNdx++) in init() local 510 const deUint32 rgb = step*levelNdx; in init() 514 m_textures[1]->getRefTexture().allocLevel(levelNdx); in init() 515 …tcu::fillWithGrid(m_textures[1]->getRefTexture().getLevel(levelNdx), 4, tcu::RGBA(colorA).toVec()*… in init() 819 for (int levelNdx = 0; levelNdx < numLevels; levelNdx++) in init() local 821 m_textures[0]->getRefTexture().allocLevel((tcu::CubeFace)face, levelNdx); in init() 822 …tcu::fillWithComponentGradients(m_textures[0]->getRefTexture().getLevelFace(levelNdx, (tcu::CubeFa… in init() [all …]
|
/external/deqp/modules/gles3/functional/ |
D | es3fTextureUnitTests.cpp | 894 for (int levelNdx = 0; levelNdx < numLevels; levelNdx++) in init() local 897 m_textures2d.back()->allocLevel(levelNdx); in init() 899 m_texturesCube.back()->allocLevel((tcu::CubeFace)face, levelNdx); in init() 901 m_textures2dArray.back()->allocLevel(levelNdx); in init() 903 m_textures3d.back()->allocLevel(levelNdx); in init() 905 …int curCellSize = deMax32(1, GRID_CELL_SIZE >> levelNdx); // \note Scale grid cell size for mipmap… in init() 907 tcu::PixelBufferAccess access = is2dTex ? m_textures2d.back()->getLevel(levelNdx) in init() 908 : isCubeTex ? m_texturesCube.back()->getLevelFace(levelNdx, (tcu::CubeFace)face) in init() 909 : is2dArrayTex ? m_textures2dArray.back()->getLevel(levelNdx) in init() 910 : m_textures3d.back()->getLevel(levelNdx); in init() [all …]
|
D | es3fTextureShadowTests.cpp | 239 for (int levelNdx = 0; levelNdx < numLevels; levelNdx++) in init() local 241 m_textures[0]->getRefTexture().allocLevel(levelNdx); in init() 242 …tcu::fillWithComponentGradients(m_textures[0]->getRefTexture().getLevel(levelNdx), tcu::Vec4(-0.5f… in init() 246 for (int levelNdx = 0; levelNdx < numLevels; levelNdx++) in init() local 249 deUint32 rgb = step*levelNdx; in init() 253 m_textures[1]->getRefTexture().allocLevel(levelNdx); in init() 254 …tcu::fillWithGrid(m_textures[1]->getRefTexture().getLevel(levelNdx), 4, tcu::RGBA(colorA).toVec(),… in init() 508 for (int levelNdx = 0; levelNdx < numLevels; levelNdx++) in init() local 510 m_gradientTex->getRefTexture().allocLevel((tcu::CubeFace)face, levelNdx); in init() 511 …tcu::fillWithComponentGradients(m_gradientTex->getRefTexture().getLevelFace(levelNdx, (tcu::CubeFa… in init() [all …]
|
D | es3fTextureFilteringTests.cpp | 199 for (int levelNdx = 0; levelNdx < numLevels; levelNdx++) in init() local 204 m_textures[0]->getRefTexture().allocLevel(levelNdx); in init() 205 tcu::fillWithComponentGradients(m_textures[0]->getRefTexture().getLevel(levelNdx), gMin, gMax); in init() 209 for (int levelNdx = 0; levelNdx < numLevels; levelNdx++) in init() local 212 deUint32 rgb = step*levelNdx; in init() 216 m_textures[1]->getRefTexture().allocLevel(levelNdx); in init() 217 …tcu::fillWithGrid(m_textures[1]->getRefTexture().getLevel(levelNdx), 4, tcu::RGBA(colorA).toVec()*… in init() 490 for (int levelNdx = 0; levelNdx < numLevels; levelNdx++) in init() local 492 m_textures[0]->getRefTexture().allocLevel((tcu::CubeFace)face, levelNdx); in init() 493 …tcu::fillWithComponentGradients(m_textures[0]->getRefTexture().getLevelFace(levelNdx, (tcu::CubeFa… in init() [all …]
|
D | es3fVertexTextureTests.cpp | 597 for (int levelNdx = 0; levelNdx < numLevels; levelNdx++) in init() local 602 m_textures[0]->getRefTexture().allocLevel(levelNdx); in init() 603 tcu::fillWithComponentGradients(m_textures[0]->getRefTexture().getLevel(levelNdx), gMin, gMax); in init() 607 for (int levelNdx = 0; levelNdx < numLevels; levelNdx++) in init() local 610 const deUint32 rgb = step*levelNdx; in init() 614 m_textures[1]->getRefTexture().allocLevel(levelNdx); in init() 615 …tcu::fillWithGrid(m_textures[1]->getRefTexture().getLevel(levelNdx), 4, tcu::RGBA(colorA).toVec()*… in init() 917 for (int levelNdx = 0; levelNdx < numLevels; levelNdx++) in init() local 919 m_textures[0]->getRefTexture().allocLevel((tcu::CubeFace)face, levelNdx); in init() 920 …tcu::fillWithComponentGradients(m_textures[0]->getRefTexture().getLevelFace(levelNdx, (tcu::CubeFa… in init() [all …]
|
D | es3fTextureSizeTests.cpp | 104 for (int levelNdx = 0; levelNdx < numLevels; levelNdx++) in init() local 106 m_texture->getRefTexture().allocLevel(levelNdx); in init() 107 …tcu::fillWithComponentGradients(m_texture->getRefTexture().getLevel(levelNdx), tcu::Vec4(-1.0f, -1… in init() 242 for (int levelNdx = 0; levelNdx < numLevels; levelNdx++) in init() local 246 m_texture->getRefTexture().allocLevel((tcu::CubeFace)face, levelNdx); in init() 247 …fillWithComponentGradients(m_texture->getRefTexture().getLevelFace(levelNdx, (tcu::CubeFace)face),… in init()
|
D | es3fTextureMipmapTests.cpp | 210 for (int levelNdx = 0; levelNdx < numLevels; levelNdx++) in init() local 213 deUint32 inc = deClamp32(step*levelNdx, 0x00, 0xff); in init() 218 m_texture->getRefTexture().allocLevel(levelNdx); in init() 219 tcu::clear(m_texture->getRefTexture().getLevel(levelNdx), tcu::RGBA(color).toVec()); in init() 557 for (int levelNdx = 0; levelNdx < numLevels; levelNdx++) in init() local 560 deUint32 inc = deClamp32(step*levelNdx, 0x00, 0xff); in init() 576 m_texture->getRefTexture().allocLevel((tcu::CubeFace)faceNdx, levelNdx); in init() 577 …tcu::clear(m_texture->getRefTexture().getLevelFace(levelNdx, (tcu::CubeFace)faceNdx), tcu::RGBA(co… in init() 887 for (int levelNdx = 0; levelNdx < numLevels; levelNdx++) in iterate() local 889 const int levelWidth = de::max(1, m_width >> levelNdx); in iterate() [all …]
|
/external/deqp/modules/gles3/accuracy/ |
D | es3aTextureFilteringTests.cpp | 141 for (int levelNdx = 0; levelNdx < numLevels; levelNdx++) in init() local 146 m_textures[0]->getRefTexture().allocLevel(levelNdx); in init() 147 tcu::fillWithComponentGradients(m_textures[0]->getRefTexture().getLevel(levelNdx), gMin, gMax); in init() 151 for (int levelNdx = 0; levelNdx < numLevels; levelNdx++) in init() local 154 deUint32 rgb = step*levelNdx; in init() 158 m_textures[1]->getRefTexture().allocLevel(levelNdx); in init() 159 …tcu::fillWithGrid(m_textures[1]->getRefTexture().getLevel(levelNdx), 4, tcu::RGBA(colorA).toVec()*… in init() 409 for (int levelNdx = 0; levelNdx < numLevels; levelNdx++) in init() local 411 m_textures[0]->getRefTexture().allocLevel((tcu::CubeFace)face, levelNdx); in init() 412 …tcu::fillWithComponentGradients(m_textures[0]->getRefTexture().getLevelFace(levelNdx, (tcu::CubeFa… in init() [all …]
|
/external/deqp/external/vulkancts/modules/vulkan/texture/ |
D | vktTextureShadowTests.cpp | 248 for (int levelNdx = 0; levelNdx < numLevels; ++levelNdx) in Texture2DShadowTestInstance() local 250 …tcu::fillWithComponentGradients(m_textures[0]->getLevel(levelNdx, 0), tcu::Vec4(-0.5f, -0.5f, -0.5… in Texture2DShadowTestInstance() 254 for (int levelNdx = 0; levelNdx < numLevels; levelNdx++) in Texture2DShadowTestInstance() local 257 const deUint32 rgb = step*levelNdx; in Texture2DShadowTestInstance() 261 …tcu::fillWithGrid(m_textures[1]->getLevel(levelNdx, 0), 4, tcu::RGBA(colorA).toVec(), tcu::RGBA(co… in Texture2DShadowTestInstance() 466 for (int levelNdx = 0; levelNdx < numLevels; levelNdx++) in TextureCubeShadowTestInstance() local 468 …tcu::fillWithComponentGradients(m_textures[0]->getLevel(levelNdx, face), gradients[face][0]*cScale… in TextureCubeShadowTestInstance() 475 for (int levelNdx = 0; levelNdx < numLevels; levelNdx++) in TextureCubeShadowTestInstance() local 478 const deUint32 rgb = step*levelNdx*face; in TextureCubeShadowTestInstance() 482 …tcu::fillWithGrid(m_textures[1]->getLevel(levelNdx, face), 4, tcu::RGBA(colorA).toVec()*cScale + c… in TextureCubeShadowTestInstance() [all …]
|
D | vktTextureFilteringTests.cpp | 230 for (int levelNdx = 0; levelNdx < numLevels; levelNdx++) in Texture2DFilteringTestInstance() local 236 …tcu::fillWithComponentGradients(getEffectiveDepthStencilAccess(m_textures[0]->getLevel(levelNdx, 0… in Texture2DFilteringTestInstance() 238 tcu::fillWithComponentGradients(m_textures[0]->getLevel(levelNdx, 0), gMin, gMax); in Texture2DFilteringTestInstance() 242 for (int levelNdx = 0; levelNdx < numLevels; levelNdx++) in Texture2DFilteringTestInstance() local 245 const deUint32 rgb = step*levelNdx; in Texture2DFilteringTestInstance() 250 …tcu::fillWithGrid(getEffectiveDepthStencilAccess(m_textures[1]->getLevel(levelNdx, 0), tcu::Sample… in Texture2DFilteringTestInstance() 252 …tcu::fillWithGrid(m_textures[1]->getLevel(levelNdx, 0), 4, tcu::RGBA(colorA).toVec()*cScale + cBia… in Texture2DFilteringTestInstance() 454 for (int levelNdx = 0; levelNdx < numLevels; levelNdx++) in TextureCubeFilteringTestInstance() local 457 …tcu::fillWithComponentGradients(getEffectiveDepthStencilAccess(m_textures[0]->getLevel(levelNdx, f… in TextureCubeFilteringTestInstance() 459 …tcu::fillWithComponentGradients(m_textures[0]->getLevel(levelNdx, face), gradients[face][0] * cSca… in TextureCubeFilteringTestInstance() [all …]
|
/external/deqp/external/vulkancts/modules/vulkan/image/ |
D | vktImageCompressionTranscodingSupport.cpp | 1552 for (deUint32 levelNdx = 0; levelNdx < getLevelCount(); ++levelNdx) in iterate() local 1554 DE_ASSERT(m_srcData[levelNdx][layerNdx]->size() == m_dstData[levelNdx][layerNdx]->size()); in iterate() 1561 for (deUint32 levelNdx = 0; levelNdx < getLevelCount(); ++levelNdx) in iterate() local 1565 …erifyDecompression(*m_srcData[levelNdx][layerNdx], m_compressedImage, levelNdx, layerNdx, m_compre… in iterate() 1570 …erifyDecompression(*m_dstData[levelNdx][layerNdx], m_compressedImage, levelNdx, layerNdx, m_compre… in iterate() 1608 for (deUint32 levelNdx = 0; levelNdx < getLevelCount(); ++levelNdx) in prepareData() local 1610 m_srcData[levelNdx].resize(getLayerCount()); in prepareData() 1611 m_dstData[levelNdx].resize(getLayerCount()); in prepareData() 1612 m_uncompressedImages[levelNdx].resize(getLayerCount()); in prepareData() 1616 m_srcData[levelNdx][layerNdx] = SharedPtr<RawDataVector>(new RawDataVector); in prepareData() [all …]
|
D | vktImageSubresourceLayoutTests.cpp | 451 for (deUint32 levelNdx = 0u; levelNdx < numLevels; ++levelNdx) in iterateAspect() local 453 const auto& level = bufferLevels.getLevel(levelNdx); in iterateAspect() 466 region.imageSubresource.mipLevel = levelNdx; in iterateAspect() 496 for (deUint32 levelNdx = 0u; levelNdx < numLevels; ++levelNdx) in iterateAspect() local 499 const auto levelSubresource = makeImageSubresource(imageAspect, levelNdx, 0u); in iterateAspect() 502 const auto& level = bufferLevels.getLevel(levelNdx); in iterateAspect() 505 const auto imageSubresource = makeImageSubresource(imageAspect, levelNdx, layerNdx); in iterateAspect() 518 msg << "Image level " << levelNdx in iterateAspect() 529 msg << "Image level " << levelNdx in iterateAspect() 541 msg << "Image level " << levelNdx in iterateAspect() [all …]
|
/external/deqp/modules/gles2/accuracy/ |
D | es2aTextureFilteringTests.cpp | 151 for (int levelNdx = 0; levelNdx < numLevels; levelNdx++) in init() local 156 m_textures[0]->getRefTexture().allocLevel(levelNdx); in init() 157 tcu::fillWithComponentGradients(m_textures[0]->getRefTexture().getLevel(levelNdx), gMin, gMax); in init() 161 for (int levelNdx = 0; levelNdx < numLevels; levelNdx++) in init() local 164 deUint32 rgb = step*levelNdx; in init() 168 m_textures[1]->getRefTexture().allocLevel(levelNdx); in init() 169 …tcu::fillWithGrid(m_textures[1]->getRefTexture().getLevel(levelNdx), 4, tcu::RGBA(colorA).toVec()*… in init() 423 for (int levelNdx = 0; levelNdx < numLevels; levelNdx++) in init() local 425 m_textures[0]->getRefTexture().allocLevel((tcu::CubeFace)face, levelNdx); in init() 426 …tcu::fillWithComponentGradients(m_textures[0]->getRefTexture().getLevelFace(levelNdx, (tcu::CubeFa… in init() [all …]
|
/external/deqp/external/openglcts/modules/gles2/ |
D | es2cTexture3DTests.cpp | 261 for (int levelNdx = 0; levelNdx < referenceTexture.getNumLevels(); levelNdx++) in uploadTexture3D() local 263 if (referenceTexture.isLevelEmpty(levelNdx)) in uploadTexture3D() 266 tcu::ConstPixelBufferAccess access = referenceTexture.getLevel(levelNdx); in uploadTexture3D() 269 …callTexImage3D(GL_TEXTURE_3D, levelNdx, transferFormat.format, access.getWidth(), access.getHeight… in uploadTexture3D() 548 for (int levelNdx = 0; levelNdx < numLevels; levelNdx++) in init() local 553 m_gradientTex->getRefTexture().allocLevel(levelNdx); in init() 554 tcu::fillWithComponentGradients(m_gradientTex->getRefTexture().getLevel(levelNdx), gMin, gMax); in init() 558 for (int levelNdx = 0; levelNdx < numLevels; levelNdx++) in init() local 561 deUint32 rgb = step * levelNdx; in init() 565 m_gridTex->getRefTexture().allocLevel(levelNdx); in init() [all …]
|