Lines Matching refs:levelNdx

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()
200 m_refTexture.allocLevel(levelNdx); in loadCompressed()
201 tcu::PixelBufferAccess refLevelAccess = m_refTexture.getLevel(levelNdx); in loadCompressed()
207 gl.compressedTexImage2D(GL_TEXTURE_2D, levelNdx, compressedFormat, in loadCompressed()
242 for (int levelNdx = 1; levelNdx < numLevels; levelNdx++) in create() local
244 tcu::ImageIO::loadPNG(level, archive, levelFileNames[levelNdx]); in create()
246 texture->getRefTexture().allocLevel(levelNdx); in create()
247 tcu::copy(texture->getRefTexture().getLevel(levelNdx), level.getAccess()); in create()
361 for (int levelNdx = 0; levelNdx < m_refTexture.getNumLevels(); levelNdx++) in upload() local
363 if (m_refTexture.isLevelEmpty((tcu::CubeFace)face, levelNdx)) in upload()
366 tcu::ConstPixelBufferAccess access = m_refTexture.getLevelFace(levelNdx, (tcu::CubeFace)face); in upload()
368 …gl.texImage2D(getGLCubeFace((tcu::CubeFace)face), levelNdx, m_format, access.getWidth(), access.ge… in upload()
383 for (int levelNdx = 0; levelNdx < numLevels; levelNdx++) in loadCompressed() local
387 const tcu::CompressedTexture& level = levels[levelNdx*tcu::CUBEFACE_LAST + face]; in loadCompressed()
390 m_refTexture.allocLevel((tcu::CubeFace)face, levelNdx); in loadCompressed()
391 tcu::PixelBufferAccess refLevelAccess = m_refTexture.getLevelFace(levelNdx, (tcu::CubeFace)face); in loadCompressed()
397 gl.compressedTexImage2D(getGLCubeFace((tcu::CubeFace)face), levelNdx, compressedFormat, in loadCompressed()
480 for (int levelNdx = 0; levelNdx < m_refTexture.getNumLevels(); levelNdx++) in upload() local
482 if (m_refTexture.isLevelEmpty(levelNdx)) in upload()
485 tcu::ConstPixelBufferAccess access = m_refTexture.getLevel(levelNdx); in upload()
487 …gl.texImage2D(GL_TEXTURE_1D_ARRAY, levelNdx, m_format, access.getWidth(), access.getHeight(), 0 /*… in upload()
567 for (int levelNdx = 0; levelNdx < m_refTexture.getNumLevels(); levelNdx++) in upload() local
569 if (m_refTexture.isLevelEmpty(levelNdx)) in upload()
572 tcu::ConstPixelBufferAccess access = m_refTexture.getLevel(levelNdx); in upload()
575 …gl.texImage3D(GL_TEXTURE_2D_ARRAY, levelNdx, m_format, access.getWidth(), access.getHeight(), acce… in upload()
589 for (int levelNdx = 0; levelNdx < numLevels; levelNdx++) in loadCompressed() local
591 const tcu::CompressedTexture& level = levels[levelNdx]; in loadCompressed()
594 m_refTexture.allocLevel(levelNdx); in loadCompressed()
595 tcu::PixelBufferAccess refLevelAccess = m_refTexture.getLevel(levelNdx); in loadCompressed()
602 gl.compressedTexImage3D(GL_TEXTURE_2D_ARRAY, levelNdx, compressedFormat, in loadCompressed()
603 …level.getWidth(), level.getHeight(), m_refTexture.getLevel(levelNdx).getDepth(), 0 /* border */, l… in loadCompressed()
689 for (int levelNdx = 0; levelNdx < m_refTexture.getNumLevels(); levelNdx++) in upload() local
691 if (m_refTexture.isLevelEmpty(levelNdx)) in upload()
694 tcu::ConstPixelBufferAccess access = m_refTexture.getLevel(levelNdx); in upload()
697 …gl.texImage3D(GL_TEXTURE_3D, levelNdx, m_format, access.getWidth(), access.getHeight(), access.get… in upload()
714 for (int levelNdx = 0; levelNdx < numLevels; levelNdx++) in loadCompressed() local
716 const tcu::CompressedTexture& level = levels[levelNdx]; in loadCompressed()
719 m_refTexture.allocLevel(levelNdx); in loadCompressed()
720 tcu::PixelBufferAccess refLevelAccess = m_refTexture.getLevel(levelNdx); in loadCompressed()
727 gl.compressedTexImage3D(GL_TEXTURE_3D, levelNdx, compressedFormat, in loadCompressed()
780 for (int levelNdx = 0; levelNdx < m_refTexture.getNumLevels(); levelNdx++) in upload() local
782 if (m_refTexture.isLevelEmpty(levelNdx)) in upload()
785 tcu::ConstPixelBufferAccess access = m_refTexture.getLevel(levelNdx); in upload()
788 …gl.texImage3D(GL_TEXTURE_CUBE_MAP_ARRAY, levelNdx, m_format, access.getWidth(), access.getHeight()… in upload()