Lines Matching refs:levelNdx
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
414 int levelW = de::max(1, m_size.x() >> levelNdx); in createTexture()
415 int levelH = de::max(1, m_size.y() >> levelNdx); in createTexture()
418 if (levelNdx != m_missingLevelNdx) in createTexture()
419 …glTexImage2D(GL_TEXTURE_2D, levelNdx, GL_RGBA, levelW, levelH, 0, GL_RGBA, GL_UNSIGNED_BYTE, level… in createTexture()
511 for (int levelNdx = 0; levelNdx < numLevels; levelNdx++) in createTexture() local
513 int levelW = de::max(1, m_size.x() >> levelNdx); in createTexture()
514 int levelH = de::max(1, m_size.y() >> levelNdx); in createTexture()
519 …glTexImage2D(GL_TEXTURE_2D, levelNdx, GL_RGBA, levelW, levelH, 0, GL_RGBA, GL_UNSIGNED_BYTE, level… in createTexture()
611 for (int levelNdx = 0; levelNdx < numLevels; levelNdx++) in createTexture() local
618 int levelW = de::max(1, m_size.x() >> levelNdx); in createTexture()
619 int levelH = de::max(1, m_size.y() >> levelNdx); in createTexture()
620 …if (levelNdx == m_invalidLevelNdx && (m_invalidCubeFace == tcu::CUBEFACE_LAST || m_invalidCubeFace… in createTexture()
625 …glTexImage2D(s_cubeTargets[targetNdx], levelNdx, GL_RGBA, levelW, levelH, 0, GL_RGBA, GL_UNSIGNED_… in createTexture()
681 for (int levelNdx = 0; levelNdx < numLevels; levelNdx++) in createTexture() local
686 int levelW = de::max(1, m_size.x() >> levelNdx); in createTexture()
687 int levelH = de::max(1, m_size.y() >> levelNdx); in createTexture()
692 if (levelNdx == 0 && (m_invalidCubeFace == tcu::CUBEFACE_LAST || m_invalidCubeFace == targetNdx)) in createTexture()
695 …glTexImage2D(s_cubeTargets[targetNdx], levelNdx, format, levelW, levelH, 0, format, GL_UNSIGNED_BY… in createTexture()
748 for (int levelNdx = 0; levelNdx < numLevels; levelNdx++) in createTexture() local
753 int levelW = (levelNdx == m_invalidLevelNdx) ? m_size.x() : de::max(1, m_size.x() >> levelNdx); in createTexture()
754 int levelH = (levelNdx == m_invalidLevelNdx) ? m_size.y() : de::max(1, m_size.y() >> levelNdx); in createTexture()
756 if (levelNdx != m_invalidLevelNdx || m_invalidCubeFace != tcu::CUBEFACE_LAST) in createTexture()
762 …glTexImage2D(s_cubeTargets[targetNdx], levelNdx, GL_RGBA, levelW, levelH, 0, GL_RGBA, GL_UNSIGNED_… in createTexture()
860 for (int levelNdx = 0; levelNdx < numLevels; levelNdx++) in createTexture() local
862 int levelW = de::max(1, m_size.x() >> levelNdx); in createTexture()
863 int levelH = de::max(1, m_size.y() >> levelNdx); in createTexture()
866 …glTexImage2D(s_cubeTargets[targetNdx], levelNdx, GL_RGBA, levelW, levelH, 0, GL_RGBA, GL_UNSIGNED_… in createTexture()