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