/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 | 343 int levelW = de::max(1, m_size >> ndx); in createTexture() local 347 levelData.setSize(levelW, levelW, m_depth); in createTexture() 350 …glTexImage3D(GL_TEXTURE_CUBE_MAP_ARRAY, ndx, m_internalFormat, levelW, levelW, m_depth, 0, transfe… in createTexture() 383 int levelW = de::max(1, m_size >> ndx); in createTexture() local 387 levelData.setSize(levelW, levelW, m_depth); in createTexture() 390 …glTexSubImage3D(GL_TEXTURE_CUBE_MAP_ARRAY, ndx, 0, 0, 0, levelW, levelW, m_depth, transferFmt.form… in createTexture() 621 const int levelW = de::max(1, m_size >> ndx); in createTexture() local 625 levelData.setSize(levelW, levelW, m_depth); in createTexture() 628 …glTexImage3D(GL_TEXTURE_CUBE_MAP_ARRAY, ndx, m_internalFormat, levelW, levelW, m_depth, 0, fmt.for… in createTexture() 668 const int levelW = de::max(1, m_size >> ndx); in createTexture() local [all …]
|
D | es31fShaderFramebufferFetchTests.cpp | 1214 int levelW = de::max(1, VIEWPORT_WIDTH >> level); in create2DTextureArrayMipMaps() local 1217 levelData.setSize(levelW, levelH, 1); in create2DTextureArrayMipMaps() 1220 …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 | 1702 int levelW = de::max(1, width >> level); in texStorage2D() local 1705 texture.allocLevel(level, storageFmt, levelW, levelH); in texStorage2D() 1720 int levelW = de::max(1, width >> level); in texStorage2D() local 1724 texture.allocFace(level, (tcu::CubeFace)face, storageFmt, levelW, levelH); in texStorage2D() 1758 int levelW = de::max(1, width >> level); in texStorage3D() local 1761 texture.allocLevel(level, storageFmt, levelW, levelH, depth); in texStorage3D() 1778 int levelW = de::max(1, width >> level); in texStorage3D() local 1782 texture.allocLevel(level, storageFmt, levelW, levelH, levelD); in texStorage3D() 1800 int levelW = de::max(1, width >> level); in texStorage3D() local 1803 texture.allocLevel(level, storageFmt, levelW, levelH, depth); in texStorage3D() [all …]
|
/external/angle/src/tests/gl_tests/ |
D | TextureTest.cpp | 4359 GLint levelW = width; in TEST_P() local 4361 glTexImage2D(GL_TEXTURE_2D, level, GL_RGBA, levelW, levelH, 0, GL_RGBA, GL_UNSIGNED_BYTE, in TEST_P() 4363 while (levelW > 1 || levelH > 1) in TEST_P() 4366 levelW = static_cast<GLint>(std::max(1.0, std::floor(width / std::pow(2, level)))); in TEST_P() 4368 glTexImage2D(GL_TEXTURE_2D, level, GL_RGBA, levelW, levelH, 0, GL_RGBA, GL_UNSIGNED_BYTE, in TEST_P() 4377 levelW = width; in TEST_P() 4379 while (levelW > 1 || levelH > 1) in TEST_P() 4381 levelW = static_cast<GLint>(std::floor(width / std::pow(2, level))); in TEST_P()
|