/external/deqp/modules/gles2/functional/ |
D | es2fTextureSpecificationTests.cpp | 492 int levelW = de::max(1, m_width >> 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() 530 int levelW = de::max(1, m_width >> 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() 645 int levelW = de::max(1, m_width >> ndx); in createTexture() local 650 levelData.setSize(levelW, levelH); in createTexture() [all …]
|
D | es2fTextureCompletenessTests.cpp | 293 …int levelW = (levelNdx == m_invalidLevelNdx) ? m_invalidLevelSize.x() : de::max(1, m_size.x() >> l… in createTexture() local 299 …glTexImage2D(GL_TEXTURE_2D, levelNdx, GL_RGBA, levelW, levelH, 0, GL_RGBA, GL_UNSIGNED_BYTE, level… in createTexture() 360 int levelW = de::max(1, m_size.x() >> levelNdx); in createTexture() local 368 …glTexImage2D(GL_TEXTURE_2D, levelNdx, format, levelW, levelH, 0, format, GL_UNSIGNED_BYTE, levelDa… in createTexture() 414 int levelW = de::max(1, m_size.x() >> levelNdx); in createTexture() local 419 …glTexImage2D(GL_TEXTURE_2D, levelNdx, GL_RGBA, levelW, levelH, 0, GL_RGBA, GL_UNSIGNED_BYTE, level… in createTexture() 513 int levelW = de::max(1, m_size.x() >> levelNdx); in createTexture() local 519 …glTexImage2D(GL_TEXTURE_2D, levelNdx, GL_RGBA, levelW, levelH, 0, GL_RGBA, GL_UNSIGNED_BYTE, level… in createTexture() 618 int levelW = de::max(1, m_size.x() >> levelNdx); in createTexture() local 622 levelW = m_invalidLevelSize.x(); in createTexture() [all …]
|
/external/deqp/modules/gles31/functional/ |
D | es31fTextureSpecificationTests.cpp | 341 int levelW = de::max(1, m_size >> ndx); in createTexture() local 345 levelData.setSize(levelW, levelW, m_depth); in createTexture() 348 …glTexImage3D(GL_TEXTURE_CUBE_MAP_ARRAY, ndx, m_internalFormat, levelW, levelW, m_depth, 0, transfe… in createTexture() 381 int levelW = de::max(1, m_size >> ndx); in createTexture() local 385 levelData.setSize(levelW, levelW, m_depth); in createTexture() 388 …glTexSubImage3D(GL_TEXTURE_CUBE_MAP_ARRAY, ndx, 0, 0, 0, levelW, levelW, m_depth, transferFmt.form… in createTexture() 619 const int levelW = de::max(1, m_size >> ndx); in createTexture() local 623 levelData.setSize(levelW, levelW, m_depth); in createTexture() 626 …glTexImage3D(GL_TEXTURE_CUBE_MAP_ARRAY, ndx, m_internalFormat, levelW, levelW, m_depth, 0, fmt.for… in createTexture() 666 const int levelW = de::max(1, m_size >> ndx); in createTexture() local [all …]
|
D | es31fShaderFramebufferFetchTests.cpp | 1169 int levelW = de::max(1, VIEWPORT_WIDTH >> 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/modules/gles3/functional/ |
D | es3fTextureSpecificationTests.cpp | 303 int levelW = de::max(1, m_width >> levelNdx); in verifyTexture() local 316 renderTex(dst, shaderID, levelW, levelH); in verifyTexture() 494 int levelW = de::max(1, m_width >> levelNdx); in verifyTexture() local 507 renderTex(dst, shaderID, levelW, levelH); in verifyTexture() 588 int levelW = de::max(1, m_width >> levelNdx); in verifyTexture() local 608 renderTex(dst, shaderID, levelW, levelH); in verifyTexture() 670 int levelW = de::max(1, m_width >> 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() 770 int levelW = de::max(1, m_width >> ndx); in createTexture() local [all …]
|
/external/deqp/framework/opengl/simplereference/ |
D | sglrReferenceContext.cpp | 1682 int levelW = de::max(1, width >> level); in texStorage2D() local 1685 texture.allocLevel(level, storageFmt, levelW, levelH); in texStorage2D() 1700 int levelW = de::max(1, width >> level); in texStorage2D() local 1704 texture.allocFace(level, (tcu::CubeFace)face, storageFmt, levelW, levelH); in texStorage2D() 1738 int levelW = de::max(1, width >> level); in texStorage3D() local 1741 texture.allocLevel(level, storageFmt, levelW, levelH, depth); in texStorage3D() 1758 int levelW = de::max(1, width >> level); in texStorage3D() local 1762 texture.allocLevel(level, storageFmt, levelW, levelH, levelD); in texStorage3D() 1780 int levelW = de::max(1, width >> level); in texStorage3D() local 1783 texture.allocLevel(level, storageFmt, levelW, levelH, depth); in texStorage3D() [all …]
|