Lines Matching refs:levelNdx
166 for (int levelNdx = 0; levelNdx < numLevels; levelNdx++)
169 deUint32 inc = deClamp32(step*levelNdx, 0x00, 0xff);
174 m_texture->getRefTexture().allocLevel(levelNdx);
175 tcu::clear(m_texture->getRefTexture().getLevel(levelNdx), tcu::RGBA(color).toVec());
518 for (int levelNdx = 0; levelNdx < numLevels; levelNdx++)
521 deUint32 inc = deClamp32(step*levelNdx, 0x00, 0xff);
537 m_texture->getRefTexture().allocLevel((tcu::CubeFace)faceNdx, levelNdx);
538 tcu::clear(m_texture->getRefTexture().getLevelFace(levelNdx, (tcu::CubeFace)faceNdx), tcu::RGBA(color).toVec());
848 for (int levelNdx = 0; levelNdx < numLevels; levelNdx++)
850 const int levelWidth = de::max(1, m_width >> levelNdx);
851 const int levelHeight = de::max(1, m_height >> levelNdx);
852 const RandomViewport viewport (m_renderCtx.getRenderTarget(), levelWidth, levelHeight, deStringHash(getName()) + levelNdx);
857 resultTexture.allocLevel(levelNdx);
858 glu::readPixels(m_renderCtx, viewport.x, viewport.y, resultTexture.getLevel(levelNdx));
995 for (int levelNdx = 0; levelNdx < numLevels; levelNdx++)
997 const int levelWidth = de::max(1, m_size >> levelNdx);
998 const int levelHeight = de::max(1, m_size >> levelNdx);
1002 const RandomViewport viewport (m_renderCtx.getRenderTarget(), levelWidth*3, levelHeight*2, deStringHash(getName()) ^ deInt32Hash(levelNdx + faceNdx));
1010 resultTexture.allocLevel(face, levelNdx);
1011 glu::readPixels(m_renderCtx, viewport.x, viewport.y, resultTexture.getLevelFace(levelNdx, face));