/third_party/mesa3d/src/mesa/drivers/dri/i915/ |
D | intel_tex_validate.c | 29 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()
|
D | i830_texstate.c | 144 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()
|
D | i915_texstate.c | 169 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()
|
D | intel_tex_image.c | 47 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/ |
D | radeon_mipmap_tree.c | 257 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 …]
|
D | radeon_texture.c | 654 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/ |
D | radeon_mipmap_tree.c | 257 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 …]
|
D | radeon_texture.c | 654 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/ |
D | nouveau_texture.c | 264 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 …]
|
D | nv04_state_tex.c | 70 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()
|
D | nv10_state_tex.c | 176 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()
|
D | nv20_state_tex.c | 183 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()
|
D | nv04_state_frag.c | 142 mesa_format format = t->Image[0][t->Attrib.BaseLevel]->TexFormat; in get_input_arg()
|
D | nv04_context.c | 40 struct gl_texture_image *ti = t->Image[0][t->Attrib.BaseLevel]; in texunit_needs_combiners()
|
/third_party/mesa3d/src/mesa/drivers/dri/i965/ |
D | brw_tex_validate.c | 54 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()
|
D | brw_generate_mipmap.c | 44 const unsigned base_level = tex_obj->Attrib.BaseLevel; in brw_generate_mipmap()
|
D | brw_wm_surface_state.c | 327 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/ |
D | meta_generate_mipmap.c | 74 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()
|
D | meta_blit.c | 179 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/ |
D | genmipmap.c | 120 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()
|
D | shaderimage.c | 471 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()
|
D | texobj.h | 126 struct gl_texture_image *img = texObj->Image[0][texObj->Attrib.BaseLevel]; in _mesa_is_texture_complete()
|
/third_party/mesa3d/src/mesa/swrast/ |
D | s_texture.c | 271 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/ |
D | st_gen_mipmap.c | 59 uint baseLevel = texObj->Attrib.BaseLevel; in st_generate_mipmap()
|
D | st_sampler_view.c | 602 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()
|