Home
last modified time | relevance | path

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

12

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

12