Home
last modified time | relevance | path

Searched refs:_MaxLevel (Results 1 – 23 of 23) sorted by relevance

/external/mesa3d/src/mesa/drivers/dri/i915/
Dintel_tex_validate.c31 maxlevel = tObj->_MaxLevel; in intel_update_max_level()
34 if (intelObj->_MaxLevel != maxlevel) { in intel_update_max_level()
35 intelObj->_MaxLevel = maxlevel; in intel_update_max_level()
84 intelObj->mt->last_level < intelObj->_MaxLevel)) { in intel_finalize_mipmap_tree()
98 width, height, depth, tObj->BaseLevel, intelObj->_MaxLevel); in intel_finalize_mipmap_tree()
104 intelObj->_MaxLevel, in intel_finalize_mipmap_tree()
118 for (i = tObj->BaseLevel; i <= intelObj->_MaxLevel; i++) { in intel_finalize_mipmap_tree()
Dintel_tex_obj.h42 unsigned int _MaxLevel; member
Di915_texstate.c192 maxlod = MIN2(sampler->MaxLod, tObj->_MaxLevel - tObj->BaseLevel); in i915_update_tex_unit()
355 minlod = MIN2(sampler->MinLod, tObj->_MaxLevel - tObj->BaseLevel); in i915_update_tex_unit()
Di830_texstate.c265 maxlod = MIN2(sampler->MaxLod, tObj->_MaxLevel - tObj->BaseLevel); in i830_update_tex_unit()
Dintel_screen.c395 if (level < obj->BaseLevel || level > obj->_MaxLevel) { in intel_create_image_from_texture()
/external/mesa3d/src/mesa/drivers/dri/i965/
Dintel_tex_validate.c54 intelObj->_MaxLevel = tObj->BaseLevel; in intel_update_max_level()
56 intelObj->_MaxLevel = tObj->_MaxLevel; in intel_update_max_level()
82 int validate_last_level = intelObj->_MaxLevel; in intel_finalize_mipmap_tree()
Dintel_tex_obj.h43 unsigned int _MaxLevel; member
Dbrw_generate_mipmap.c64 intel_obj->_MaxLevel = last_level; in brw_generate_mipmap()
Dbrw_draw.c551 num_levels = MIN2(tex_obj->base.NumLevels, tex_obj->_MaxLevel + 1); in brw_predraw_resolve_inputs()
557 num_levels = tex_obj->_MaxLevel - tex_obj->base.BaseLevel + 1; in brw_predraw_resolve_inputs()
Dbrw_wm_surface_state.c591 .levels = intel_obj->_MaxLevel - obj->BaseLevel + 1, in brw_update_texture_surface()
Dintel_screen.c614 if (level < obj->BaseLevel || level > obj->_MaxLevel) { in intel_create_image_from_texture()
/external/mesa3d/src/mesa/swrast/
Ds_texfilter.c639 if (level > tObj->_MaxLevel) in nearest_mipmap_level()
640 level = tObj->_MaxLevel; in nearest_mipmap_level()
959 if (level >= tObj->_MaxLevel) { in sample_1d_nearest_mipmap_linear()
960 sample_1d_nearest(ctx, samp, tObj->Image[0][tObj->_MaxLevel], in sample_1d_nearest_mipmap_linear()
985 if (level >= tObj->_MaxLevel) { in sample_1d_linear_mipmap_linear()
986 sample_1d_linear(ctx, samp, tObj->Image[0][tObj->_MaxLevel], in sample_1d_linear_mipmap_linear()
1289 if (level >= tObj->_MaxLevel) { in sample_2d_nearest_mipmap_linear()
1290 sample_2d_nearest(ctx, samp, tObj->Image[0][tObj->_MaxLevel], in sample_2d_nearest_mipmap_linear()
1315 if (level >= tObj->_MaxLevel) { in sample_2d_linear_mipmap_linear()
1316 sample_2d_linear(ctx, samp, tObj->Image[0][tObj->_MaxLevel], in sample_2d_linear_mipmap_linear()
[all …]
/external/mesa3d/src/mesa/main/
Dtexobj.c496 dest->_MaxLevel = src->_MaxLevel; in _mesa_copy_texture_object()
751 t->_MaxLevel = MIN3(t->MaxLevel, in _mesa_test_texobj_completeness()
761 t->_MaxLevel = MAX2(MIN2(t->_MaxLevel, t->NumLevels - 1), 0); in _mesa_test_texobj_completeness()
765 t->_MaxLambda = (GLfloat) (t->_MaxLevel - baseLevel); in _mesa_test_texobj_completeness()
814 const GLint maxLevel = t->_MaxLevel; in _mesa_test_texobj_completeness()
Dshaderimage.c472 u->Level > t->_MaxLevel || in _mesa_is_image_unit_valid()
Dmtypes.h975 GLbyte _MaxLevel; /**< actual max mipmap level (q in the spec) */ member
/external/mesa3d/src/mesa/drivers/dri/r200/
Dradeon_mipmap_tree.c323 numLevels = MIN2(texObj->_MaxLevel - texObj->BaseLevel + 1, firstImage->MaxNumLevels); in radeon_miptree_matches_texture()
527 dst_miptree = get_biggest_matching_miptree(t, t->base.BaseLevel, t->base._MaxLevel); in radeon_validate_texture_miptree()
/external/mesa3d/src/mesa/drivers/dri/radeon/
Dradeon_mipmap_tree.c323 numLevels = MIN2(texObj->_MaxLevel - texObj->BaseLevel + 1, firstImage->MaxNumLevels); in radeon_miptree_matches_texture()
527 dst_miptree = get_biggest_matching_miptree(t, t->base.BaseLevel, t->base._MaxLevel); in radeon_validate_texture_miptree()
/external/mesa3d/docs/relnotes/
D19.3.3.rst198 - mesa: Prevent \_MaxLevel from being less than zero
D20.0.0.rst3322 - mesa: Prevent \_MaxLevel from being less than zero
/external/mesa3d/src/gallium/frontends/dri/
Ddri_helpers.c355 if (level < obj->BaseLevel || level > obj->_MaxLevel) { in dri2_create_from_texture()
Ddri2.c1921 if (in->miplevel < obj->BaseLevel || in->miplevel > obj->_MaxLevel) { in dri2_interop_export_object()
/external/mesa3d/src/mesa/state_tracker/
Dst_sampler_view.c448 unsigned ret = MIN2(stObj->base.MinLevel + stObj->base._MaxLevel, in last_level()
Dst_cb_texture.c2677 stObj->lastLevel = stObj->base._MaxLevel; in st_finalize_texture()