Searched defs:levelNdx (Results 1 - 7 of 7) sorted by relevance

/external/deqp/framework/opengl/
H A DgluTexture.cpp91 for (int levelNdx = 0; levelNdx < m_refTexture.getNumLevels(); levelNdx++)
93 if (m_refTexture.isLevelEmpty(levelNdx))
96 tcu::ConstPixelBufferAccess access = m_refTexture.getLevel(levelNdx);
97 gl.texImage1D(GL_TEXTURE_1D, levelNdx, m_format, access.getWidth(), 0 /* border */, transferFormat.format, transferFormat.dataType, access.getDataPtr());
174 for (int levelNdx = 0; levelNdx < m_refTexture.getNumLevels(); levelNdx++)
176 if (m_refTexture.isLevelEmpty(levelNdx))
368 gl.texImage2D(getGLCubeFace((tcu::CubeFace)face), levelNdx, m_format, access.getWidth(), access.getHeight(), 0 /* border */, transferFormat.format, transferFormat.dataType, access.getDataPtr()); local
397 gl.compressedTexImage2D(getGLCubeFace((tcu::CubeFace)face), levelNdx, compressedFormat, local
[all...]
/external/deqp/modules/gles31/functional/
H A Des31fStencilTexturingTests.cpp469 for (int levelNdx = 0; levelNdx < src.getNumLevels(); levelNdx++)
475 if (!src.isLevelEmpty(face, levelNdx))
477 dst.allocLevel(face, levelNdx);
479 const tcu::ConstPixelBufferAccess srcLevel = src.getLevelFace(levelNdx, face);
480 const tcu::PixelBufferAccess dstLevel = dst.getLevelFace(levelNdx, face);
593 for (int levelNdx = 0; levelNdx < levels; levelNdx
949 const int levelNdx = 2; local
[all...]
/external/deqp/framework/opengl/simplereference/
H A DsglrReferenceContext.cpp109 inline int getMipLevelSize (int baseLevelSize, int levelNdx) argument
111 return de::max(baseLevelSize >> levelNdx, 1);
4704 for (int levelNdx = 0; hasLevel(levelNdx); ++levelNdx)
4705 m_effectiveAccess[levelNdx] = tcu::getEffectiveDepthStencilAccess(m_access[levelNdx], mode);
4759 for (int levelNdx = 1; levelNdx < numLevels; levelNdx
[all...]
/external/deqp/framework/common/
H A DtcuTexture.hpp610 bool isLevelEmpty (int levelNdx) const { DE_ASSERT(de::inBounds(levelNdx, 0, getNumLevels())); return m_data[(size_t)levelNdx].empty(); }
611 const ConstPixelBufferAccess& getLevel (int levelNdx) const { DE_ASSERT(de::inBounds(levelNdx, 0, getNumLevels())); return m_access[(size_t)levelNdx]; }
612 const PixelBufferAccess& getLevel (int levelNdx) { DE_ASSERT(de::inBounds(levelNdx, 0, getNumLevels())); return m_access[(size_t)levelNdx]; } argument
617 void allocLevel (int levelNdx, in
[all...]
H A DtcuTexLookupVerifier.cpp1659 static void getCubeLevelFaces (const TextureCubeView& texture, const int levelNdx, ConstPixelBufferAccess (&out)[CUBEFACE_LAST]) argument
1662 out[faceNdx] = texture.getLevelFace(levelNdx, (CubeFace)faceNdx);
1710 for (int levelNdx = minLevel; levelNdx <= maxLevel; levelNdx++)
1712 const float minF = de::clamp(minLod - float(levelNdx), 0.0f, 1.0f);
1713 const float maxF = de::clamp(maxLod - float(levelNdx), 0.0f, 1.0f);
1718 getCubeLevelFaces(texture, levelNdx, faces0);
1719 getCubeLevelFaces(texture, levelNdx + 1, faces1);
1734 for (int levelNdx
2001 getCubeArrayLevelFaces(const TextureCubeArrayView& texture, const int levelNdx, const int layerNdx, ConstPixelBufferAccess (&out)[CUBEFACE_LAST]) argument
[all...]
/external/deqp/modules/gles2/functional/
H A Des2fTextureSpecificationTests.cpp486 for (int levelNdx = 0; levelNdx < numLevels; levelNdx++)
488 int levelW = de::max(1, m_width >> levelNdx);
489 int levelH = de::max(1, m_height >> levelNdx);
507 levelNdx == 0 ? tcu::COMPARE_LOG_RESULT : tcu::COMPARE_LOG_ON_ERROR);
524 for (int levelNdx = 0; levelNdx < numLevels; levelNdx++)
526 int levelW = de::max(1, m_width >> levelNdx);
735 int levelNdx = levels[ndx]; local
789 int levelNdx = images[ndx].first; local
[all...]
/external/deqp/modules/gles3/functional/
H A Des3fTextureSpecificationTests.cpp301 for (int levelNdx = 0; levelNdx < m_numLevels; levelNdx++)
303 int levelW = de::max(1, m_width >> levelNdx);
304 int levelH = de::max(1, m_height >> levelNdx);
320 string levelStr = de::toString(levelNdx);
324 levelNdx == 0 ? tcu::COMPARE_LOG_RESULT : tcu::COMPARE_LOG_ON_ERROR);
384 for (int levelNdx = 0; levelNdx < m_numLevels; levelNdx
867 int levelNdx = levels[ndx]; local
930 int levelNdx = images[ndx].first; local
[all...]

Completed in 200 milliseconds