Home
last modified time | relevance | path

Searched refs:baseLevel (Results 1 – 25 of 34) sorted by relevance

12

/external/mesa3d/src/mesa/state_tracker/
Dst_gen_mipmap.c83 const uint baseLevel = texObj->BaseLevel; in st_generate_mipmap() local
116 _mesa_prepare_mipmap_levels(ctx, texObj, baseLevel, lastLevel); in st_generate_mipmap()
144 last_layer = util_max_layer(pt, baseLevel); in st_generate_mipmap()
158 !st->pipe->generate_mipmap(st->pipe, pt, format, baseLevel, in st_generate_mipmap()
161 if (!util_gen_mipmap(st->pipe, pt, format, baseLevel, lastLevel, in st_generate_mipmap()
/external/mesa3d/src/mesa/main/
Dtexobj.c651 const GLint baseLevel = t->BaseLevel; in _mesa_test_texobj_completeness() local
670 if ((baseLevel < 0) || (baseLevel >= MAX_TEXTURE_LEVELS)) { in _mesa_test_texobj_completeness()
671 incomplete(t, BASE, "base level = %d is invalid", baseLevel); in _mesa_test_texobj_completeness()
675 if (t->MaxLevel < baseLevel) { in _mesa_test_texobj_completeness()
677 t->MaxLevel, baseLevel); in _mesa_test_texobj_completeness()
681 baseImage = t->Image[0][baseLevel]; in _mesa_test_texobj_completeness()
685 incomplete(t, BASE, "Image[baseLevel=%d] == NULL", baseLevel); in _mesa_test_texobj_completeness()
746 (int) (baseLevel + baseImage->MaxNumLevels - 1), in _mesa_test_texobj_completeness()
758 t->_MaxLambda = (GLfloat) (t->_MaxLevel - baseLevel); in _mesa_test_texobj_completeness()
778 assert(t->Image[face][baseLevel] == NULL || in _mesa_test_texobj_completeness()
[all …]
Dmipmap.h46 unsigned baseLevel, unsigned maxLevel);
/external/deqp/external/vulkancts/modules/vulkan/shaderrender/
DvktShaderRenderTextureGatherTests.cpp1001 int baseLevel; member
1028 , baseLevel (baseLevel_) in GatherCaseBaseParams()
1044 , baseLevel (0) in GatherCaseBaseParams()
1203 if (m_baseParams.baseLevel != 0) in init()
1204 textureParams.baseMipLevel = m_baseParams.baseLevel; in init()
1209 …log << TestLog::Message << "Texture base level is " << m_baseParams.baseLevel << TestLog::EndMessa… in init()
1715 const int levelBegin = m_baseParams.baseLevel; in createTexture()
1717 DE_ASSERT(m_baseParams.baseLevel < texture->getNumLevels()); in createTexture()
1738 … getOneLevelSubView(tcu::Texture2DView(m_swizzledTexture), m_baseParams.baseLevel), texCoords, m_i… in verify()
1756 const int baseLevel,
[all …]
/external/deqp/framework/opengl/simplereference/
DsglrReferenceContext.cpp4746 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()
[all …]
/external/mesa3d/src/mesa/drivers/dri/radeon/
Dradeon_mipmap_tree.h71 GLuint baseLevel; /** gl_texture_object->baseLevel it was created for */ member
104 GLenum target, mesa_format mesaFormat, GLuint baseLevel, GLuint numLevels,
Dradeon_mipmap_tree.c158 for(i = 0, level = mt->baseLevel; i < mt->numLevels; i++, level++) { in calculate_miptree_layout()
179 GLenum target, mesa_format mesaFormat, GLuint baseLevel, GLuint numLevels, in radeon_miptree_create() argument
192 mt->baseLevel = baseLevel; in radeon_miptree_create()
317 if (texObj->BaseLevel < mt->baseLevel) in radeon_miptree_matches_texture()
320 mtBaseLevel = &mt->levels[texObj->BaseLevel - mt->baseLevel]; in radeon_miptree_matches_texture()
/external/mesa3d/src/mesa/drivers/dri/r200/
Dradeon_mipmap_tree.h71 GLuint baseLevel; /** gl_texture_object->baseLevel it was created for */ member
104 GLenum target, mesa_format mesaFormat, GLuint baseLevel, GLuint numLevels,
Dradeon_mipmap_tree.c158 for(i = 0, level = mt->baseLevel; i < mt->numLevels; i++, level++) { in calculate_miptree_layout()
179 GLenum target, mesa_format mesaFormat, GLuint baseLevel, GLuint numLevels, in radeon_miptree_create() argument
192 mt->baseLevel = baseLevel; in radeon_miptree_create()
317 if (texObj->BaseLevel < mt->baseLevel) in radeon_miptree_matches_texture()
320 mtBaseLevel = &mt->levels[texObj->BaseLevel - mt->baseLevel]; in radeon_miptree_matches_texture()
/external/swiftshader/src/Renderer/
DSampler.hpp56 int baseLevel; member
173 void setBaseLevel(int baseLevel);
DSampler.cpp73 texture.baseLevel = 0; in Sampler()
335 void Sampler::setBaseLevel(int baseLevel) in setBaseLevel() argument
337 texture.baseLevel = baseLevel; in setBaseLevel()
DVertexProcessor.hpp266 void setBaseLevel(unsigned int sampler, int baseLevel);
DPixelProcessor.hpp239 void setBaseLevel(unsigned int sampler, int baseLevel);
DRenderer.hpp356 void setBaseLevel(SamplerType type, int sampler, int baseLevel);
DVertexProcessor.cpp650 void VertexProcessor::setBaseLevel(unsigned int sampler, int baseLevel) in setBaseLevel() argument
654 context->sampler[TEXTURE_IMAGE_UNITS + sampler].setBaseLevel(baseLevel); in setBaseLevel()
DPixelProcessor.cpp492 void PixelProcessor::setBaseLevel(unsigned int sampler, int baseLevel) in setBaseLevel() argument
496 context->sampler[sampler].setBaseLevel(baseLevel); in setBaseLevel()
/external/mesa3d/src/mesa/drivers/common/
Dmeta_generate_mipmap.c152 const GLuint baseLevel = texObj->BaseLevel; in _mesa_meta_GenerateMipmap() local
269 _mesa_prepare_mipmap_levels(ctx, texObj, baseLevel, maxLevel); in _mesa_meta_GenerateMipmap()
271 for (dstLevel = baseLevel + 1; dstLevel <= maxLevel; dstLevel++) { in _mesa_meta_GenerateMipmap()
/external/deqp/modules/gles31/functional/
Des31fTextureGatherTests.cpp958 int baseLevel,
1032 int baseLevel, in TextureGatherCase() argument
1044 , m_baseLevel (baseLevel) in TextureGatherCase()
1631 int baseLevel, in TextureGather2DCase() argument
1634 …textureFormat, shadowCompareMode, wrapS, wrapT, texSwizzle, minFilter, magFilter, baseLevel, flags) in TextureGather2DCase()
1721 int baseLevel, in TextureGather2DArrayCase() argument
1724 …textureFormat, shadowCompareMode, wrapS, wrapT, texSwizzle, minFilter, magFilter, baseLevel, flags) in TextureGather2DArrayCase()
1853 int baseLevel, in TextureGatherCubeCase() argument
1856 …textureFormat, shadowCompareMode, wrapS, wrapT, texSwizzle, minFilter, magFilter, baseLevel, flags) in TextureGatherCubeCase()
1993 int baseLevel, in makeTextureGatherCase() argument
[all …]
/external/deqp/framework/opengl/
DgluTextureTestUtil.hpp127 , baseLevel (0) in ReferenceParams()
138 , baseLevel (0) in ReferenceParams()
147 int baseLevel; member
DgluTextureTestUtil.cpp103 static tcu::Texture1DView getSubView (const tcu::Texture1DView& view, int baseLevel, int maxLevel) in getSubView() argument
105 const int clampedBase = de::clamp(baseLevel, 0, view.getNumLevels()-1); in getSubView()
111 static tcu::Texture2DView getSubView (const tcu::Texture2DView& view, int baseLevel, int maxLevel) in getSubView() argument
113 const int clampedBase = de::clamp(baseLevel, 0, view.getNumLevels()-1); in getSubView()
119 static tcu::TextureCubeView getSubView (const tcu::TextureCubeView& view, int baseLevel, int maxLev… in getSubView() argument
121 const int clampedBase = de::clamp(baseLevel, 0, view.getNumLevels()-1); in getSubView()
132 static tcu::Texture3DView getSubView (const tcu::Texture3DView& view, int baseLevel, int maxLevel) in getSubView() argument
134 const int clampedBase = de::clamp(baseLevel, 0, view.getNumLevels()-1); in getSubView()
140 static tcu::TextureCubeArrayView getSubView (const tcu::TextureCubeArrayView& view, int baseLevel, … in getSubView() argument
142 const int clampedBase = de::clamp(baseLevel, 0, view.getNumLevels()-1); in getSubView()
[all …]
/external/deqp/external/vulkancts/modules/vulkan/texture/
DvktTextureMipmapTests.cpp1022 …m_renderer.getTextureBinding(0)->updateTextureViewMipLevels(refParams.baseLevel, refParams.maxLeve… in iterate()
1137 …const int baseLevel = (deInt32Hash(cellNdx) ^ deStringHash(m_testParam.minFilterName) ^ 0xac2f274a… in getBaseLevel() local
1139 return baseLevel; in getBaseLevel()
1144 params.baseLevel = getBaseLevel(cellNdx); in getReferenceParams()
1280 …m_renderer.getTextureBinding(0)->updateTextureViewMipLevels(refParams.baseLevel, refParams.maxLeve… in iterate()
1398 …const int baseLevel = (deInt32Hash(cellNdx) ^ deStringHash(m_testParam.minFilterName) ^ 0x23fae13)… in getBaseLevel() local
1400 return baseLevel; in getBaseLevel()
1405 params.baseLevel = getBaseLevel(cellNdx); in getReferenceParams()
1547 …m_renderer.getTextureBinding(0)->updateTextureViewMipLevels(refParams.baseLevel, refParams.maxLeve… in iterate()
1664 …const int baseLevel = (deInt32Hash(cellNdx) ^ deStringHash(m_testParam.minFilterName) ^ 0x7347e9) … in getBaseLevel() local
[all …]
DvktTextureTestUtil.hpp142 void updateTextureViewMipLevels (deUint32 baseLevel, deUint32 maxLevel);
DvktTextureTestUtil.cpp377 void TextureBinding::updateTextureViewMipLevels (deUint32 baseLevel, deUint32 maxLevel) in updateTextureViewMipLevels() argument
397 baseLevel, // deUint32 baseMipLevel; in updateTextureViewMipLevels()
398 maxLevel-baseLevel+1, // deUint32 levelCount; in updateTextureViewMipLevels()
/external/icu/icu4c/source/common/
Dubiditransform.c74 UBiDiLevel baseLevel; /* paragraph level to be used with setPara */ member
132 pTransform->pActiveScheme->baseLevel, NULL, pErrorCode); in action_resolve()
/external/deqp/modules/gles3/functional/
Des3fTextureMipmapTests.cpp1672 const int baseLevel = (deInt32Hash(cellNdx) ^ deStringHash(getName()) ^ 0xac2f274a) % numLevels; in getBaseLevel() local
1674 return baseLevel; in getBaseLevel()
1685 params.baseLevel = getBaseLevel(cellNdx); in getReferenceParams()
1987 const int baseLevel = (deInt32Hash(cellNdx) ^ deStringHash(getName()) ^ 0x23fae13) % numLevels; in getBaseLevel() local
1989 return baseLevel; in getBaseLevel()
2000 params.baseLevel = getBaseLevel(cellNdx); in getReferenceParams()
2304 const int baseLevel = (deInt32Hash(cellNdx) ^ deStringHash(getName()) ^ 0x7347e9) % numLevels; in getBaseLevel() local
2306 return baseLevel; in getBaseLevel()
2317 params.baseLevel = getBaseLevel(cellNdx); in getReferenceParams()

12