/external/deqp/modules/gles2/functional/ |
D | es2fTextureSpecificationTests.cpp | 489 int levelH = de::max(1, m_height >> 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() 527 int levelH = de::max(1, m_height >> 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() 639 int levelH = de::max(1, m_height >> ndx); in createTexture() local 643 levelData.setSize(levelW, levelH); in createTexture() [all …]
|
D | es2fTextureCompletenessTests.cpp | 288 …int levelH = (levelNdx == m_invalidLevelNdx) ? m_invalidLevelSize.y() : de::max(1, m_size.y() >> l… in createTexture() local 293 …glTexImage2D(GL_TEXTURE_2D, levelNdx, GL_RGBA, levelW, levelH, 0, GL_RGBA, GL_UNSIGNED_BYTE, level… in createTexture() 357 int levelH = de::max(1, m_size.y() >> levelNdx); in createTexture() local 364 …glTexImage2D(GL_TEXTURE_2D, levelNdx, format, levelW, levelH, 0, format, GL_UNSIGNED_BYTE, levelDa… in createTexture() 413 int levelH = de::max(1, m_size.y() >> levelNdx); in createTexture() local 417 …glTexImage2D(GL_TEXTURE_2D, levelNdx, GL_RGBA, levelW, levelH, 0, GL_RGBA, GL_UNSIGNED_BYTE, level… in createTexture() 516 int levelH = de::max(1, m_size.y() >> levelNdx); in createTexture() local 521 …glTexImage2D(GL_TEXTURE_2D, levelNdx, GL_RGBA, levelW, levelH, 0, GL_RGBA, GL_UNSIGNED_BYTE, level… in createTexture() 625 int levelH = de::max(1, m_size.y() >> levelNdx); in createTexture() local 629 levelH = m_invalidLevelSize.y(); in createTexture() [all …]
|
/external/deqp/modules/gles3/functional/ |
D | es3fTextureSpecificationTests.cpp | 304 int levelH = de::max(1, m_height >> levelNdx); in verifyTexture() local 316 renderTex(dst, shaderID, levelW, levelH); in verifyTexture() 495 int levelH = de::max(1, m_height >> levelNdx); in verifyTexture() local 507 renderTex(dst, shaderID, levelW, levelH); in verifyTexture() 589 int levelH = de::max(1, m_height >> levelNdx); in verifyTexture() local 608 renderTex(dst, shaderID, levelW, levelH); in verifyTexture() 671 int levelH = de::max(1, m_height >> ndx); in createTexture() local 675 levelData.setSize(levelW, levelH); in createTexture() 678 …glTexImage2D(GL_TEXTURE_2D, ndx, m_internalFormat, levelW, levelH, 0, m_format, m_dataType, levelD… in createTexture() 771 int levelH = de::max(1, m_height >> ndx); in createTexture() local [all …]
|
/external/deqp/framework/opengl/simplereference/ |
D | sglrReferenceContext.cpp | 1683 int levelH = de::max(1, height >> level); in texStorage2D() local 1685 texture.allocLevel(level, storageFmt, levelW, levelH); in texStorage2D() 1701 int levelH = de::max(1, height >> level); in texStorage2D() local 1704 texture.allocFace(level, (tcu::CubeFace)face, storageFmt, levelW, levelH); in texStorage2D() 1739 int levelH = de::max(1, height >> level); in texStorage3D() local 1741 texture.allocLevel(level, storageFmt, levelW, levelH, depth); in texStorage3D() 1759 int levelH = de::max(1, height >> level); in texStorage3D() local 1762 texture.allocLevel(level, storageFmt, levelW, levelH, levelD); in texStorage3D() 1781 int levelH = de::max(1, height >> level); in texStorage3D() local 1783 texture.allocLevel(level, storageFmt, levelW, levelH, depth); in texStorage3D() [all …]
|