Home | History | Annotate | Download | only in simplereference

Lines Matching refs:baseLevel

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