Home
last modified time | relevance | path

Searched refs:BaseLevel (Results 1 – 25 of 47) sorted by relevance

12

/external/mesa3d/src/mesa/drivers/dri/i915/
Dintel_tex_validate.c29 maxlevel = tObj->BaseLevel; in intel_update_max_level()
65 if (intelObj->mt && intelObj->mt->first_level != tObj->BaseLevel) in intel_finalize_mipmap_tree()
71 firstImage = intel_texture_image(tObj->Image[0][tObj->BaseLevel]); in intel_finalize_mipmap_tree()
83 intelObj->mt->first_level != tObj->BaseLevel || in intel_finalize_mipmap_tree()
98 width, height, depth, tObj->BaseLevel, intelObj->_MaxLevel); in intel_finalize_mipmap_tree()
103 tObj->BaseLevel, in intel_finalize_mipmap_tree()
118 for (i = tObj->BaseLevel; i <= intelObj->_MaxLevel; i++) { in intel_finalize_mipmap_tree()
Di830_texstate.c144 firstImage = tObj->Image[0][tObj->BaseLevel]; in i830_update_tex_unit()
146 intel_miptree_get_image_offset(intelObj->mt, tObj->BaseLevel, 0, in i830_update_tex_unit()
265 maxlod = MIN2(sampler->MaxLod, tObj->_MaxLevel - tObj->BaseLevel); in i830_update_tex_unit()
Dintel_tex_image.c47 if (intelImage->base.Base.Level > intelObj->base.BaseLevel && in intel_miptree_create_for_teximage()
62 if (intelImage->base.Base.Level < intelObj->base.BaseLevel) in intel_miptree_create_for_teximage()
65 firstLevel = intelObj->base.BaseLevel; in intel_miptree_create_for_teximage()
Di915_texstate.c169 firstImage = tObj->Image[0][tObj->BaseLevel]; in i915_update_tex_unit()
192 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()
/external/mesa3d/src/mesa/drivers/dri/r200/
Dradeon_mipmap_tree.c257 minLod = maxLod = tObj->BaseLevel; in calculate_min_max_lod()
259 minLod = tObj->BaseLevel + (GLint)(samp->MinLod); in calculate_min_max_lod()
260 minLod = MAX2(minLod, tObj->BaseLevel); in calculate_min_max_lod()
262 maxLod = tObj->BaseLevel + (GLint)(samp->MaxLod + 0.5); in calculate_min_max_lod()
318 if (texObj->BaseLevel < mt->baseLevel) in radeon_miptree_matches_texture()
321 mtBaseLevel = &mt->levels[texObj->BaseLevel - mt->baseLevel]; in radeon_miptree_matches_texture()
322 firstImage = texObj->Image[0][texObj->BaseLevel]; in radeon_miptree_matches_texture()
323 numLevels = MIN2(texObj->_MaxLevel - texObj->BaseLevel + 1, firstImage->MaxNumLevels); in radeon_miptree_matches_texture()
361 struct gl_texture_image *texImg = texObj->Image[0][texObj->BaseLevel]; in radeon_try_alloc_miptree()
372 numLevels = MIN2(texObj->MaxLevel - texObj->BaseLevel + 1, texImg->MaxNumLevels); in radeon_try_alloc_miptree()
[all …]
Dradeon_texture.c654 if (texImage->Level > texObj->BaseLevel && in radeon_miptree_create_for_teximage()
666 if (texImage->Level < texObj->BaseLevel) in radeon_miptree_create_for_teximage()
669 firstLevel = texObj->BaseLevel; in radeon_miptree_create_for_teximage()
/external/mesa3d/src/mesa/drivers/dri/radeon/
Dradeon_mipmap_tree.c257 minLod = maxLod = tObj->BaseLevel; in calculate_min_max_lod()
259 minLod = tObj->BaseLevel + (GLint)(samp->MinLod); in calculate_min_max_lod()
260 minLod = MAX2(minLod, tObj->BaseLevel); in calculate_min_max_lod()
262 maxLod = tObj->BaseLevel + (GLint)(samp->MaxLod + 0.5); in calculate_min_max_lod()
318 if (texObj->BaseLevel < mt->baseLevel) in radeon_miptree_matches_texture()
321 mtBaseLevel = &mt->levels[texObj->BaseLevel - mt->baseLevel]; in radeon_miptree_matches_texture()
322 firstImage = texObj->Image[0][texObj->BaseLevel]; in radeon_miptree_matches_texture()
323 numLevels = MIN2(texObj->_MaxLevel - texObj->BaseLevel + 1, firstImage->MaxNumLevels); in radeon_miptree_matches_texture()
361 struct gl_texture_image *texImg = texObj->Image[0][texObj->BaseLevel]; in radeon_try_alloc_miptree()
372 numLevels = MIN2(texObj->MaxLevel - texObj->BaseLevel + 1, texImg->MaxNumLevels); in radeon_try_alloc_miptree()
[all …]
Dradeon_texture.c654 if (texImage->Level > texObj->BaseLevel && in radeon_miptree_create_for_teximage()
666 if (texImage->Level < texObj->BaseLevel) in radeon_miptree_create_for_teximage()
669 firstLevel = texObj->BaseLevel; in radeon_miptree_create_for_teximage()
/external/mesa3d/src/mesa/drivers/dri/nouveau/
Dnouveau_texture.c264 if (level == t->BaseLevel && (s->offset & 0x7f)) in teximage_fits()
299 struct gl_texture_image *base = t->Image[0][t->BaseLevel]; in get_last_level()
303 return t->BaseLevel; in get_last_level()
305 return MIN2(t->BaseLevel + base->MaxNumLevels - 1, t->MaxLevel); in get_last_level()
311 struct gl_texture_image *base = t->Image[0][t->BaseLevel]; in relayout_texture()
328 for (i = t->BaseLevel; i <= last; i++) { in relayout_texture()
351 if (t->BaseLevel <= last) { in relayout_texture()
361 for (i = t->BaseLevel; i < last; i++) in relayout_texture()
373 if (!teximage_fits(t, t->BaseLevel) || in nouveau_texture_validate()
381 for (i = t->BaseLevel; i <= last; i++) { in nouveau_texture_validate()
[all …]
Dnv04_state_tex.c70 struct gl_texture_image *ti = t->Image[0][t->BaseLevel]; in nv04_emit_tex_obj()
77 s = &to_nouveau_texture(t)->surfaces[t->BaseLevel]; in nv04_emit_tex_obj()
Dnv10_state_tex.c176 s = &to_nouveau_texture(t)->surfaces[t->BaseLevel]; in nv10_emit_tex_obj()
177 ti = t->Image[0][t->BaseLevel]; in nv10_emit_tex_obj()
Dnv20_state_tex.c183 s = &to_nouveau_texture(t)->surfaces[t->BaseLevel]; in nv20_emit_tex_obj()
184 ti = t->Image[0][t->BaseLevel]; in nv20_emit_tex_obj()
Dnv04_context.c40 struct gl_texture_image *ti = t->Image[0][t->BaseLevel]; in texunit_needs_combiners()
Dnv04_state_frag.c142 mesa_format format = t->Image[0][t->BaseLevel]->TexFormat; in get_input_arg()
/external/mesa3d/src/mesa/drivers/dri/i965/
Dintel_tex_validate.c54 intelObj->_MaxLevel = tObj->BaseLevel; in intel_update_max_level()
81 int validate_first_level = tObj->BaseLevel; in intel_finalize_mipmap_tree()
106 firstImage = intel_texture_image(tObj->Image[0][tObj->BaseLevel]); in intel_finalize_mipmap_tree()
Dbrw_generate_mipmap.c44 const unsigned base_level = tex_obj->BaseLevel; in brw_generate_mipmap()
/external/mesa3d/src/mesa/main/
Dgenmipmap.c120 if (texObj->BaseLevel >= texObj->MaxLevel) { in generate_texture_mipmap()
134 srcImage = _mesa_select_tex_image(texObj, target, texObj->BaseLevel); in generate_texture_mipmap()
Dshaderimage.c471 if (u->Level < t->BaseLevel || in _mesa_is_image_unit_valid()
473 (u->Level == t->BaseLevel && !t->_BaseComplete) || in _mesa_is_image_unit_valid()
474 (u->Level != t->BaseLevel && !t->_MipmapComplete)) in _mesa_is_image_unit_valid()
Dtexobj.h128 struct gl_texture_image *img = texObj->Image[0][texObj->BaseLevel]; in _mesa_is_texture_complete()
Dtexobj.c325 obj->BaseLevel = 0; in _mesa_initialize_texture_object()
487 dest->BaseLevel = src->BaseLevel; in _mesa_copy_texture_object()
683 const GLint baseLevel = t->BaseLevel; in _mesa_test_texobj_completeness()
927 return _mesa_cube_level_complete(texObj, texObj->BaseLevel); in _mesa_cube_complete()
/external/mesa3d/src/mesa/drivers/common/
Dmeta_generate_mipmap.c74 srcLevel = texObj->BaseLevel; in fallback_required()
152 const GLuint baseLevel = texObj->BaseLevel; in _mesa_meta_GenerateMipmap()
229 _mesa_select_tex_image(texObj, target, texObj->BaseLevel); in _mesa_meta_GenerateMipmap()
Dmeta_blit.c179 fb_tex_blit.baseLevelSave = texObj->BaseLevel; in blitframebuffer_texture()
332 if (blit->baseLevelSave != texObj->BaseLevel) in _mesa_meta_fb_tex_blit_end()
/external/mesa3d/src/mesa/swrast/
Ds_texture.c271 for (level = texObj->BaseLevel; level < MAX_TEXTURE_LEVELS; level++) { in _swrast_map_texture()
331 for (level = texObj->BaseLevel; level < MAX_TEXTURE_LEVELS; level++) { in _swrast_unmap_texture()
/external/mesa3d/src/mesa/state_tracker/
Dst_gen_mipmap.c59 uint baseLevel = texObj->BaseLevel; in st_generate_mipmap()
Dst_sampler_view.c544 templ.u.tex.first_level = stObj->base.MinLevel + stObj->base.BaseLevel; in st_create_texture_sampler_view_from_stobj()
593 stObj->base.MinLevel + stObj->base.BaseLevel == view->u.tex.first_level); in st_get_texture_sampler_view_from_stobj()

12