Lines Matching refs:levelSize

386 		int		levelSize	= de::max(1, m_size >> levelNdx);  in verifyTexture()  local
394 if (levelSize <= 2) in verifyTexture()
407 renderTex(dst, shaderID, levelSize, levelSize); in verifyTexture()
725 int levelSize = de::max(1, m_size >> ndx); in createTexture() local
727 levelData.setSize(levelSize, levelSize); in createTexture()
736 …glTexImage2D(s_cubeMapFaces[face], ndx, m_internalFormat, levelSize, levelSize, 0, m_format, m_dat… in createTexture()
932 int levelSize = de::max(1, m_size >> levelNdx); in createTexture() local
936 levelData.setSize(levelSize, levelSize); in createTexture()
939 …glTexImage2D(s_cubeMapFaces[face], levelNdx, m_internalFormat, levelSize, levelSize, 0, m_format, … in createTexture()
1042 int levelSize = de::max(1, m_size >> ndx); in createTexture() local
1043 int rowPitch = deAlign32(m_texFormat.getPixelSize()*levelSize, m_alignment); in createTexture()
1046 int cellSize = de::max(1, levelSize >> 2); in createTexture()
1048 data.resize(rowPitch*levelSize); in createTexture()
1049 …tcu::fillWithGrid(tcu::PixelBufferAccess(m_texFormat, levelSize, levelSize, 1, rowPitch, 0, &data[… in createTexture()
1052 …glTexImage2D(s_cubeMapFaces[face], ndx, m_internalFormat, levelSize, levelSize, 0, m_format, m_dat… in createTexture()
1301 int levelSize = de::max(1, m_size >> ndx); in createTexture() local
1303 data.setSize(levelSize, levelSize); in createTexture()
1312 …glTexImage2D(s_cubeMapFaces[face], ndx, m_internalFormat, levelSize, levelSize, 0, m_format, m_dat… in createTexture()
1319 int levelSize = de::max(1, m_size >> ndx); in createTexture() local
1323 int w = rnd.getInt(1, levelSize); in createTexture()
1324 int h = rnd.getInt(1, levelSize); in createTexture()
1325 int x = rnd.getInt(0, levelSize-w); in createTexture()
1326 int y = rnd.getInt(0, levelSize-h); in createTexture()
1591 int levelSize = de::max(1, m_size >> ndx); in createTexture() local
1594 …glTexImage2D(s_cubeMapFaces[face], ndx, m_internalFormat, levelSize, levelSize, 0, m_format, m_dat… in createTexture()
1600 int levelSize = de::max(1, m_size >> ndx); in createTexture() local
1602 data.setSize(levelSize, levelSize); in createTexture()
1611 …glTexSubImage2D(s_cubeMapFaces[face], ndx, 0, 0, levelSize, levelSize, m_format, m_dataType, data.… in createTexture()
1946 int levelSize = de::max(1, m_size >> ndx); in createTexture() local
1950 int x = rnd.getInt(0, getWidth() - levelSize); in createTexture()
1951 int y = rnd.getInt(0, getHeight() - levelSize); in createTexture()
1953 glCopyTexImage2D(s_cubeMapFaces[face], ndx, m_internalFormat, x, y, levelSize, levelSize, 0); in createTexture()
2071 int levelSize = de::max(1, m_size >> ndx); in createTexture() local
2073 data.setSize(levelSize, levelSize); in createTexture()
2082 …glTexImage2D(s_cubeMapFaces[face], ndx, m_format, levelSize, levelSize, 0, m_format, m_dataType, d… in createTexture()
2093 int levelSize = de::max(1, m_size >> ndx); in createTexture() local
2097 int w = rnd.getInt(1, levelSize); in createTexture()
2098 int h = rnd.getInt(1, levelSize); in createTexture()
2099 int xo = rnd.getInt(0, levelSize-w); in createTexture()
2100 int yo = rnd.getInt(0, levelSize-h); in createTexture()
2183 int levelSize = de::max(1, m_size >> ndx); in createTexture() local
2185 levelData.setSize(levelSize, levelSize); in createTexture()
2194 …glTexSubImage2D(s_cubeMapFaces[face], ndx, 0, 0, levelSize, levelSize, transferFmt.format, transfe… in createTexture()