/external/mesa3d/src/mesa/drivers/dri/i965/ |
D | intel_tex_validate.c | 27 intelObj->_MaxLevel = tObj->BaseLevel; in intel_update_max_level() 58 firstImage = intel_texture_image(tObj->Image[0][tObj->BaseLevel]); in intel_finalize_mipmap_tree() 70 intelObj->mt->first_level != tObj->BaseLevel || in intel_finalize_mipmap_tree() 85 tObj->BaseLevel, in intel_finalize_mipmap_tree() 101 for (i = tObj->BaseLevel; i <= intelObj->_MaxLevel; i++) { in intel_finalize_mipmap_tree() 193 for (i = intelObj->base.BaseLevel; i <= intelObj->_MaxLevel; i++) { in intel_tex_map_images() 210 for (i = intelObj->base.BaseLevel; i <= intelObj->_MaxLevel; i++) { in intel_tex_unmap_images()
|
D | intel_tex_image.c | 48 if (intelImage->base.Base.Level > intelObj->base.BaseLevel && in intel_miptree_create_for_teximage() 63 if (intelImage->base.Base.Level < intelObj->base.BaseLevel) in intel_miptree_create_for_teximage() 66 firstLevel = intelObj->base.BaseLevel; in intel_miptree_create_for_teximage()
|
D | gen7_wm_surface_state.c | 301 struct gl_texture_image *firstImage = tObj->Image[0][tObj->BaseLevel]; in gen7_update_texture_surface() 362 surf->ss5.mip_count = intelObj->_MaxLevel - tObj->BaseLevel; in gen7_update_texture_surface()
|
/external/mesa3d/src/mesa/drivers/dri/i915/ |
D | intel_tex_validate.c | 27 intelObj->_MaxLevel = tObj->BaseLevel; in intel_update_max_level() 58 firstImage = intel_texture_image(tObj->Image[0][tObj->BaseLevel]); in intel_finalize_mipmap_tree() 70 intelObj->mt->first_level != tObj->BaseLevel || in intel_finalize_mipmap_tree() 85 tObj->BaseLevel, in intel_finalize_mipmap_tree() 101 for (i = tObj->BaseLevel; i <= intelObj->_MaxLevel; i++) { in intel_finalize_mipmap_tree() 193 for (i = intelObj->base.BaseLevel; i <= intelObj->_MaxLevel; i++) { in intel_tex_map_images() 210 for (i = intelObj->base.BaseLevel; i <= intelObj->_MaxLevel; i++) { in intel_tex_unmap_images()
|
D | i830_texstate.c | 146 firstImage = tObj->Image[0][tObj->BaseLevel]; in i830_update_tex_unit() 148 intel_miptree_get_image_offset(intelObj->mt, tObj->BaseLevel, 0, 0, in i830_update_tex_unit() 265 maxlod = MIN2(sampler->MaxLod, tObj->_MaxLevel - tObj->BaseLevel); in i830_update_tex_unit()
|
D | i915_texstate.c | 164 firstImage = tObj->Image[0][tObj->BaseLevel]; in i915_update_tex_unit() 188 maxlod = MIN2(sampler->MaxLod, tObj->_MaxLevel - tObj->BaseLevel); in i915_update_tex_unit() 351 minlod = MIN2(sampler->MinLod, tObj->_MaxLevel - tObj->BaseLevel); in i915_update_tex_unit()
|
D | intel_tex_image.c | 48 if (intelImage->base.Base.Level > intelObj->base.BaseLevel && in intel_miptree_create_for_teximage() 63 if (intelImage->base.Base.Level < intelObj->base.BaseLevel) in intel_miptree_create_for_teximage() 66 firstLevel = intelObj->base.BaseLevel; in intel_miptree_create_for_teximage()
|
/external/mesa3d/src/mesa/drivers/dri/intel/ |
D | intel_tex_validate.c | 27 intelObj->_MaxLevel = tObj->BaseLevel; in intel_update_max_level() 58 firstImage = intel_texture_image(tObj->Image[0][tObj->BaseLevel]); in intel_finalize_mipmap_tree() 70 intelObj->mt->first_level != tObj->BaseLevel || in intel_finalize_mipmap_tree() 85 tObj->BaseLevel, in intel_finalize_mipmap_tree() 101 for (i = tObj->BaseLevel; i <= intelObj->_MaxLevel; i++) { in intel_finalize_mipmap_tree() 193 for (i = intelObj->base.BaseLevel; i <= intelObj->_MaxLevel; i++) { in intel_tex_map_images() 210 for (i = intelObj->base.BaseLevel; i <= intelObj->_MaxLevel; i++) { in intel_tex_unmap_images()
|
D | intel_tex_image.c | 48 if (intelImage->base.Base.Level > intelObj->base.BaseLevel && in intel_miptree_create_for_teximage() 63 if (intelImage->base.Base.Level < intelObj->base.BaseLevel) in intel_miptree_create_for_teximage() 66 firstLevel = intelObj->base.BaseLevel; in intel_miptree_create_for_teximage()
|
/external/mesa3d/src/mesa/drivers/dri/r200/ |
D | radeon_mipmap_tree.c | 266 minLod = maxLod = tObj->BaseLevel; in calculate_min_max_lod() 268 minLod = tObj->BaseLevel + (GLint)(samp->MinLod); in calculate_min_max_lod() 269 minLod = MAX2(minLod, tObj->BaseLevel); in calculate_min_max_lod() 271 maxLod = tObj->BaseLevel + (GLint)(samp->MaxLod + 0.5); in calculate_min_max_lod() 327 if (texObj->BaseLevel < mt->baseLevel) in radeon_miptree_matches_texture() 330 mtBaseLevel = &mt->levels[texObj->BaseLevel - mt->baseLevel]; in radeon_miptree_matches_texture() 331 firstImage = texObj->Image[0][texObj->BaseLevel]; in radeon_miptree_matches_texture() 332 numLevels = MIN2(texObj->_MaxLevel - texObj->BaseLevel + 1, firstImage->MaxNumLevels); in radeon_miptree_matches_texture() 370 struct gl_texture_image *texImg = texObj->Image[0][texObj->BaseLevel]; in radeon_try_alloc_miptree() 381 numLevels = MIN2(texObj->MaxLevel - texObj->BaseLevel + 1, texImg->MaxNumLevels); in radeon_try_alloc_miptree() [all …]
|
D | radeon_texture.c | 757 for (i = texObj->BaseLevel; i <= texObj->_MaxLevel; i++) { in radeon_swrast_map_texture_images() 773 for (i = texObj->BaseLevel; i <= texObj->_MaxLevel; i++) { in radeon_swrast_unmap_texture_images() 796 if (texImage->Level > texObj->BaseLevel && in radeon_miptree_create_for_teximage() 808 if (texImage->Level < texObj->BaseLevel) in radeon_miptree_create_for_teximage() 811 firstLevel = texObj->BaseLevel; in radeon_miptree_create_for_teximage()
|
/external/mesa3d/src/mesa/drivers/dri/radeon/ |
D | radeon_mipmap_tree.c | 266 minLod = maxLod = tObj->BaseLevel; in calculate_min_max_lod() 268 minLod = tObj->BaseLevel + (GLint)(samp->MinLod); in calculate_min_max_lod() 269 minLod = MAX2(minLod, tObj->BaseLevel); in calculate_min_max_lod() 271 maxLod = tObj->BaseLevel + (GLint)(samp->MaxLod + 0.5); in calculate_min_max_lod() 327 if (texObj->BaseLevel < mt->baseLevel) in radeon_miptree_matches_texture() 330 mtBaseLevel = &mt->levels[texObj->BaseLevel - mt->baseLevel]; in radeon_miptree_matches_texture() 331 firstImage = texObj->Image[0][texObj->BaseLevel]; in radeon_miptree_matches_texture() 332 numLevels = MIN2(texObj->_MaxLevel - texObj->BaseLevel + 1, firstImage->MaxNumLevels); in radeon_miptree_matches_texture() 370 struct gl_texture_image *texImg = texObj->Image[0][texObj->BaseLevel]; in radeon_try_alloc_miptree() 381 numLevels = MIN2(texObj->MaxLevel - texObj->BaseLevel + 1, texImg->MaxNumLevels); in radeon_try_alloc_miptree() [all …]
|
D | radeon_texture.c | 757 for (i = texObj->BaseLevel; i <= texObj->_MaxLevel; i++) { in radeon_swrast_map_texture_images() 773 for (i = texObj->BaseLevel; i <= texObj->_MaxLevel; i++) { in radeon_swrast_unmap_texture_images() 796 if (texImage->Level > texObj->BaseLevel && in radeon_miptree_create_for_teximage() 808 if (texImage->Level < texObj->BaseLevel) in radeon_miptree_create_for_teximage() 811 firstLevel = texObj->BaseLevel; in radeon_miptree_create_for_teximage()
|
/external/mesa3d/src/mesa/drivers/dri/nouveau/ |
D | nouveau_texture.c | 331 if (level == t->BaseLevel && (s->offset & 0x7f)) in teximage_fits() 366 struct gl_texture_image *base = t->Image[0][t->BaseLevel]; in get_last_level() 370 return t->BaseLevel; in get_last_level() 372 return MIN2(t->BaseLevel + base->MaxNumLevels - 1, t->MaxLevel); in get_last_level() 378 struct gl_texture_image *base = t->Image[0][t->BaseLevel]; in relayout_texture() 395 for (i = t->BaseLevel; i <= last; i++) { in relayout_texture() 426 for (i = t->BaseLevel; i < last; i++) in relayout_texture() 437 if (!teximage_fits(t, t->BaseLevel) || in nouveau_texture_validate() 445 for (i = t->BaseLevel; i <= last; i++) { in nouveau_texture_validate() 461 if (!teximage_fits(t, t->BaseLevel) || in nouveau_texture_reallocate() [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 | 175 s = &to_nouveau_texture(t)->surfaces[t->BaseLevel]; in nv10_emit_tex_obj() 176 ti = t->Image[0][t->BaseLevel]; in nv10_emit_tex_obj()
|
D | nv20_state_tex.c | 181 s = &to_nouveau_texture(t)->surfaces[t->BaseLevel]; in nv20_emit_tex_obj() 182 ti = t->Image[0][t->BaseLevel]; in nv20_emit_tex_obj()
|
/external/mesa3d/src/mesa/state_tracker/ |
D | st_gen_mipmap.c | 127 baseImage = _mesa_get_tex_image(ctx, texObj, target, texObj->BaseLevel); in compute_num_levels() 129 numLevels = texObj->BaseLevel + baseImage->MaxNumLevels; in compute_num_levels() 147 const uint baseLevel = texObj->BaseLevel; in st_generate_mipmap()
|
D | st_atom_sampler.c | 158 (GLfloat) texobj->MaxLevel - texobj->BaseLevel); in convert_sampler() 159 sampler->max_lod = MIN2((GLfloat) texobj->MaxLevel - texobj->BaseLevel, in convert_sampler() 178 teximg = texobj->Image[0][texobj->BaseLevel]; in convert_sampler()
|
D | st_atom_texture.c | 155 templ.u.tex.first_level = stObj->base.BaseLevel; in st_create_texture_sampler_view_from_stobj() 220 st_texture_image(stObj->base.Image[0][stObj->base.BaseLevel]); in update_single_texture() 245 stObj->base.BaseLevel != stObj->sampler_view->u.tex.first_level) { in update_single_texture()
|
/external/mesa3d/src/mesa/swrast/ |
D | s_texfilter.c | 613 return tObj->BaseLevel; in linear_mipmap_level() 615 return (GLint) (tObj->BaseLevel + tObj->_MaxLambda); in linear_mipmap_level() 617 return (GLint) (tObj->BaseLevel + lambda); in linear_mipmap_level() 635 level = (GLint) (tObj->BaseLevel + l + 0.5F); in nearest_mipmap_level() 834 GLenum format = tObj->Image[0][tObj->BaseLevel]->_BaseFormat; in is_depth_texture() 1006 struct gl_texture_image *image = tObj->Image[0][tObj->BaseLevel]; in sample_nearest_1d() 1023 struct gl_texture_image *image = tObj->Image[0][tObj->BaseLevel]; in sample_linear_1d() 1053 sample_1d_nearest(ctx, samp, tObj->Image[0][tObj->BaseLevel], in sample_lambda_1d() 1058 sample_1d_linear(ctx, samp, tObj->Image[0][tObj->BaseLevel], in sample_lambda_1d() 1088 sample_1d_nearest(ctx, samp, tObj->Image[0][tObj->BaseLevel], in sample_lambda_1d() [all …]
|
D | s_texture.c | 254 for (level = texObj->BaseLevel; level < MAX_TEXTURE_LEVELS; level++) { in _swrast_map_texture() 275 for (level = texObj->BaseLevel; level < MAX_TEXTURE_LEVELS; level++) { in _swrast_unmap_texture()
|
D | s_triangle.c | 130 obj->Image[0][obj->BaseLevel]; \ 188 obj->Image[0][obj->BaseLevel]; \ 545 obj->Image[0][obj->BaseLevel]; \ 814 obj->Image[0][obj->BaseLevel]; \ 1062 texImg = texObj2D ? texObj2D->Image[0][texObj2D->BaseLevel] : NULL; in _swrast_choose_triangle()
|
/external/mesa3d/src/mesa/main/ |
D | texobj.c | 120 obj->BaseLevel = 0; in _mesa_initialize_texture_object() 254 dest->BaseLevel = src->BaseLevel; in _mesa_copy_texture_object() 444 const GLint baseLevel = t->BaseLevel; in _mesa_test_texobj_completeness() 663 const GLint baseLevel = texObj->BaseLevel; in _mesa_cube_complete()
|
D | texparam.c | 331 if (texObj->BaseLevel == params[0]) in set_tex_parameteri() 340 texObj->BaseLevel = params[0]; in set_tex_parameteri() 1359 *params = (GLfloat) obj->BaseLevel; in _mesa_GetTexParameterfv() 1543 *params = obj->BaseLevel; in _mesa_GetTexParameteriv()
|