Home
last modified time | relevance | path

Searched refs:minLod (Results 1 – 25 of 27) sorted by relevance

12

/external/chromium_org/third_party/mesa/src/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()
268 minLod = tObj->BaseLevel + (GLint)(samp->MinLod); in calculate_min_max_lod()
269 minLod = MAX2(minLod, tObj->BaseLevel); in calculate_min_max_lod()
270 minLod = MIN2(minLod, 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()
292 *pminLod = minLod; in calculate_min_max_lod()
[all …]
Dradeon_common_context.h196 unsigned minLod; member
Dr200_texstate.c1386 const struct gl_texture_image *firstImage = t->base.Image[0][t->minLod]; in setup_hardware_state()
1435 extra_size = t->minLod; in setup_hardware_state()
1450 t->pp_txformat_x |= (t->minLod << R200_MIN_MIP_LEVEL_SHIFT) in setup_hardware_state()
/external/chromium_org/third_party/mesa/src/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()
268 minLod = tObj->BaseLevel + (GLint)(samp->MinLod); in calculate_min_max_lod()
269 minLod = MAX2(minLod, tObj->BaseLevel); in calculate_min_max_lod()
270 minLod = MIN2(minLod, 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()
292 *pminLod = minLod; in calculate_min_max_lod()
[all …]
Dradeon_common_context.h196 unsigned minLod; member
Dradeon_texstate.c985 firstImage = t->base.Image[0][t->minLod]; in setup_hardware_state()
1009 t->pp_txfilter |= (t->maxLod - t->minLod) << RADEON_MAX_MIP_LEVEL_SHIFT; in setup_hardware_state()
/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()
268 minLod = tObj->BaseLevel + (GLint)(samp->MinLod); in calculate_min_max_lod()
269 minLod = MAX2(minLod, tObj->BaseLevel); in calculate_min_max_lod()
270 minLod = MIN2(minLod, 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()
292 *pminLod = minLod; in calculate_min_max_lod()
[all …]
Dradeon_common_context.h196 unsigned minLod; member
Dradeon_texstate.c985 firstImage = t->base.Image[0][t->minLod]; in setup_hardware_state()
1009 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()
268 minLod = tObj->BaseLevel + (GLint)(samp->MinLod); in calculate_min_max_lod()
269 minLod = MAX2(minLod, tObj->BaseLevel); in calculate_min_max_lod()
270 minLod = MIN2(minLod, 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()
292 *pminLod = minLod; in calculate_min_max_lod()
[all …]
Dradeon_common_context.h196 unsigned minLod; member
Dr200_texstate.c1386 const struct gl_texture_image *firstImage = t->base.Image[0][t->minLod]; in setup_hardware_state()
1435 extra_size = t->minLod; in setup_hardware_state()
1450 t->pp_txformat_x |= (t->minLod << R200_MIN_MIP_LEVEL_SHIFT) in setup_hardware_state()
/external/chromium_org/third_party/angle/src/libGLESv2/
DSampler.h29 void setMinLod(GLfloat minLod) { mMinLod = minLod; } in setMinLod() argument
DSampler.cpp38 samplerState->minLod = mMinLod; in getState()
Dangletypes.h159 GLfloat minLod; member
DTexture.cpp64 mSamplerState.minLod = -1000.0f; in Texture()
170 void Texture::setMinLod(GLfloat minLod) in setMinLod() argument
172 mSamplerState.minLod = minLod; in setMinLod()
247 return mSamplerState.minLod; in getMinLod()
DTexture.h87 void setMinLod(GLfloat minLod);
/external/deqp/framework/common/
DtcuTexLookupVerifier.cpp1261 const float minLod = lodBounds.x(); in isLookupResultValid() local
1263 const bool canBeMagnified = minLod <= sampler.lodThreshold; in isLookupResultValid()
1285 const int minLevel = de::clamp((int)deFloatFloor(minLod), minTexLevel, maxTexLevel-1); in isLookupResultValid()
1292 const float minF = de::clamp(minLod - float(level), 0.0f, 1.0f); in isLookupResultValid()
1303 const int minLevel = de::clamp((int)deFloatCeil(minLod + 0.5f) - 1, minTexLevel, maxTexLevel); in isLookupResultValid()
1326 const float minLod = lodBounds.x(); in isLookupResultValid() local
1328 const bool canBeMagnified = minLod <= sampler.lodThreshold; in isLookupResultValid()
1350 const int minLevel = de::clamp((int)deFloatFloor(minLod), minTexLevel, maxTexLevel-1); in isLookupResultValid()
1357 const float minF = de::clamp(minLod - float(level), 0.0f, 1.0f); in isLookupResultValid()
1368 const int minLevel = de::clamp((int)deFloatCeil(minLod + 0.5f) - 1, minTexLevel, maxTexLevel); in isLookupResultValid()
[all …]
DtcuTexCompareVerifier.cpp790 const float minLod = lodBounds.x(); in isTexCompareResultValid() local
792 const bool canBeMagnified = minLod <= sampler.lodThreshold; in isTexCompareResultValid()
814 const int minLevel = de::clamp((int)deFloatFloor(minLod), minTexLevel, maxTexLevel-1); in isTexCompareResultValid()
821 const float minF = de::clamp(minLod - float(level), 0.0f, 1.0f); in isTexCompareResultValid()
832 const int minLevel = de::clamp((int)deFloatCeil(minLod + 0.5f) - 1, minTexLevel, maxTexLevel); in isTexCompareResultValid()
1075 const float minLod = lodBounds.x(); in isTexCompareResultValid() local
1077 const bool canBeMagnified = minLod <= sampler.lodThreshold; in isTexCompareResultValid()
1097 const int minLevel = de::clamp((int)deFloatFloor(minLod), minTexLevel, maxTexLevel-1); in isTexCompareResultValid()
1104 const float minF = de::clamp(minLod - float(level), 0.0f, 1.0f); in isTexCompareResultValid()
1115 const int minLevel = de::clamp((int)deFloatCeil(minLod + 0.5f) - 1, minTexLevel, maxTexLevel); in isTexCompareResultValid()
[all …]
/external/deqp/modules/glshared/
DglsSamplerObjectTest.hpp50 GLfloat minLod; member
108 GLfloat minLod; member
DglsTextureTestUtil.hpp330 , minLod (-1000.0f) in ReferenceParams()
341 , minLod (-1000.0f) in ReferenceParams()
350 float minLod; 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()
474 …riLod(params.lodMode, dstSize, srcSize, triS[0], triT[0]) + lodBias, params.minLod, params.maxLod), in sampleTextureNonProjected()
475 …Lod(params.lodMode, dstSize, srcSize, triS[1], triT[1]) + lodBias, params.minLod, params.maxLod) }; in sampleTextureNonProjected()
673 …rivates(params.lodMode, coord, coordDx, coordDy, srcSize) + lodBias, params.minLod, params.maxLod); in sampleTexture()
794 …ams.lodMode, dstSize, srcSize, triS[0], triT[0], triR[0]) + lodBias, params.minLod, params.maxLod), in sampleTextureNonProjected()
795 …s.lodMode, dstSize, srcSize, triS[1], triT[1], triR[1]) + lodBias, params.minLod, params.maxLod) }; in sampleTextureNonProjected()
915 …s(params.lodMode, coord, coordDx, coordDy, src.getSize()) + lodBias, params.minLod, params.maxLod); in sampleTexture()
1757 …pedLod = tcu::clampLodBounds(lodBounds + lodBias, tcu::Vec2(sampleParams.minLod, sampleParams.maxL… in computeTextureLookupDiff()
1868 …pedLod = tcu::clampLodBounds(lodBounds + lodBias, tcu::Vec2(sampleParams.minLod, sampleParams.maxL… in computeTextureLookupDiff()
[all …]
DglsSamplerObjectTest.cpp97 gl.texParameterf(target, GL_TEXTURE_MIN_LOD, state.minLod); in setTextureState()
115 gl.samplerParameterf(sampler, GL_TEXTURE_MIN_LOD, state.minLod); in setSamplerState()
609 gl.texParameterf(target, GL_TEXTURE_MIN_LOD, state.minLod); in setTextureState()
627 gl.samplerParameterf(sampler, GL_TEXTURE_MIN_LOD, state.minLod); in setSamplerState()
/external/chromium_org/third_party/angle/src/libGLESv2/renderer/d3d11/
DRenderStateCache.cpp419 samplerDesc.MinLOD = samplerState.minLod; in getSamplerState()
/external/deqp/modules/gles3/functional/
Des3fTextureMipmapTests.cpp1640 params.minLod = getMinLodForCell(cellNdx); in getReferenceParams()
1955 params.minLod = getMinLodForCell(cellNdx); in getReferenceParams()
2272 params.minLod = getMinLodForCell(cellNdx); in getReferenceParams()

12