/external/deqp/framework/common/ |
D | tcuTexture.hpp | 491 int getNumLevels (void) const { return m_numLevels; } in getNumLevels() 492 int getWidth (void) const { return m_numLevels > 0 ? m_levels[0].getWidth() : 0; } in getWidth() 493 …ferAccess& getLevel (int ndx) const { DE_ASSERT(de::inBounds(ndx, 0, m_numLevels)); return m_lev… in getLevel() 502 int m_numLevels; member in tcu::Texture1DView 507 : m_numLevels (numLevels) in Texture1DView() 510 DE_ASSERT(m_numLevels >= 0 && ((m_numLevels == 0) == !m_levels)); in Texture1DView() 515 return sampleLevelArray1D(m_levels, m_numLevels, sampler, s, 0 /* depth */, lod); in sample() 520 return sampleLevelArray1DOffset(m_levels, m_numLevels, sampler, s, lod, IVec2(offset, 0)); in sampleOffset() 525 return sampleLevelArray1DCompare(m_levels, m_numLevels, sampler, ref, s, lod, IVec2(0, 0)); in sampleCompare() 530 return sampleLevelArray1DCompare(m_levels, m_numLevels, sampler, ref, s, lod, IVec2(offset, 0)); in sampleCompareOffset() [all …]
|
D | tcuTexture.cpp | 3216 : m_numLevels(0) in TextureCubeView() 3223 : m_numLevels(numLevels) in TextureCubeView() 3236 …return sampleLevelArrayCubeSeamless(m_levels, m_numLevels, coords.face, sampler, coords.s, coords.… in sample() 3238 …return sampleLevelArray2D(m_levels[coords.face], m_numLevels, sampler, coords.s, coords.t, 0 /* de… in sample() 3248 …return sampleLevelArrayCubeSeamlessCompare(m_levels, m_numLevels, coords.face, sampler, ref, coord… in sampleCompare() 3250 …return sampleLevelArray2DCompare(m_levels[coords.face], m_numLevels, sampler, ref, coords.s, coord… in sampleCompare() 3413 : m_numLevels (numLevels) in Texture1DArrayView() 3420 DE_ASSERT(m_numLevels > 0 && m_levels); in selectLayer() 3426 return sampleLevelArray1D(m_levels, m_numLevels, sampler, s, selectLayer(t), lod); in sample() 3431 …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() 262 glTexParameteri(GL_TEXTURE_CUBE_MAP_ARRAY, GL_TEXTURE_MAX_LEVEL, m_numLevels-1); in verifyTexture() 274 for (int levelNdx = 0; levelNdx < m_numLevels; levelNdx++) in verifyTexture() 337 for (int ndx = 0; ndx < m_numLevels; ndx++) in createTexture() 373 …glTexStorage3D (GL_TEXTURE_CUBE_MAP_ARRAY, m_numLevels, m_internalFormat, m_size, m_size, m_depth); in createTexture() 377 for (int ndx = 0; ndx < m_numLevels; ndx++) in createTexture() 437 DE_ASSERT(m_numLevels == 1); in createTexture() 526 DE_ASSERT(m_numLevels == 1); in createTexture() 615 for (int ndx = 0; ndx < m_numLevels; ndx++) in createTexture() [all …]
|