/external/mesa3d/src/mesa/drivers/dri/radeon/ |
D | radeon_mipmap_tree.c | 255 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 …]
|
D | radeon_common_context.h | 198 unsigned maxLod; member
|
D | radeon_texstate.c | 1009 t->pp_txfilter |= (t->maxLod - t->minLod) << RADEON_MAX_MIP_LEVEL_SHIFT; in setup_hardware_state()
|
/external/mesa3d/src/mesa/drivers/dri/r200/ |
D | radeon_mipmap_tree.c | 255 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 …]
|
D | radeon_common_context.h | 198 unsigned maxLod; member
|
D | r200_texstate.c | 1425 t->pp_txfilter |= ((t->maxLod) << R200_MAX_MIP_LEVEL_SHIFT) in setup_hardware_state()
|
/external/deqp/framework/common/ |
D | tcuTexLookupVerifier.cpp | 1257 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 …]
|
D | tcuTexCompareVerifier.cpp | 812 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/ |
D | glsSamplerObjectTest.hpp | 51 GLfloat maxLod; member 109 GLfloat maxLod; member
|
D | glsTextureTestUtil.hpp | 332 , maxLod (1000.0f) in ReferenceParams() 343 , maxLod (1000.0f) in ReferenceParams() 352 float maxLod; member
|
D | glsTextureTestUtil.cpp | 442 …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 …]
|
D | glsSamplerObjectTest.cpp | 95 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/ |
D | TerrainPatch.java | 84 private int maxLod = -1; field in TerrainPatch 224 if (maxLod < 0) in getMaxLod() 225 …maxLod = 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()
|
D | TerrainQuad.java | 114 private int maxLod = -1; field in TerrainQuad 1789 if (maxLod < 0) 1790 …maxLod = 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/ |
D | es3fTextureMipmapTests.cpp | 1655 params.maxLod = getMaxLodForCell(cellNdx); in getReferenceParams() 1970 params.maxLod = getMaxLodForCell(cellNdx); in getReferenceParams() 2287 params.maxLod = getMaxLodForCell(cellNdx); in getReferenceParams()
|