Lines Matching refs:baseLevel
4746 const int baseLevel = getBaseLevel(); in isComplete() local
4748 if (hasLevel(baseLevel)) in isComplete()
4750 const tcu::ConstPixelBufferAccess& level0 = getLevel(baseLevel); in isComplete()
4757 const int numLevels = de::min(getMaxLevel()-baseLevel+1, getNumMipLevels1D(w)); in isComplete()
4761 if (hasLevel(baseLevel+levelNdx)) in isComplete()
4763 const tcu::ConstPixelBufferAccess& level = getLevel(baseLevel+levelNdx); in isComplete()
4811 const int baseLevel = getBaseLevel(); in updateView() local
4813 if (hasLevel(baseLevel) && !isEmpty(getLevel(baseLevel))) in updateView()
4815 const int width = getLevel(baseLevel).getWidth(); in updateView()
4817 const int numLevels = isMipmap ? de::min(getMaxLevel()-baseLevel+1, getNumMipLevels1D(width)) : 1; in updateView()
4820 m_view = tcu::Texture2DView(numLevels, m_levels.getEffectiveLevels() + baseLevel); in updateView()
4843 const int baseLevel = getBaseLevel(); in isComplete() local
4845 if (hasLevel(baseLevel)) in isComplete()
4847 const tcu::ConstPixelBufferAccess& level0 = getLevel(baseLevel); in isComplete()
4855 const int numLevels = de::min(getMaxLevel()-baseLevel+1, getNumMipLevels2D(w, h)); in isComplete()
4859 if (hasLevel(baseLevel+levelNdx)) in isComplete()
4861 const tcu::ConstPixelBufferAccess& level = getLevel(baseLevel+levelNdx); in isComplete()
4883 const int baseLevel = getBaseLevel(); in updateView() local
4885 if (hasLevel(baseLevel) && !isEmpty(getLevel(baseLevel))) in updateView()
4888 const int width = getLevel(baseLevel).getWidth(); in updateView()
4889 const int height = getLevel(baseLevel).getHeight(); in updateView()
4891 …const int numLevels = isMipmap ? de::min(getMaxLevel()-baseLevel+1, getNumMipLevels2D(width, heigh… in updateView()
4894 m_view = tcu::Texture2DView(numLevels, m_levels.getEffectiveLevels() + baseLevel); in updateView()
4952 const int baseLevel = getBaseLevel(); in isComplete() local
4954 if (hasFace(baseLevel, tcu::CUBEFACE_NEGATIVE_X)) in isComplete()
4956 const int width = getFace(baseLevel, tcu::CUBEFACE_NEGATIVE_X).getWidth(); in isComplete()
4957 const int height = getFace(baseLevel, tcu::CUBEFACE_NEGATIVE_X).getHeight(); in isComplete()
4958 const tcu::TextureFormat& format = getFace(baseLevel, tcu::CUBEFACE_NEGATIVE_X).getFormat(); in isComplete()
4960 …const int numLevels = mipmap ? de::min(getMaxLevel()-baseLevel+1, getNumMipLevels2D(width, hei… in isComplete()
4973 if (hasFace(baseLevel+levelNdx, (tcu::CubeFace)face)) in isComplete()
4975 const tcu::ConstPixelBufferAccess& level = getFace(baseLevel+levelNdx, (tcu::CubeFace)face); in isComplete()
4995 const int baseLevel = getBaseLevel(); in updateView() local
5002 const int size = getFace(baseLevel, tcu::CUBEFACE_NEGATIVE_X).getWidth(); in updateView()
5004 const int numLevels = isMipmap ? de::min(getMaxLevel()-baseLevel+1, getNumMipLevels1D(size)) : 1; in updateView()
5009 faces[face] = m_levels[face].getEffectiveLevels() + baseLevel; in updateView()
5075 const int baseLevel = getBaseLevel(); in isComplete() local
5077 if (hasLevel(baseLevel)) in isComplete()
5079 const tcu::ConstPixelBufferAccess& level0 = getLevel(baseLevel); in isComplete()
5088 const int numLevels = de::min(getMaxLevel()-baseLevel+1, getNumMipLevels2D(w, h)); in isComplete()
5092 if (hasLevel(baseLevel+levelNdx)) in isComplete()
5094 const tcu::ConstPixelBufferAccess& level = getLevel(baseLevel+levelNdx); in isComplete()
5117 const int baseLevel = getBaseLevel(); in updateView() local
5119 if (hasLevel(baseLevel) && !isEmpty(getLevel(baseLevel))) in updateView()
5121 const int width = getLevel(baseLevel).getWidth(); in updateView()
5122 const int height = getLevel(baseLevel).getHeight(); in updateView()
5124 …const int numLevels = isMipmap ? de::min(getMaxLevel()-baseLevel+1, getNumMipLevels2D(width, heigh… in updateView()
5127 m_view = tcu::Texture2DArrayView(numLevels, m_levels.getEffectiveLevels() + baseLevel); in updateView()
5181 const int baseLevel = getBaseLevel(); in isComplete() local
5183 if (hasLevel(baseLevel)) in isComplete()
5185 const tcu::ConstPixelBufferAccess& level0 = getLevel(baseLevel); in isComplete()
5194 const int numLevels = de::min(getMaxLevel()-baseLevel+1, getNumMipLevels2D(w, h)); in isComplete()
5198 if (hasLevel(baseLevel+levelNdx)) in isComplete()
5200 const tcu::ConstPixelBufferAccess& level = getLevel(baseLevel+levelNdx); in isComplete()
5223 const int baseLevel = getBaseLevel(); in updateView() local
5225 if (hasLevel(baseLevel) && !isEmpty(getLevel(baseLevel))) in updateView()
5227 const int width = getLevel(baseLevel).getWidth(); in updateView()
5228 const int height = getLevel(baseLevel).getHeight(); in updateView()
5230 …const int numLevels = isMipmap ? de::min(getMaxLevel()-baseLevel+1, getNumMipLevels2D(width, heigh… in updateView()
5233 m_view = tcu::TextureCubeArrayView(numLevels, m_levels.getEffectiveLevels() + baseLevel); in updateView()
5301 const int baseLevel = getBaseLevel(); in isComplete() local
5303 if (hasLevel(baseLevel)) in isComplete()
5305 const tcu::ConstPixelBufferAccess& level0 = getLevel(baseLevel); in isComplete()
5314 const int numLevels = de::min(getMaxLevel()-baseLevel+1, getNumMipLevels3D(w, h, d)); in isComplete()
5318 if (hasLevel(baseLevel+levelNdx)) in isComplete()
5320 const tcu::ConstPixelBufferAccess& level = getLevel(baseLevel+levelNdx); in isComplete()
5376 const int baseLevel = getBaseLevel(); in updateView() local
5378 if (hasLevel(baseLevel) && !isEmpty(getLevel(baseLevel))) in updateView()
5380 const int width = getLevel(baseLevel).getWidth(); in updateView()
5381 const int height = getLevel(baseLevel).getHeight(); in updateView()
5382 const int depth = getLevel(baseLevel).getDepth(); in updateView()
5384 …const int numLevels = isMipmap ? de::min(getMaxLevel()-baseLevel+1, getNumMipLevels3D(width, heigh… in updateView()
5387 m_view = tcu::Texture3DView(numLevels, m_levels.getEffectiveLevels() + baseLevel); in updateView()