Home
last modified time | relevance | path

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

/external/mesa3d/src/mesa/state_tracker/
Dst_gen_mipmap.c74 uint baseLevel, uint lastLevel) in st_render_mipmap() argument
101 util_gen_mipmap(st->gen_mipmap, psv, face, baseLevel, lastLevel, in st_render_mipmap()
148 uint lastLevel; in st_generate_mipmap() local
159 lastLevel = compute_num_levels(ctx, texObj, target) - 1; in st_generate_mipmap()
161 if (lastLevel == 0) in st_generate_mipmap()
167 stObj->lastLevel = lastLevel; in st_generate_mipmap()
169 if (pt->last_level < lastLevel) { in st_generate_mipmap()
179 lastLevel, in st_generate_mipmap()
204 assert(pt->last_level >= lastLevel); in st_generate_mipmap()
209 if (!st_render_mipmap(st, target, stObj, baseLevel, lastLevel)) { in st_generate_mipmap()
[all …]
Dst_cb_texture.c327 GLuint lastLevel, width, height, depth; in guess_and_alloc_texture() local
365 lastLevel = 0; in guess_and_alloc_texture()
369 lastLevel = _mesa_get_tex_max_num_levels(stObj->base.Target, in guess_and_alloc_texture()
389 lastLevel, in guess_and_alloc_texture()
396 stObj->lastLevel = lastLevel; in guess_and_alloc_texture()
1193 stObj->lastLevel = stObj->base.BaseLevel; in st_finalize_texture()
1195 stObj->lastLevel = stObj->base._MaxLevel; in st_finalize_texture()
1240 stObj->pt->last_level < stObj->lastLevel || in st_finalize_texture()
1263 stObj->lastLevel, in st_finalize_texture()
1280 for (level = stObj->base.BaseLevel; level <= stObj->lastLevel; level++) { in st_finalize_texture()
[all …]
Dst_texture.h72 GLuint lastLevel; member
/external/jmonkeyengine/engine/src/core/com/jme3/scene/control/
DLodControl.java65 private int lastLevel = 0; field in LodControl
138 clone.lastLevel = 0; in cloneForSpatial()
160 … level = lastLevel; // we haven't moved relative to the model, send the old measurement back. in controlRender()
161 else if (lastDistance > newDistance && lastLevel == 0) in controlRender()
162 …level = lastLevel; // we're already at the lowest setting and we just got closer to the model, no … in controlRender()
163 else if (lastDistance < newDistance && lastLevel == numLevels - 1) in controlRender()
164 …level = lastLevel; // we're already at the highest setting and we just got further from the model,… in controlRender()
178 lastLevel = level; in controlRender()
/external/mesa3d/src/mesa/drivers/dri/i965/
Dintel_tex_image.c39 GLuint lastLevel; in intel_miptree_create_for_teximage() local
58 lastLevel = intelImage->base.Base.Level; in intel_miptree_create_for_teximage()
86 lastLevel = firstLevel; in intel_miptree_create_for_teximage()
88 lastLevel = firstLevel; in intel_miptree_create_for_teximage()
90 lastLevel = firstLevel + _mesa_logbase2(MAX2(MAX2(width, height), depth)); in intel_miptree_create_for_teximage()
98 lastLevel, in intel_miptree_create_for_teximage()
/external/mesa3d/src/mesa/drivers/dri/i915/
Dintel_tex_image.c39 GLuint lastLevel; in intel_miptree_create_for_teximage() local
58 lastLevel = intelImage->base.Base.Level; in intel_miptree_create_for_teximage()
86 lastLevel = firstLevel; in intel_miptree_create_for_teximage()
88 lastLevel = firstLevel; in intel_miptree_create_for_teximage()
90 lastLevel = firstLevel + _mesa_logbase2(MAX2(MAX2(width, height), depth)); in intel_miptree_create_for_teximage()
98 lastLevel, in intel_miptree_create_for_teximage()
/external/mesa3d/src/mesa/drivers/dri/intel/
Dintel_tex_image.c39 GLuint lastLevel; in intel_miptree_create_for_teximage() local
58 lastLevel = intelImage->base.Base.Level; in intel_miptree_create_for_teximage()
86 lastLevel = firstLevel; in intel_miptree_create_for_teximage()
88 lastLevel = firstLevel; in intel_miptree_create_for_teximage()
90 lastLevel = firstLevel + _mesa_logbase2(MAX2(MAX2(width, height), depth)); in intel_miptree_create_for_teximage()
98 lastLevel, in intel_miptree_create_for_teximage()
/external/mesa3d/src/gallium/auxiliary/util/
Du_gen_mipmap.h57 uint layer, uint baseLevel, uint lastLevel, uint filter);
Du_gen_mipmap.c1104 uint layer, uint baseLevel, uint lastLevel) in make_1d_mipmap() argument
1109 for (dstLevel = baseLevel + 1; dstLevel <= lastLevel; dstLevel++) { in make_1d_mipmap()
1142 uint layer, uint baseLevel, uint lastLevel) in make_2d_mipmap() argument
1150 for (dstLevel = baseLevel + 1; dstLevel <= lastLevel; dstLevel++) { in make_2d_mipmap()
1186 uint face, uint baseLevel, uint lastLevel) in make_3d_mipmap() argument
1198 for (dstLevel = baseLevel + 1; dstLevel <= lastLevel; dstLevel++) { in make_3d_mipmap()
1238 uint layer, uint baseLevel, uint lastLevel) in fallback_gen_mipmap() argument
1242 make_1d_mipmap(ctx, pt, layer, baseLevel, lastLevel); in fallback_gen_mipmap()
1247 make_2d_mipmap(ctx, pt, layer, baseLevel, lastLevel); in fallback_gen_mipmap()
1250 make_3d_mipmap(ctx, pt, layer, baseLevel, lastLevel); in fallback_gen_mipmap()
[all …]
/external/mesa3d/src/mesa/drivers/dri/radeon/
Dradeon_texture.c788 GLuint lastLevel; in radeon_miptree_create_for_teximage() local
806 lastLevel = texImage->Level; in radeon_miptree_create_for_teximage()
823 lastLevel = firstLevel; in radeon_miptree_create_for_teximage()
825 lastLevel = firstLevel + _mesa_logbase2(MAX2(MAX2(width, height), depth)); in radeon_miptree_create_for_teximage()
830 texImage->TexFormat, firstLevel, lastLevel - firstLevel + 1, in radeon_miptree_create_for_teximage()
Dradeon_mipmap_tree.c479 unsigned lastLevel) in get_biggest_matching_miptree() argument
481 const unsigned numLevels = lastLevel - firstLevel + 1; in get_biggest_matching_miptree()
490 for (level = firstLevel; level <= lastLevel; ++level) { in get_biggest_matching_miptree()
/external/mesa3d/src/mesa/drivers/dri/r200/
Dradeon_texture.c788 GLuint lastLevel; in radeon_miptree_create_for_teximage() local
806 lastLevel = texImage->Level; in radeon_miptree_create_for_teximage()
823 lastLevel = firstLevel; in radeon_miptree_create_for_teximage()
825 lastLevel = firstLevel + _mesa_logbase2(MAX2(MAX2(width, height), depth)); in radeon_miptree_create_for_teximage()
830 texImage->TexFormat, firstLevel, lastLevel - firstLevel + 1, in radeon_miptree_create_for_teximage()
Dradeon_mipmap_tree.c479 unsigned lastLevel) in get_biggest_matching_miptree() argument
481 const unsigned numLevels = lastLevel - firstLevel + 1; in get_biggest_matching_miptree()
490 for (level = firstLevel; level <= lastLevel; ++level) { in get_biggest_matching_miptree()
/external/libxml2/
Dxinclude.c918 int level = 0, lastLevel = 0, endLevel = 0, endFlag = 0; in xmlXIncludeCopyRange() local
960 lastLevel = 0; in xmlXIncludeCopyRange()
965 while (level < lastLevel) { in xmlXIncludeCopyRange()
967 lastLevel --; in xmlXIncludeCopyRange()
990 if (level == lastLevel) in xmlXIncludeCopyRange()
1004 if (level == lastLevel) in xmlXIncludeCopyRange()
1008 lastLevel = level; in xmlXIncludeCopyRange()
1055 level = lastLevel = 1; in xmlXIncludeCopyRange()
1091 if (level == lastLevel) in xmlXIncludeCopyRange()
1095 lastLevel = level; in xmlXIncludeCopyRange()