Lines Matching refs:levelNdx
285 for (int levelNdx = 0; levelNdx < numLevels; levelNdx++) in createTexture() local
287 …int levelW = (levelNdx == m_invalidLevelNdx) ? m_invalidLevelSize.x() : de::max(1, m_size.x() >> l… in createTexture()
288 …int levelH = (levelNdx == m_invalidLevelNdx) ? m_invalidLevelSize.y() : de::max(1, m_size.y() >> l… in createTexture()
293 …glTexImage2D(GL_TEXTURE_2D, levelNdx, GL_RGBA, levelW, levelH, 0, GL_RGBA, GL_UNSIGNED_BYTE, level… in createTexture()
354 for (int levelNdx = 0; levelNdx < numLevels; levelNdx++) in createTexture() local
356 int levelW = de::max(1, m_size.x() >> levelNdx); in createTexture()
357 int levelH = de::max(1, m_size.y() >> levelNdx); in createTexture()
362 deUint32 format = levelNdx == m_invalidLevelNdx ? m_invalidFormat : m_format; in createTexture()
364 …glTexImage2D(GL_TEXTURE_2D, levelNdx, format, levelW, levelH, 0, format, GL_UNSIGNED_BYTE, levelDa… in createTexture()
407 for (int levelNdx = 0; levelNdx < numLevels; levelNdx++) in createTexture() local
412 int levelW = de::max(1, m_size.x() >> levelNdx); in createTexture()
413 int levelH = de::max(1, m_size.y() >> levelNdx); in createTexture()
416 if (levelNdx != m_missingLevelNdx) in createTexture()
417 …glTexImage2D(GL_TEXTURE_2D, levelNdx, GL_RGBA, levelW, levelH, 0, GL_RGBA, GL_UNSIGNED_BYTE, level… in createTexture()
513 for (int levelNdx = 0; levelNdx < numLevels; levelNdx++) in createTexture() local
515 int levelW = de::max(1, m_size.x() >> levelNdx); in createTexture()
516 int levelH = de::max(1, m_size.y() >> levelNdx); in createTexture()
521 …glTexImage2D(GL_TEXTURE_2D, levelNdx, GL_RGBA, levelW, levelH, 0, GL_RGBA, GL_UNSIGNED_BYTE, level… in createTexture()
617 for (int levelNdx = 0; levelNdx < numLevels; levelNdx++) in createTexture() local
624 int levelW = de::max(1, m_size.x() >> levelNdx); in createTexture()
625 int levelH = de::max(1, m_size.y() >> levelNdx); in createTexture()
626 …if (levelNdx == m_invalidLevelNdx && (m_invalidCubeFace == tcu::CUBEFACE_LAST || m_invalidCubeFace… in createTexture()
631 …glTexImage2D(s_cubeTargets[targetNdx], levelNdx, GL_RGBA, levelW, levelH, 0, GL_RGBA, GL_UNSIGNED_… in createTexture()
689 for (int levelNdx = 0; levelNdx < numLevels; levelNdx++) in createTexture() local
694 int levelW = de::max(1, m_size.x() >> levelNdx); in createTexture()
695 int levelH = de::max(1, m_size.y() >> levelNdx); in createTexture()
700 if (levelNdx == 0 && (m_invalidCubeFace == tcu::CUBEFACE_LAST || m_invalidCubeFace == targetNdx)) in createTexture()
703 …glTexImage2D(s_cubeTargets[targetNdx], levelNdx, format, levelW, levelH, 0, format, GL_UNSIGNED_BY… in createTexture()
758 for (int levelNdx = 0; levelNdx < numLevels; levelNdx++) in createTexture() local
763 int levelW = (levelNdx == m_invalidLevelNdx) ? m_size.x() : de::max(1, m_size.x() >> levelNdx); in createTexture()
764 int levelH = (levelNdx == m_invalidLevelNdx) ? m_size.y() : de::max(1, m_size.y() >> levelNdx); in createTexture()
766 if (levelNdx != m_invalidLevelNdx || m_invalidCubeFace != tcu::CUBEFACE_LAST) in createTexture()
772 …glTexImage2D(s_cubeTargets[targetNdx], levelNdx, GL_RGBA, levelW, levelH, 0, GL_RGBA, GL_UNSIGNED_… in createTexture()
874 for (int levelNdx = 0; levelNdx < numLevels; levelNdx++) in createTexture() local
876 int levelW = de::max(1, m_size.x() >> levelNdx); in createTexture()
877 int levelH = de::max(1, m_size.y() >> levelNdx); in createTexture()
880 …glTexImage2D(s_cubeTargets[targetNdx], levelNdx, GL_RGBA, levelW, levelH, 0, GL_RGBA, GL_UNSIGNED_… in createTexture()