/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 | 737 for (int levelNdx = 0; levelNdx < (int)spec.levels.size(); ++levelNdx) in applyTextureGenerationSpec() local 739 …t = (spec.levels[levelNdx].compressed) ? (glu::TransferFormat()) : (glu::getTransferFormat(glu::ma… in applyTextureGenerationSpec() 741 if (spec.immutable && !spec.levels[levelNdx].compressed && spec.bindTarget == GL_TEXTURE_2D) in applyTextureGenerationSpec() 742 …rage2D(spec.bindTarget, 1, spec.levels[levelNdx].internalFormat, spec.levels[levelNdx].width, spec… in applyTextureGenerationSpec() 743 else if (spec.immutable && !spec.levels[levelNdx].compressed && spec.bindTarget == GL_TEXTURE_3D) in applyTextureGenerationSpec() 744 …dTarget, 1, spec.levels[levelNdx].internalFormat, spec.levels[levelNdx].width, spec.levels[levelNd… in applyTextureGenerationSpec() 745 …else if (spec.immutable && !spec.levels[levelNdx].compressed && spec.bindTarget == GL_TEXTURE_2D_A… in applyTextureGenerationSpec() 746 …dTarget, 1, spec.levels[levelNdx].internalFormat, spec.levels[levelNdx].width, spec.levels[levelNd… in applyTextureGenerationSpec() 747 …else if (spec.immutable && !spec.levels[levelNdx].compressed && spec.bindTarget == GL_TEXTURE_CUBE… in applyTextureGenerationSpec() 748 …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() 593 for (int levelNdx = 0; levelNdx < levels; levelNdx++) in iterate() local 595 …erAccess levelAccess = tcu::getSubregion(uploadLevel.getAccess(), 0, 0, levelNdx, width, height, 1… in iterate() 597 if (levelNdx == ptrnLevel) in iterate() 600 tcu::clearStencil(levelAccess, levelNdx); in iterate() 619 for (int levelNdx = 0; levelNdx < levels; levelNdx++) in iterate() local [all …]
|
D | es31fTextureGatherTests.cpp | 378 for (int levelNdx = 0; levelNdx < src.getNumLevels(); levelNdx++) in swizzleTexture() local 380 if (src.isLevelEmpty(levelNdx)) in swizzleTexture() 382 dst.allocLevel(levelNdx); in swizzleTexture() 383 swizzlePixels(dst.getLevel(levelNdx), src.getLevel(levelNdx), swizzle); in swizzleTexture() 390 for (int levelNdx = 0; levelNdx < src.getNumLevels(); levelNdx++) in swizzleTexture() local 392 if (src.isLevelEmpty(levelNdx)) in swizzleTexture() 394 dst.allocLevel(levelNdx); in swizzleTexture() 395 swizzlePixels(dst.getLevel(levelNdx), src.getLevel(levelNdx), swizzle); in swizzleTexture() 405 for (int levelNdx = 0; levelNdx < src.getNumLevels(); levelNdx++) in swizzleTexture() local 407 if (src.isLevelEmpty(face, levelNdx)) in swizzleTexture() [all …]
|
/external/deqp/external/vulkancts/modules/vulkan/pipeline/ |
D | vktPipelineImageUtil.cpp | 539 for (int levelNdx = 0; levelNdx < texture.getNumLevels(); levelNdx++) in allocateLevels() local 540 texture.allocLevel(levelNdx); in allocateLevels() 548 for (int levelNdx = 0; levelNdx < texture.getNumLevels(); levelNdx++) in getLevelsVector() local 549 levels[levelNdx] = *reinterpret_cast<const tcu::PixelBufferAccess*>(&texture.getLevel(levelNdx)); in getLevelsVector() 582 for (size_t levelNdx = 0; levelNdx < m_compressedLevels.size(); levelNdx++) in ~TestTexture() local 583 delete m_compressedLevels[levelNdx]; in ~TestTexture() 594 for (int levelNdx = 0; levelNdx < getNumLevels(); levelNdx++) in getSize() local 598 const tcu::ConstPixelBufferAccess level = getLevel(levelNdx, layerNdx); in getSize() 618 for (int levelNdx = 0; levelNdx < getNumLevels(); levelNdx++) in getCompressedSize() local 623 textureSize += getCompressedLevel(levelNdx, layerNdx).getDataSize(); in getCompressedSize() [all …]
|
D | vktPipelineImageSamplingInstance.cpp | 1044 for (int levelNdx = 0; levelNdx < texture.getNumLevels(); ++levelNdx) in createSwizzledCopy() local 1046 copy->allocLevel(levelNdx); in createSwizzledCopy() 1047 swizzle(texture.getLevel(levelNdx), copy->getLevel(levelNdx), swz); in createSwizzledCopy() 1060 for (int levelNdx = 0; levelNdx < texture.getNumLevels(); ++levelNdx) in createSwizzledCopy() local 1062 copy->allocLevel((tcu::CubeFace)faceNdx, levelNdx); in createSwizzledCopy() 1063 …swizzle(texture.getLevelFace(levelNdx, (tcu::CubeFace)faceNdx), copy->getLevelFace(levelNdx, (tcu:… in createSwizzledCopy() 1113 for (int levelNdx = 0; levelNdx < (int)levels.size(); ++levelNdx) in getTexture1DView() local 1115 …erAccess& srcLevel = testTexture.getLevel((int)subresource.baseMipLevel+levelNdx, subresource.base… in getTexture1DView() 1117 levels[levelNdx] = tcu::getSubregion(srcLevel, 0, 0, 0, srcLevel.getWidth(), 1, 1); in getTexture1DView() 1133 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() 857 for (int levelNdx = 0; levelNdx < numLevels; levelNdx++) in iterate() local 859 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() 823 for (int levelNdx = 0; levelNdx < numLevels; levelNdx++) in init() local 825 m_textures[0]->getRefTexture().allocLevel((tcu::CubeFace)face, levelNdx); in init() 826 …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 | 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 | 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 | 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 | 136 for (int levelNdx = 0; levelNdx < numLevels; levelNdx++) in Texture2DFilteringTestInstance() local 141 tcu::fillWithComponentGradients(m_textures[0]->getLevel(levelNdx, 0), gMin, gMax); in Texture2DFilteringTestInstance() 145 for (int levelNdx = 0; levelNdx < numLevels; levelNdx++) in Texture2DFilteringTestInstance() local 148 const deUint32 rgb = step*levelNdx; in Texture2DFilteringTestInstance() 152 …tcu::fillWithGrid(m_textures[1]->getLevel(levelNdx, 0), 4, tcu::RGBA(colorA).toVec()*cScale + cBia… in Texture2DFilteringTestInstance() 343 for (int levelNdx = 0; levelNdx < numLevels; levelNdx++) in TextureCubeFilteringTestInstance() local 345 …tcu::fillWithComponentGradients(m_textures[0]->getLevel(levelNdx, face), gradients[face][0]*cScale… in TextureCubeFilteringTestInstance() 352 for (int levelNdx = 0; levelNdx < numLevels; levelNdx++) in TextureCubeFilteringTestInstance() local 355 const deUint32 rgb = step*levelNdx*face; in TextureCubeFilteringTestInstance() 359 …tcu::fillWithGrid(m_textures[1]->getLevel(levelNdx, face), 4, tcu::RGBA(colorA).toVec()*cScale + c… in TextureCubeFilteringTestInstance() [all …]
|
/external/deqp/external/vulkancts/modules/vulkan/image/ |
D | vktImageCompressionTranscodingSupport.cpp | 1548 for (deUint32 levelNdx = 0; levelNdx < getLevelCount(); ++levelNdx) in iterate() local 1550 DE_ASSERT(m_srcData[levelNdx][layerNdx]->size() == m_dstData[levelNdx][layerNdx]->size()); in iterate() 1557 for (deUint32 levelNdx = 0; levelNdx < getLevelCount(); ++levelNdx) in iterate() local 1561 …erifyDecompression(*m_srcData[levelNdx][layerNdx], m_compressedImage, levelNdx, layerNdx, m_compre… in iterate() 1566 …erifyDecompression(*m_dstData[levelNdx][layerNdx], m_compressedImage, levelNdx, layerNdx, m_compre… in iterate() 1604 for (deUint32 levelNdx = 0; levelNdx < getLevelCount(); ++levelNdx) in prepareData() local 1606 m_srcData[levelNdx].resize(getLayerCount()); in prepareData() 1607 m_dstData[levelNdx].resize(getLayerCount()); in prepareData() 1608 m_uncompressedImages[levelNdx].resize(getLayerCount()); in prepareData() 1612 m_srcData[levelNdx][layerNdx] = SharedPtr<RawDataVector>(new RawDataVector); in prepareData() [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 …]
|
/external/deqp/framework/common/ |
D | tcuTexture.cpp | 2916 …getCubeArrayFaceAccess (const ConstPixelBufferAccess* const levels, int levelNdx, int slice, CubeF… in getCubeArrayFaceAccess() argument 2918 const ConstPixelBufferAccess& level = levels[levelNdx]; in getCubeArrayFaceAccess() 3103 inline int getMipPyramidLevelSize (int baseLevelSize, int levelNdx) in getMipPyramidLevelSize() argument 3105 return de::max(baseLevelSize >> levelNdx, 1); in getMipPyramidLevelSize() 3122 for (int levelNdx = 0; levelNdx < other.getNumLevels(); levelNdx++) in TextureLevelPyramid() local 3124 if (!other.isLevelEmpty(levelNdx)) in TextureLevelPyramid() 3126 const tcu::ConstPixelBufferAccess& srcLevel = other.getLevel(levelNdx); in TextureLevelPyramid() 3128 m_data[levelNdx] = other.m_data[levelNdx]; in TextureLevelPyramid() 3129 …m_access[levelNdx] = PixelBufferAccess(srcLevel.getFormat(), srcLevel.getWidth(), srcLevel.getHeig… in TextureLevelPyramid() 3143 for (int levelNdx = 0; levelNdx < other.getNumLevels(); levelNdx++) in operator =() local [all …]
|