Home
last modified time | relevance | path

Searched refs:maxLod (Results 1 – 15 of 15) sorted by relevance

/external/mesa3d/src/mesa/drivers/dri/radeon/
Dradeon_mipmap_tree.c255 int minLod, maxLod; in calculate_min_max_lod() local
266 minLod = maxLod = tObj->BaseLevel; in calculate_min_max_lod()
271 maxLod = tObj->BaseLevel + (GLint)(samp->MaxLod + 0.5); in calculate_min_max_lod()
272 maxLod = MIN2(maxLod, tObj->MaxLevel); in calculate_min_max_lod()
273 maxLod = MIN2(maxLod, tObj->Image[0][minLod]->MaxNumLevels - 1 + minLod); in calculate_min_max_lod()
274 maxLod = MAX2(maxLod, minLod); /* need at least one level */ in calculate_min_max_lod()
279 minLod = maxLod = 0; in calculate_min_max_lod()
289 minLod, maxLod); in calculate_min_max_lod()
293 *pmaxLod = maxLod; in calculate_min_max_lod()
551 calculate_min_max_lod(samp, &t->base, &t->minLod, &t->maxLod); in radeon_validate_texture_miptree()
[all …]
Dradeon_common_context.h198 unsigned maxLod; member
Dradeon_texstate.c1009 t->pp_txfilter |= (t->maxLod - t->minLod) << RADEON_MAX_MIP_LEVEL_SHIFT; in setup_hardware_state()
/external/mesa3d/src/mesa/drivers/dri/r200/
Dradeon_mipmap_tree.c255 int minLod, maxLod; in calculate_min_max_lod() local
266 minLod = maxLod = tObj->BaseLevel; in calculate_min_max_lod()
271 maxLod = tObj->BaseLevel + (GLint)(samp->MaxLod + 0.5); in calculate_min_max_lod()
272 maxLod = MIN2(maxLod, tObj->MaxLevel); in calculate_min_max_lod()
273 maxLod = MIN2(maxLod, tObj->Image[0][minLod]->MaxNumLevels - 1 + minLod); in calculate_min_max_lod()
274 maxLod = MAX2(maxLod, minLod); /* need at least one level */ in calculate_min_max_lod()
279 minLod = maxLod = 0; in calculate_min_max_lod()
289 minLod, maxLod); in calculate_min_max_lod()
293 *pmaxLod = maxLod; in calculate_min_max_lod()
551 calculate_min_max_lod(samp, &t->base, &t->minLod, &t->maxLod); in radeon_validate_texture_miptree()
[all …]
Dradeon_common_context.h198 unsigned maxLod; member
Dr200_texstate.c1425 t->pp_txfilter |= ((t->maxLod) << R200_MAX_MIP_LEVEL_SHIFT) in setup_hardware_state()
/external/deqp/framework/common/
DtcuTexLookupVerifier.cpp1257 const float maxLod = lodBounds.y(); in isLookupResultValid() local
1259 const bool canBeMinified = maxLod > sampler.lodThreshold; in isLookupResultValid()
1281 const int maxLevel = de::clamp((int)deFloatFloor(maxLod), minTexLevel, maxTexLevel-1); in isLookupResultValid()
1288 const float maxF = de::clamp(maxLod - float(level), 0.0f, 1.0f); in isLookupResultValid()
1299 const int maxLevel = de::clamp((int)deFloatFloor(maxLod + 0.5f), minTexLevel, maxTexLevel); in isLookupResultValid()
1322 const float maxLod = lodBounds.y(); in isLookupResultValid() local
1324 const bool canBeMinified = maxLod > sampler.lodThreshold; in isLookupResultValid()
1346 const int maxLevel = de::clamp((int)deFloatFloor(maxLod), minTexLevel, maxTexLevel-1); in isLookupResultValid()
1353 const float maxF = de::clamp(maxLod - float(level), 0.0f, 1.0f); in isLookupResultValid()
1364 const int maxLevel = de::clamp((int)deFloatFloor(maxLod + 0.5f), minTexLevel, maxTexLevel); in isLookupResultValid()
[all …]
DtcuTexCompareVerifier.cpp812 const float maxLod = lodBounds.y(); in isTexCompareResultValid() local
814 const bool canBeMinified = maxLod > sampler.lodThreshold; in isTexCompareResultValid()
836 const int maxLevel = de::clamp((int)deFloatFloor(maxLod), minTexLevel, maxTexLevel-1); in isTexCompareResultValid()
843 const float maxF = de::clamp(maxLod - float(level), 0.0f, 1.0f); in isTexCompareResultValid()
854 const int maxLevel = de::clamp((int)deFloatFloor(maxLod + 0.5f), minTexLevel, maxTexLevel); in isTexCompareResultValid()
1097 const float maxLod = lodBounds.y(); in isTexCompareResultValid() local
1099 const bool canBeMinified = maxLod > sampler.lodThreshold; in isTexCompareResultValid()
1119 const int maxLevel = de::clamp((int)deFloatFloor(maxLod), minTexLevel, maxTexLevel-1); in isTexCompareResultValid()
1126 const float maxF = de::clamp(maxLod - float(level), 0.0f, 1.0f); in isTexCompareResultValid()
1137 const int maxLevel = de::clamp((int)deFloatFloor(maxLod + 0.5f), minTexLevel, maxTexLevel); in isTexCompareResultValid()
[all …]
/external/deqp/modules/glshared/
DglsSamplerObjectTest.hpp51 GLfloat maxLod; member
109 GLfloat maxLod; member
DglsTextureTestUtil.hpp332 , maxLod (1000.0f) in ReferenceParams()
343 , maxLod (1000.0f) in ReferenceParams()
352 float maxLod; member
DglsTextureTestUtil.cpp442 …rojectedTriLod(params.lodMode, dstSize, srcSize, triS[0]) + lodBias, params.minLod, params.maxLod), in sampleTextureNonProjected()
443 …jectedTriLod(params.lodMode, dstSize, srcSize, triS[1]) + lodBias, params.minLod, params.maxLod) }; in sampleTextureNonProjected()
478 …riLod(params.lodMode, dstSize, srcSize, triS[0], triT[0]) + lodBias, params.minLod, params.maxLod), in sampleTextureNonProjected()
479 …Lod(params.lodMode, dstSize, srcSize, triS[1], triT[1]) + lodBias, params.minLod, params.maxLod) }; in sampleTextureNonProjected()
689 …rivates(params.lodMode, coord, coordDx, coordDy, srcSize) + lodBias, params.minLod, params.maxLod); in sampleTextureCube()
816 …ams.lodMode, dstSize, srcSize, triS[0], triT[0], triR[0]) + lodBias, params.minLod, params.maxLod), in sampleTextureNonProjected()
817 …s.lodMode, dstSize, srcSize, triS[1], triT[1], triR[1]) + lodBias, params.minLod, params.maxLod) }; in sampleTextureNonProjected()
945 …s(params.lodMode, coord, coordDx, coordDy, src.getSize()) + lodBias, params.minLod, params.maxLod); in sampleTextureCubeArray()
1784 …:clampLodBounds(lodBounds + lodBias, tcu::Vec2(sampleParams.minLod, sampleParams.maxLod), lodPrec); in computeTextureLookupDiff()
1894 …:clampLodBounds(lodBounds + lodBias, tcu::Vec2(sampleParams.minLod, sampleParams.maxLod), lodPrec); in computeTextureLookupDiff()
[all …]
DglsSamplerObjectTest.cpp95 gl.texParameterf(target, GL_TEXTURE_MAX_LOD, state.maxLod); in setTextureState()
113 gl.samplerParameterf(sampler, GL_TEXTURE_MAX_LOD, state.maxLod); in setSamplerState()
607 gl.texParameterf(target, GL_TEXTURE_MAX_LOD, state.maxLod); in setTextureState()
625 gl.samplerParameterf(sampler, GL_TEXTURE_MAX_LOD, state.maxLod); in setSamplerState()
/external/jmonkeyengine/engine/src/terrain/com/jme3/terrain/geomipmap/
DTerrainPatch.java84 private int maxLod = -1; field in TerrainPatch
224 if (maxLod < 0) in getMaxLod()
225maxLod = Math.max(1, (int) (FastMath.log(size-1)/FastMath.log(2)) -1); // -1 forces our minimum of… in getMaxLod()
227 return maxLod; in getMaxLod()
676 maxLod = -1; // reset it in setSize()
DTerrainQuad.java114 private int maxLod = -1; field in TerrainQuad
1789 if (maxLod < 0)
1790maxLod = Math.max(1, (int) (FastMath.log(size-1)/FastMath.log(2)) -1); // -1 forces our minimum of…
1792 return maxLod;
/external/deqp/modules/gles3/functional/
Des3fTextureMipmapTests.cpp1655 params.maxLod = getMaxLodForCell(cellNdx); in getReferenceParams()
1970 params.maxLod = getMaxLodForCell(cellNdx); in getReferenceParams()
2287 params.maxLod = getMaxLodForCell(cellNdx); in getReferenceParams()