/external/deqp/framework/common/ |
D | tcuTexture.hpp | 496 int getNumLevels (void) const { return m_numLevels; } in getNumLevels() 497 int getWidth (void) const { return m_numLevels > 0 ? m_levels[0].getWidth() : 0; } in getWidth() 498 …ferAccess& getLevel (int ndx) const { DE_ASSERT(de::inBounds(ndx, 0, m_numLevels)); return m_lev… in getLevel() 507 int m_numLevels; member in tcu::Texture1DView 512 : m_numLevels (numLevels) in Texture1DView() 515 DE_ASSERT(m_numLevels >= 0 && ((m_numLevels == 0) == !m_levels)); in Texture1DView() 520 return sampleLevelArray1D(m_levels, m_numLevels, sampler, s, 0 /* depth */, lod); in sample() 525 return sampleLevelArray1DOffset(m_levels, m_numLevels, sampler, s, lod, IVec2(offset, 0)); in sampleOffset() 530 return sampleLevelArray1DCompare(m_levels, m_numLevels, sampler, ref, s, lod, IVec2(0, 0)); in sampleCompare() 535 return sampleLevelArray1DCompare(m_levels, m_numLevels, sampler, ref, s, lod, IVec2(offset, 0)); in sampleCompareOffset() [all …]
|
D | tcuTexture.cpp | 3272 : m_numLevels(0) in TextureCubeView() 3279 : m_numLevels(numLevels) in TextureCubeView() 3292 …return sampleLevelArrayCubeSeamless(m_levels, m_numLevels, coords.face, sampler, coords.s, coords.… in sample() 3294 …return sampleLevelArray2D(m_levels[coords.face], m_numLevels, sampler, coords.s, coords.t, 0 /* de… in sample() 3304 …return sampleLevelArrayCubeSeamlessCompare(m_levels, m_numLevels, coords.face, sampler, ref, coord… in sampleCompare() 3306 …return sampleLevelArray2DCompare(m_levels[coords.face], m_numLevels, sampler, ref, coords.s, coord… in sampleCompare() 3469 : m_numLevels (numLevels) in Texture1DArrayView() 3476 DE_ASSERT(m_numLevels > 0 && m_levels); in selectLayer() 3482 return sampleLevelArray1D(m_levels, m_numLevels, sampler, s, selectLayer(t), lod); in sample() 3487 …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() 264 glTexParameteri(GL_TEXTURE_CUBE_MAP_ARRAY, GL_TEXTURE_MAX_LEVEL, m_numLevels-1); in verifyTexture() 276 for (int levelNdx = 0; levelNdx < m_numLevels; levelNdx++) in verifyTexture() 339 for (int ndx = 0; ndx < m_numLevels; ndx++) in createTexture() 375 …glTexStorage3D (GL_TEXTURE_CUBE_MAP_ARRAY, m_numLevels, m_internalFormat, m_size, m_size, m_depth); in createTexture() 379 for (int ndx = 0; ndx < m_numLevels; ndx++) in createTexture() 439 DE_ASSERT(m_numLevels == 1); in createTexture() 528 DE_ASSERT(m_numLevels == 1); in createTexture() 617 for (int ndx = 0; ndx < m_numLevels; ndx++) in createTexture() [all …]
|