Home
last modified time | relevance | path

Searched refs:lastLevel (Results 1 – 14 of 14) sorted by relevance

/third_party/mesa3d/src/mesa/state_tracker/
Dst_gen_mipmap.c61 uint lastLevel, first_layer, last_layer; in st_generate_mipmap() local
74 lastLevel = _mesa_compute_num_levels(ctx, texObj, target) - 1; in st_generate_mipmap()
77 lastLevel += texObj->Attrib.MinLevel; in st_generate_mipmap()
79 if (lastLevel == 0) in st_generate_mipmap()
88 stObj->lastLevel = lastLevel; in st_generate_mipmap()
98 _mesa_prepare_mipmap_levels(ctx, texObj, baseLevel, lastLevel); in st_generate_mipmap()
119 assert(pt->last_level >= lastLevel); in st_generate_mipmap()
144 lastLevel, first_layer, last_layer)) { in st_generate_mipmap()
146 if (!util_gen_mipmap(st->pipe, pt, format, baseLevel, lastLevel, in st_generate_mipmap()
Dst_cb_texture.c915 GLuint lastLevel, width, height, depth; in guess_and_alloc_texture() local
971 lastLevel = _mesa_get_tex_max_num_levels(stObj->base.Target, in guess_and_alloc_texture()
976 lastLevel = 0; in guess_and_alloc_texture()
990 lastLevel, in guess_and_alloc_texture()
997 stObj->lastLevel = lastLevel; in guess_and_alloc_texture()
2998 stObj->lastLevel = stObj->base._MaxLevel; in st_finalize_texture()
3000 stObj->lastLevel = stObj->base.Attrib.BaseLevel; in st_finalize_texture()
3008 stObj->lastLevel <= stObj->validated_last_level) { in st_finalize_texture()
3101 stObj->pt->last_level < stObj->lastLevel || in st_finalize_texture()
3125 stObj->lastLevel, in st_finalize_texture()
[all …]
Dst_texture.h141 GLuint lastLevel; member
/third_party/mesa3d/src/mesa/drivers/dri/i915/
Dintel_tex_image.c38 GLuint lastLevel; in intel_miptree_create_for_teximage() local
57 lastLevel = intelImage->base.Base.Level; in intel_miptree_create_for_teximage()
84 lastLevel = firstLevel; in intel_miptree_create_for_teximage()
86 lastLevel = (firstLevel + in intel_miptree_create_for_teximage()
96 lastLevel, in intel_miptree_create_for_teximage()
/third_party/mesa3d/src/mesa/drivers/dri/radeon/
Dradeon_texture.c646 GLuint lastLevel; in radeon_miptree_create_for_teximage() local
664 lastLevel = texImage->Level; in radeon_miptree_create_for_teximage()
681 lastLevel = firstLevel; in radeon_miptree_create_for_teximage()
683 lastLevel = firstLevel + util_logbase2(MAX2(MAX2(width, height), depth)); in radeon_miptree_create_for_teximage()
688 texImage->TexFormat, firstLevel, lastLevel - firstLevel + 1, in radeon_miptree_create_for_teximage()
Dradeon_mipmap_tree.c449 unsigned lastLevel) in get_biggest_matching_miptree() argument
451 const unsigned numLevels = lastLevel - firstLevel + 1; in get_biggest_matching_miptree()
460 for (level = firstLevel; level <= lastLevel; ++level) { in get_biggest_matching_miptree()
/third_party/mesa3d/src/mesa/drivers/dri/r200/
Dradeon_texture.c646 GLuint lastLevel; in radeon_miptree_create_for_teximage() local
664 lastLevel = texImage->Level; in radeon_miptree_create_for_teximage()
681 lastLevel = firstLevel; in radeon_miptree_create_for_teximage()
683 lastLevel = firstLevel + util_logbase2(MAX2(MAX2(width, height), depth)); in radeon_miptree_create_for_teximage()
688 texImage->TexFormat, firstLevel, lastLevel - firstLevel + 1, in radeon_miptree_create_for_teximage()
Dradeon_mipmap_tree.c449 unsigned lastLevel) in get_biggest_matching_miptree() argument
451 const unsigned numLevels = lastLevel - firstLevel + 1; in get_biggest_matching_miptree()
460 for (level = firstLevel; level <= lastLevel; ++level) { in get_biggest_matching_miptree()
/third_party/gettext/gnulib-local/lib/libxml/
Dxinclude.c947 int level = 0, lastLevel = 0, endLevel = 0, endFlag = 0; in xmlXIncludeCopyRange() local
989 lastLevel = 0; in xmlXIncludeCopyRange()
994 while (level < lastLevel) { in xmlXIncludeCopyRange()
996 lastLevel --; in xmlXIncludeCopyRange()
1019 if (level == lastLevel) in xmlXIncludeCopyRange()
1033 if (level == lastLevel) in xmlXIncludeCopyRange()
1037 lastLevel = level; in xmlXIncludeCopyRange()
1084 level = lastLevel = 1; in xmlXIncludeCopyRange()
1120 if (level == lastLevel) in xmlXIncludeCopyRange()
1124 lastLevel = level; in xmlXIncludeCopyRange()
/third_party/libxml2/
Dxinclude.c932 int level = 0, lastLevel = 0, endLevel = 0, endFlag = 0; in xmlXIncludeCopyRange() local
974 lastLevel = 0; in xmlXIncludeCopyRange()
979 while (level < lastLevel) { in xmlXIncludeCopyRange()
981 lastLevel --; in xmlXIncludeCopyRange()
1004 if (level == lastLevel) in xmlXIncludeCopyRange()
1019 if (level == lastLevel) in xmlXIncludeCopyRange()
1023 lastLevel = level; in xmlXIncludeCopyRange()
1069 level = lastLevel = 1; in xmlXIncludeCopyRange()
1105 if (level == lastLevel) in xmlXIncludeCopyRange()
1109 lastLevel = level; in xmlXIncludeCopyRange()
/third_party/mesa3d/src/mesa/drivers/dri/i965/
Dbrw_tex_image.c57 GLuint lastLevel; in brw_miptree_create_for_teximage() local
112 lastLevel = 0; in brw_miptree_create_for_teximage()
114 lastLevel = _mesa_get_tex_max_num_levels(brw_obj->base.Target, in brw_miptree_create_for_teximage()
122 lastLevel, in brw_miptree_create_for_teximage()
/third_party/mesa3d/docs/relnotes/
D18.1.1.rst105 - st/mesa: simplify lastLevel determination in st_finalize_texture
D18.0.5.rst112 - st/mesa: simplify lastLevel determination in st_finalize_texture
D8.0.4.rst176 - st/mesa: set stObj->lastLevel in guess_and_alloc_texture