Lines Matching refs:levelW
488 int levelW = de::max(1, m_width >> levelNdx); in verifyTex2D() local
493 if (levelW <= 2 || levelH <= 2) in verifyTex2D()
498 renderTex2D(result, levelW, levelH); in verifyTex2D()
502 renderTex2D(reference, levelW, levelH); in verifyTex2D()
526 int levelW = de::max(1, m_width >> levelNdx); in verifyTexCube() local
535 if (levelW <= 2 || levelH <= 2) in verifyTexCube()
540 renderTexCube(result, levelW, levelH, (tcu::CubeFace)face); in verifyTexCube()
544 renderTexCube(reference, levelW, levelH, (tcu::CubeFace)face); in verifyTexCube()
638 int levelW = de::max(1, m_width >> ndx); in createTexture() local
643 levelData.setSize(levelW, levelH); in createTexture()
646 …glTexImage2D(GL_TEXTURE_2D, ndx, m_format, levelW, levelH, 0, m_format, m_dataType, levelData.getA… in createTexture()
682 int levelW = de::max(1, m_width >> ndx); in createTexture() local
685 levelData.setSize(levelW, levelH); in createTexture()
694 …glTexImage2D(s_cubeMapFaces[face], ndx, m_format, levelW, levelH, 0, m_format, m_dataType, levelDa… in createTexture()
736 int levelW = de::max(1, m_width >> levelNdx); in createTexture() local
741 levelData.setSize(levelW, levelH); in createTexture()
744 …glTexImage2D(GL_TEXTURE_2D, levelNdx, m_format, levelW, levelH, 0, m_format, m_dataType, levelData… in createTexture()
791 int levelW = de::max(1, m_width >> levelNdx); in createTexture() local
796 levelData.setSize(levelW, levelH); in createTexture()
799 …glTexImage2D(s_cubeMapFaces[face], levelNdx, m_format, levelW, levelH, 0, m_format, m_dataType, le… in createTexture()
839 int levelW = de::max(1, m_width >> ndx); in createTexture() local
843 int rowPitch = getRowPitch(fmt, levelW, m_alignment); in createTexture()
844 int cellSize = de::max(1, de::min(levelW >> 2, levelH >> 2)); in createTexture()
847 …tcu::fillWithGrid(tcu::PixelBufferAccess(fmt, levelW, levelH, 1, rowPitch, 0, &data[0]), cellSize,… in createTexture()
849 glTexImage2D(GL_TEXTURE_2D, ndx, m_format, levelW, levelH, 0, m_format, m_dataType, &data[0]); in createTexture()
886 int levelW = de::max(1, m_width >> ndx); in createTexture() local
888 int rowPitch = getRowPitch(fmt, levelW, m_alignment); in createTexture()
891 int cellSize = de::max(1, de::min(levelW >> 2, levelH >> 2)); in createTexture()
894 …tcu::fillWithGrid(tcu::PixelBufferAccess(fmt, levelW, levelH, 1, rowPitch, 0, &data[0]), cellSize,… in createTexture()
897 …glTexImage2D(s_cubeMapFaces[face], ndx, m_format, levelW, levelH, 0, m_format, m_dataType, &data[0… in createTexture()
933 int levelW = de::max(1, m_width >> ndx); in createTexture() local
938 data.setSize(levelW, levelH); in createTexture()
941 …glTexImage2D(GL_TEXTURE_2D, ndx, m_format, levelW, levelH, 0, m_format, m_dataType, data.getAccess… in createTexture()
947 int levelW = de::max(1, m_width >> ndx); in createTexture() local
950 int w = rnd.getInt(1, levelW); in createTexture()
952 int x = rnd.getInt(0, levelW-w); in createTexture()
998 int levelW = de::max(1, m_width >> ndx); in createTexture() local
1001 data.setSize(levelW, levelH); in createTexture()
1010 …glTexImage2D(s_cubeMapFaces[face], ndx, m_format, levelW, levelH, 0, m_format, m_dataType, data.ge… in createTexture()
1017 int levelW = de::max(1, m_width >> ndx); in createTexture() local
1022 int w = rnd.getInt(1, levelW); in createTexture()
1024 int x = rnd.getInt(0, levelW-w); in createTexture()
1070 int levelW = de::max(1, m_width >> ndx); in createTexture() local
1073 glTexImage2D(GL_TEXTURE_2D, ndx, m_format, levelW, levelH, 0, m_format, m_dataType, DE_NULL); in createTexture()
1079 int levelW = de::max(1, m_width >> ndx); in createTexture() local
1084 data.setSize(levelW, levelH); in createTexture()
1087 …glTexSubImage2D(GL_TEXTURE_2D, ndx, 0, 0, levelW, levelH, m_format, m_dataType, data.getAccess().g… in createTexture()
1124 int levelW = de::max(1, m_width >> ndx); in createTexture() local
1128 …glTexImage2D(s_cubeMapFaces[face], ndx, m_format, levelW, levelH, 0, m_format, m_dataType, DE_NULL… in createTexture()
1134 int levelW = de::max(1, m_width >> ndx); in createTexture() local
1137 data.setSize(levelW, levelH); in createTexture()
1146 …glTexSubImage2D(s_cubeMapFaces[face], ndx, 0, 0, levelW, levelH, m_format, m_dataType, data.getAcc… in createTexture()
1299 int levelW = de::max(1, m_width >> ndx); in createTexture() local
1301 int x = rnd.getInt(0, getWidth() - levelW); in createTexture()
1304 glCopyTexImage2D(GL_TEXTURE_2D, ndx, m_internalFormat, x, y, levelW, levelH, 0); in createTexture()
1349 int levelW = de::max(1, m_width >> ndx); in createTexture() local
1354 int x = rnd.getInt(0, getWidth() - levelW); in createTexture()
1357 glCopyTexImage2D(s_cubeMapFaces[face], ndx, m_internalFormat, x, y, levelW, levelH, 0); in createTexture()
1404 int levelW = de::max(1, m_width >> ndx); in createTexture() local
1411 data.setSize(levelW, levelH); in createTexture()
1414 …glTexImage2D(GL_TEXTURE_2D, ndx, m_format, levelW, levelH, 0, m_format, m_dataType, data.getAccess… in createTexture()
1423 int levelW = de::max(1, m_width >> ndx); in createTexture() local
1426 int w = rnd.getInt(1, levelW); in createTexture()
1428 int xo = rnd.getInt(0, levelW-w); in createTexture()
1480 int levelW = de::max(1, m_width >> ndx); in createTexture() local
1483 data.setSize(levelW, levelH); in createTexture()
1492 …glTexImage2D(s_cubeMapFaces[face], ndx, m_format, levelW, levelH, 0, m_format, m_dataType, data.ge… in createTexture()
1502 int levelW = de::max(1, m_width >> ndx); in createTexture() local
1507 int w = rnd.getInt(1, levelW); in createTexture()
1509 int xo = rnd.getInt(0, levelW-w); in createTexture()