/external/chromium_org/third_party/mesa/src/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() 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 …]
|
D | radeon_common_context.h | 196 unsigned minLod; member
|
D | r200_texstate.c | 1386 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/ |
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() 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 …]
|
D | radeon_common_context.h | 196 unsigned minLod; member
|
D | radeon_texstate.c | 985 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/ |
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() 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 …]
|
D | radeon_common_context.h | 196 unsigned minLod; member
|
D | radeon_texstate.c | 985 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/ |
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() 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 …]
|
D | radeon_common_context.h | 196 unsigned minLod; member
|
D | r200_texstate.c | 1386 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/ |
D | Sampler.h | 29 void setMinLod(GLfloat minLod) { mMinLod = minLod; } in setMinLod() argument
|
D | Sampler.cpp | 38 samplerState->minLod = mMinLod; in getState()
|
D | angletypes.h | 159 GLfloat minLod; member
|
D | Texture.cpp | 64 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()
|
D | Texture.h | 87 void setMinLod(GLfloat minLod);
|
/external/deqp/framework/common/ |
D | tcuTexLookupVerifier.cpp | 1261 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 …]
|
D | tcuTexCompareVerifier.cpp | 790 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/ |
D | glsSamplerObjectTest.hpp | 50 GLfloat minLod; member 108 GLfloat minLod; member
|
D | glsTextureTestUtil.hpp | 330 , minLod (-1000.0f) in ReferenceParams() 341 , minLod (-1000.0f) in ReferenceParams() 350 float minLod; 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() 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 …]
|
D | glsSamplerObjectTest.cpp | 97 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/ |
D | RenderStateCache.cpp | 419 samplerDesc.MinLOD = samplerState.minLod; in getSamplerState()
|
/external/deqp/modules/gles3/functional/ |
D | es3fTextureMipmapTests.cpp | 1640 params.minLod = getMinLodForCell(cellNdx); in getReferenceParams() 1955 params.minLod = getMinLodForCell(cellNdx); in getReferenceParams() 2272 params.minLod = getMinLodForCell(cellNdx); in getReferenceParams()
|