/external/deqp/modules/gles2/functional/ |
D | es2fTextureSpecificationTests.cpp | 493 int levelH = de::max(1, m_height >> levelNdx); in verifyTex2D() local 497 if (levelW <= 2 || levelH <= 2) in verifyTex2D() 502 renderTex2D(result, levelW, levelH); in verifyTex2D() 506 renderTex2D(reference, levelW, levelH); in verifyTex2D() 531 int levelH = de::max(1, m_height >> levelNdx); in verifyTexCube() local 539 if (levelW <= 2 || levelH <= 2) in verifyTexCube() 544 renderTexCube(result, levelW, levelH, (tcu::CubeFace)face); in verifyTexCube() 548 renderTexCube(reference, levelW, levelH, (tcu::CubeFace)face); in verifyTexCube() 646 int levelH = de::max(1, m_height >> ndx); in createTexture() local 650 levelData.setSize(levelW, levelH); in createTexture() [all …]
|
D | es2fTextureCompletenessTests.cpp | 294 …int levelH = (levelNdx == m_invalidLevelNdx) ? m_invalidLevelSize.y() : de::max(1, m_size.y() >> l… in createTexture() local 299 …glTexImage2D(GL_TEXTURE_2D, levelNdx, GL_RGBA, levelW, levelH, 0, GL_RGBA, GL_UNSIGNED_BYTE, level… in createTexture() 361 int levelH = de::max(1, m_size.y() >> levelNdx); in createTexture() local 368 …glTexImage2D(GL_TEXTURE_2D, levelNdx, format, levelW, levelH, 0, format, GL_UNSIGNED_BYTE, levelDa… in createTexture() 415 int levelH = de::max(1, m_size.y() >> levelNdx); in createTexture() local 419 …glTexImage2D(GL_TEXTURE_2D, levelNdx, GL_RGBA, levelW, levelH, 0, GL_RGBA, GL_UNSIGNED_BYTE, level… in createTexture() 514 int levelH = de::max(1, m_size.y() >> levelNdx); in createTexture() local 519 …glTexImage2D(GL_TEXTURE_2D, levelNdx, GL_RGBA, levelW, levelH, 0, GL_RGBA, GL_UNSIGNED_BYTE, level… in createTexture() 619 int levelH = de::max(1, m_size.y() >> levelNdx); in createTexture() local 623 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/modules/gles31/functional/ |
D | es31fShaderFramebufferFetchTests.cpp | 1170 int levelH = de::max(1, VIEWPORT_HEIGHT >> level); in create2DTextureArrayMipMaps() local 1172 levelData.setSize(levelW, levelH, 1); in create2DTextureArrayMipMaps() 1175 …m_gl.texImage3D(GL_TEXTURE_2D_ARRAY, level, m_format, levelW, levelH, 1, 0, m_transferFmt.format, … in create2DTextureArrayMipMaps()
|
/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 …]
|