/external/deqp/framework/common/ |
D | tcuTexture.hpp | 529 int getNumLevels (void) const { return m_numLevels; } in getNumLevels() 530 int getWidth (void) const { return m_numLevels > 0 ? m_levels[0].getWidth() : 0; } in getWidth() 531 …ferAccess& getLevel (int ndx) const { DE_ASSERT(de::inBounds(ndx, 0, m_numLevels)); return m_lev… in getLevel() 541 int m_numLevels; member in tcu::Texture1DView 546 : m_numLevels (numLevels) in Texture1DView() 549 DE_ASSERT(m_numLevels >= 0 && ((m_numLevels == 0) == !m_levels)); in Texture1DView() 554 return sampleLevelArray1D(m_levels, m_numLevels, sampler, s, 0 /* depth */, lod); in sample() 559 return sampleLevelArray1DOffset(m_levels, m_numLevels, sampler, s, lod, IVec2(offset, 0)); in sampleOffset() 564 return sampleLevelArray1DCompare(m_levels, m_numLevels, sampler, ref, s, lod, IVec2(0, 0)); in sampleCompare() 569 return sampleLevelArray1DCompare(m_levels, m_numLevels, sampler, ref, s, lod, IVec2(offset, 0)); in sampleCompareOffset() [all …]
|
D | tcuTexture.cpp | 3558 : m_numLevels(0) in TextureCubeView() 3565 : m_numLevels(numLevels) in TextureCubeView() 3579 …return sampleLevelArrayCubeSeamless(m_levels, m_numLevels, coords.face, sampler, coords.s, coords.… in sample() 3581 …return sampleLevelArray2D(m_levels[coords.face], m_numLevels, sampler, coords.s, coords.t, 0 /* de… in sample() 3591 …return sampleLevelArrayCubeSeamlessCompare(m_levels, m_numLevels, coords.face, sampler, ref, coord… in sampleCompare() 3593 …return sampleLevelArray2DCompare(m_levels[coords.face], m_numLevels, sampler, ref, coords.s, coord… in sampleCompare() 3756 : m_numLevels (numLevels) in Texture1DArrayView() 3763 DE_ASSERT(m_numLevels > 0 && m_levels); in selectLayer() 3769 return sampleLevelArray1D(m_levels, m_numLevels, sampler, s, selectLayer(t), lod); in sample() 3774 …return sampleLevelArray1DOffset(m_levels, m_numLevels, sampler, s, lod, IVec2(offset, selectLayer(… in sampleOffset() [all …]
|
/external/deqp/modules/gles3/functional/ |
D | es3fTextureSpecificationTests.cpp | 262 int m_numLevels; member in deqp::gles3::Functional::Texture2DSpecCase 271 , m_numLevels (numLevels) in Texture2DSpecCase() 298 glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MAX_LEVEL, m_numLevels-1); in verifyTexture() 301 for (int levelNdx = 0; levelNdx < m_numLevels; levelNdx++) in verifyTexture() 346 int m_numLevels; member in deqp::gles3::Functional::TextureCubeSpecCase 354 , m_numLevels (numLevels) in TextureCubeSpecCase() 381 glTexParameteri(GL_TEXTURE_CUBE_MAP, GL_TEXTURE_MAX_LEVEL, m_numLevels-1); in verifyTexture() 384 for (int levelNdx = 0; levelNdx < m_numLevels; levelNdx++) in verifyTexture() 445 int m_numLevels; member in deqp::gles3::Functional::Texture2DArraySpecCase 455 , m_numLevels (numLevels) in Texture2DArraySpecCase() [all …]
|
/external/deqp/modules/gles31/functional/ |
D | es31fTextureSpecificationTests.cpp | 220 int m_numLevels; member in deqp::gles31::Functional::TextureCubeArraySpecCase 229 , m_numLevels (numLevels) in TextureCubeArraySpecCase() 266 glTexParameteri(GL_TEXTURE_CUBE_MAP_ARRAY, GL_TEXTURE_MAX_LEVEL, m_numLevels-1); in verifyTexture() 278 for (int levelNdx = 0; levelNdx < m_numLevels; levelNdx++) in verifyTexture() 341 for (int ndx = 0; ndx < m_numLevels; ndx++) in createTexture() 377 …glTexStorage3D (GL_TEXTURE_CUBE_MAP_ARRAY, m_numLevels, m_internalFormat, m_size, m_size, m_depth); in createTexture() 381 for (int ndx = 0; ndx < m_numLevels; ndx++) in createTexture() 441 DE_ASSERT(m_numLevels == 1); in createTexture() 530 DE_ASSERT(m_numLevels == 1); in createTexture() 619 for (int ndx = 0; ndx < m_numLevels; ndx++) in createTexture() [all …]
|
/external/deqp/external/openglcts/modules/gles2/ |
D | es2cTexture3DTests.cpp | 685 int m_numLevels; member in es2cts::TexSubImage3DCase 695 , m_numLevels(static_cast<int>(deLog2Floor32(de::max(width, de::max(height, depth))) + 1)) in TexSubImage3DCase() 714 for (int levelNdx = 0; levelNdx < m_numLevels; levelNdx++) in iterate() 739 for (int levelNdx = 0; levelNdx < m_numLevels - 2; levelNdx++) in iterate() 795 int m_numLevels; member in es2cts::CopyTexSubImage3DCase 806 , m_numLevels(static_cast<int>(deLog2Floor32(de::max(width, de::max(height, depth))) + 1)) in CopyTexSubImage3DCase() 843 for (int levelNdx = 0; levelNdx < m_numLevels; levelNdx++) in iterate() 866 for (int levelNdx = 0; levelNdx < m_numLevels - 2; levelNdx++) in iterate() 922 int m_numLevels; member in es2cts::FramebufferTexture3DCase 933 , m_numLevels(static_cast<int>(deLog2Floor32(de::max(width, de::max(height, depth))) + 1)) in FramebufferTexture3DCase() [all …]
|