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()
307 for (int levelNdx = 0; levelNdx < m_refTexture.getNumLevels(); levelNdx++) in upload() local
309 if (m_refTexture.isLevelEmpty(levelNdx)) in upload()
312 tcu::ConstPixelBufferAccess access = m_refTexture.getLevel(levelNdx); in upload()
314 …gl.texSubImage2D(GL_TEXTURE_2D, levelNdx, 0, 0, access.getWidth(), access.getHeight(), transferFo… in upload()
395 for (int levelNdx = 0; levelNdx < m_refTexture.getNumLevels(); levelNdx++) in upload() local
397 if (m_refTexture.isLevelEmpty((tcu::CubeFace)face, levelNdx)) in upload()
400 tcu::ConstPixelBufferAccess access = m_refTexture.getLevelFace(levelNdx, (tcu::CubeFace)face); in upload()
402 …gl.texImage2D(getGLCubeFace((tcu::CubeFace)face), levelNdx, m_format, access.getWidth(), access.ge… in upload()
417 for (int levelNdx = 0; levelNdx < numLevels; levelNdx++) in loadCompressed() local
421 const tcu::CompressedTexture& level = levels[levelNdx*tcu::CUBEFACE_LAST + face]; in loadCompressed()
424 m_refTexture.allocLevel((tcu::CubeFace)face, levelNdx); in loadCompressed()
425 tcu::PixelBufferAccess refLevelAccess = m_refTexture.getLevelFace(levelNdx, (tcu::CubeFace)face); in loadCompressed()
431 gl.compressedTexImage2D(getGLCubeFace((tcu::CubeFace)face), levelNdx, compressedFormat, in loadCompressed()
514 for (int levelNdx = 0; levelNdx < m_refTexture.getNumLevels(); levelNdx++) in upload() local
516 if (m_refTexture.isLevelEmpty(levelNdx)) in upload()
519 tcu::ConstPixelBufferAccess access = m_refTexture.getLevel(levelNdx); in upload()
521 …gl.texImage2D(GL_TEXTURE_1D_ARRAY, levelNdx, m_format, access.getWidth(), access.getHeight(), 0 /*… in upload()
601 for (int levelNdx = 0; levelNdx < m_refTexture.getNumLevels(); levelNdx++) in upload() local
603 if (m_refTexture.isLevelEmpty(levelNdx)) in upload()
606 tcu::ConstPixelBufferAccess access = m_refTexture.getLevel(levelNdx); in upload()
609 …gl.texImage3D(GL_TEXTURE_2D_ARRAY, levelNdx, m_format, access.getWidth(), access.getHeight(), acce… in upload()
623 for (int levelNdx = 0; levelNdx < numLevels; levelNdx++) in loadCompressed() local
625 const tcu::CompressedTexture& level = levels[levelNdx]; in loadCompressed()
628 m_refTexture.allocLevel(levelNdx); in loadCompressed()
629 tcu::PixelBufferAccess refLevelAccess = m_refTexture.getLevel(levelNdx); in loadCompressed()
636 gl.compressedTexImage3D(GL_TEXTURE_2D_ARRAY, levelNdx, compressedFormat, in loadCompressed()
637 …level.getWidth(), level.getHeight(), m_refTexture.getLevel(levelNdx).getDepth(), 0 /* border */, l… in loadCompressed()
723 for (int levelNdx = 0; levelNdx < m_refTexture.getNumLevels(); levelNdx++) in upload() local
725 if (m_refTexture.isLevelEmpty(levelNdx)) in upload()
728 tcu::ConstPixelBufferAccess access = m_refTexture.getLevel(levelNdx); in upload()
731 …gl.texImage3D(GL_TEXTURE_3D, levelNdx, m_format, access.getWidth(), access.getHeight(), access.get… in upload()
748 for (int levelNdx = 0; levelNdx < numLevels; levelNdx++) in loadCompressed() local
750 const tcu::CompressedTexture& level = levels[levelNdx]; in loadCompressed()
753 m_refTexture.allocLevel(levelNdx); in loadCompressed()
754 tcu::PixelBufferAccess refLevelAccess = m_refTexture.getLevel(levelNdx); in loadCompressed()
761 gl.compressedTexImage3D(GL_TEXTURE_3D, levelNdx, compressedFormat, in loadCompressed()
814 for (int levelNdx = 0; levelNdx < m_refTexture.getNumLevels(); levelNdx++) in upload() local
816 if (m_refTexture.isLevelEmpty(levelNdx)) in upload()
819 tcu::ConstPixelBufferAccess access = m_refTexture.getLevel(levelNdx); in upload()
822 …gl.texImage3D(GL_TEXTURE_CUBE_MAP_ARRAY, levelNdx, m_format, access.getWidth(), access.getHeight()… in upload()