/external/mesa3d/src/mesa/drivers/dri/i915/ |
D | i915_tex_layout.c | 128 for (level = mt->first_level; level <= mt->last_level; level++) { in i915_miptree_layout_cube() 142 for (level = mt->first_level; level <= mt->last_level; level++) { in i915_miptree_layout_cube() 147 face, level, mt->first_level, mt->last_level); in i915_miptree_layout_cube() 169 for (level = mt->first_level; level <= MAX2(8, mt->last_level); level++) { in i915_miptree_layout_3d() 182 for (level = mt->first_level; level <= mt->last_level; level++) { in i915_miptree_layout_3d() 210 for (level = mt->first_level; level <= mt->last_level; level++) { in i915_miptree_layout_2d() 337 for (level = mt->first_level; level <= mt->last_level; level++) { in i945_miptree_layout_cube() 358 for (level = mt->first_level; level <= mt->last_level; level++) { in i945_miptree_layout_cube() 419 for (level = mt->first_level; level <= mt->last_level; level++) { in i945_miptree_layout_3d()
|
D | intel_tex_layout.c | 161 if (mt->first_level != mt->last_level) { in i945_miptree_layout_2d() 179 for ( level = mt->first_level ; level <= mt->last_level ; level++ ) { in i945_miptree_layout_2d()
|
D | intel_mipmap_tree.c | 79 GLuint last_level, in intel_miptree_create_internal() argument 93 first_level, last_level, mt); in intel_miptree_create_internal() 101 mt->last_level = last_level; in intel_miptree_create_internal() 143 mt->last_level, in intel_miptree_create_internal() 191 GLuint last_level, in intel_miptree_create() argument 236 first_level, last_level, width0, in intel_miptree_create() 804 mt->last_level, in intel_miptree_alloc_mcs() 840 mt->last_level, in intel_miptree_alloc_hiz() 853 for (int level = mt->first_level; level <= mt->last_level; ++level) { in intel_miptree_alloc_hiz() 1016 assert(mt->last_level == 0); in assert_is_flat() [all …]
|
/external/mesa3d/src/gallium/auxiliary/util/ |
D | u_debug_describe.c | 47 …uf, "pipe_texture1d<%u,%s,%u>", ptr->width0, util_format_short_name(ptr->format), ptr->last_level); in debug_describe_resource() 50 …2d<%u,%u,%s,%u>", ptr->width0, ptr->height0, util_format_short_name(ptr->format), ptr->last_level); in debug_describe_resource() 56 …be<%u,%u,%s,%u>", ptr->width0, ptr->height0, util_format_short_name(ptr->format), ptr->last_level); in debug_describe_resource() 59 …u>", ptr->width0, ptr->height0, ptr->depth0, util_format_short_name(ptr->format), ptr->last_level); in debug_describe_resource()
|
D | u_sampler.c | 50 view->u.tex.last_level = texture->last_level; in default_template()
|
D | u_surfaces.c | 50 us->u.array = CALLOC(pt->last_level + 1, sizeof(struct pipe_surface *)); in util_surfaces_do_get() 114 for(i = 0; i <= pt->last_level; ++i) in util_surfaces_destroy()
|
/external/mesa3d/src/gallium/drivers/svga/ |
D | svga_sampler_view.c | 70 assert(max_lod <= pt->last_level); in svga_get_tex_sampler_view() 80 if (min_lod == 0 && max_lod >= pt->last_level) in svga_get_tex_sampler_view() 99 pt, min_lod, max_lod, pt->last_level); in svga_get_tex_sampler_view() 126 pt->last_level); in svga_get_tex_sampler_view() 141 pt->last_level); in svga_get_tex_sampler_view()
|
/external/mesa3d/src/gallium/drivers/galahad/ |
D | glhd_screen.c | 154 glhd_check("%u", templat->last_level, == 0); in galahad_screen_resource_create() 160 glhd_check("%u", templat->last_level, < max_texture_2d_levels); in galahad_screen_resource_create() 167 glhd_check("%u", templat->last_level, < max_texture_2d_levels); in galahad_screen_resource_create() 174 glhd_check("%u", templat->last_level, < max_texture_cube_levels); in galahad_screen_resource_create() 181 glhd_check("%u", templat->last_level, == 0); in galahad_screen_resource_create() 188 glhd_check("%u", templat->last_level, < max_texture_3d_levels); in galahad_screen_resource_create() 195 glhd_check("%u", templat->last_level, < max_texture_2d_levels); in galahad_screen_resource_create() 202 glhd_check("%u", templat->last_level, < max_texture_2d_levels); in galahad_screen_resource_create()
|
/external/mesa3d/src/gallium/drivers/r300/ |
D | r300_texture_desc.c | 131 if (level > tex->b.b.last_level) { in r300_texture_get_stride() 133 __FUNCTION__, level, tex->b.b.last_level); in r300_texture_get_stride() 167 tex->b.b.last_level != 0) { in r300_texture_get_nblocksy() 190 if (level == 0 && tex->b.b.last_level == 0 && in r300_texture_get_nblocksy() 231 for (i = 0; i <= base->last_level; i++) { in r300_setup_miptree() 307 for (i = 0; i <= tex->b.b.last_level; i++) in r300_setup_cbzb_flags() 367 for (i = 0; i <= tex->b.b.last_level; i++) { in r300_setup_hyperz_properties() 473 tex->b.b.last_level, tex->tex.size_in_bytes, in r300_tex_print_info() 487 tex->b.b.last_level = base->last_level; in r300_texture_desc_init()
|
/external/mesa3d/src/gallium/drivers/i915/ |
D | i915_resource_texture.c | 207 if (pt->last_level > 0 || util_format_get_blocksize(pt->format) != 4) in i9x5_scanout_layout() 242 if (pt->last_level > 0 || util_format_get_blocksize(pt->format) != 4) in i9x5_display_target_layout() 308 for (level = 0; level <= pt->last_level; level++) in i9x5_texture_layout_cube() 316 for (level = 0; level <= pt->last_level; level++) { in i9x5_texture_layout_cube() 347 for (level = 0; level <= pt->last_level; level++) { in i915_texture_layout_2d() 377 for (level = 0; level <= MAX2(8, pt->last_level); level++) { in i915_texture_layout_3d() 389 for (level = 0; level <= pt->last_level; level++) { in i915_texture_layout_3d() 459 if (pt->last_level > 0) { in i945_texture_layout_2d() 473 for (level = 0; level <= pt->last_level; level++) { in i945_texture_layout_2d() 516 for (level = 0; level <= pt->last_level; level++) { in i945_texture_layout_3d() [all …]
|
/external/mesa3d/src/gallium/auxiliary/gallivm/ |
D | lp_bld_sample.c | 137 if (view->u.tex.last_level && sampler->max_lod > 0.0f) { in lp_sampler_static_state() 158 if (sampler->max_lod < (float)view->u.tex.last_level) { in lp_sampler_static_state() 631 LLVMValueRef first_level, last_level, level; in lp_build_nearest_mip_level() local 635 last_level = bld->dynamic_state->last_level(bld->dynamic_state, in lp_build_nearest_mip_level() 638 last_level = lp_build_broadcast_scalar(perquadi_bld, last_level); in lp_build_nearest_mip_level() 643 *level_out = lp_build_clamp(perquadi_bld, level, first_level, last_level); in lp_build_nearest_mip_level() 663 LLVMValueRef first_level, last_level; in lp_build_linear_mip_levels() local 669 last_level = bld->dynamic_state->last_level(bld->dynamic_state, in lp_build_linear_mip_levels() 672 last_level = lp_build_broadcast_scalar(perquadi_bld, last_level); in lp_build_linear_mip_levels() 708 *level0_out, last_level, in lp_build_linear_mip_levels() [all …]
|
/external/webp/src/utils/ |
D | quant_levels_dec.c | 183 int i, last_level; in CountLevels() local 195 last_level = -1; in CountLevels() 199 if (last_level >= 0) { in CountLevels() 200 const int level_dist = i - last_level; in CountLevels() 205 last_level = i; in CountLevels()
|
/external/mesa3d/src/gallium/drivers/nv30/ |
D | nv30_texture.c | 275 so->fmt |= (pt->last_level + 1) << NV40_3D_TEX_FORMAT_MIPMAP_COUNT__SHIFT; in nv30_sampler_view_create() 278 if (pt->last_level) in nv30_sampler_view_create() 287 so->high_lod = MIN2(pt->last_level, so->pipe.u.tex.last_level) << 8; in nv30_sampler_view_create()
|
/external/mesa3d/src/gallium/state_trackers/d3d1x/gd3d11/ |
D | d3d11_screen.h | 803 templat.last_level = mip_levels - 1; in create_resource() 805 …templat.last_level = MAX2(MAX2(util_logbase2(templat.width0), util_logbase2(templat.height0)), uti… in create_resource() 842 for(unsigned level = 0; level <= templat.last_level; ++level) in create_resource() 888 cdesc.MipLevels = resource->last_level + 1; in CreateTexture1D() 906 cdesc.MipLevels = resource->last_level + 1; in CreateTexture2D() 927 cdesc.MipLevels = resource->last_level + 1; in CreateTexture3D() 966 desc.MipLevels = resource->last_level + 1; in OpenGalliumResource() 1061 def_desc.Texture1D.MipLevels = resource->last_level + 1; 1065 def_desc.Texture1DArray.MipLevels = resource->last_level + 1; 1071 def_desc.Texture2D.MipLevels = resource->last_level + 1; [all …]
|
/external/mesa3d/src/mesa/drivers/dri/i965/ |
D | intel_tex_layout.c | 161 if (mt->first_level != mt->last_level) { in i945_miptree_layout_2d() 179 for ( level = mt->first_level ; level <= mt->last_level ; level++ ) { in i945_miptree_layout_2d()
|
D | intel_mipmap_tree.c | 79 GLuint last_level, in intel_miptree_create_internal() argument 93 first_level, last_level, mt); in intel_miptree_create_internal() 101 mt->last_level = last_level; in intel_miptree_create_internal() 143 mt->last_level, in intel_miptree_create_internal() 191 GLuint last_level, in intel_miptree_create() argument 236 first_level, last_level, width0, in intel_miptree_create() 804 mt->last_level, in intel_miptree_alloc_mcs() 840 mt->last_level, in intel_miptree_alloc_hiz() 853 for (int level = mt->first_level; level <= mt->last_level; ++level) { in intel_miptree_alloc_hiz() 1016 assert(mt->last_level == 0); in assert_is_flat() [all …]
|
D | brw_tex_layout.c | 61 for (level = mt->first_level; level <= mt->last_level; level++) { in brw_miptree_layout_texture_array() 107 for (level = mt->first_level ; level <= mt->last_level ; level++) { in brw_miptree_layout()
|
/external/mesa3d/src/mesa/drivers/dri/intel/ |
D | intel_tex_layout.c | 161 if (mt->first_level != mt->last_level) { in i945_miptree_layout_2d() 179 for ( level = mt->first_level ; level <= mt->last_level ; level++ ) { in i945_miptree_layout_2d()
|
D | intel_mipmap_tree.h | 213 GLuint last_level; member 376 GLuint last_level, 418 assert(level <= mt->last_level); in intel_miptree_check_level_layer()
|
D | intel_mipmap_tree.c | 79 GLuint last_level, in intel_miptree_create_internal() argument 93 first_level, last_level, mt); in intel_miptree_create_internal() 101 mt->last_level = last_level; in intel_miptree_create_internal() 143 mt->last_level, in intel_miptree_create_internal() 191 GLuint last_level, in intel_miptree_create() argument 236 first_level, last_level, width0, in intel_miptree_create() 804 mt->last_level, in intel_miptree_alloc_mcs() 840 mt->last_level, in intel_miptree_alloc_hiz() 853 for (int level = mt->first_level; level <= mt->last_level; ++level) { in intel_miptree_alloc_hiz() 1016 assert(mt->last_level == 0); in assert_is_flat() [all …]
|
/external/mesa3d/src/mesa/state_tracker/ |
D | st_texture.c | 58 GLuint last_level, in st_texture_create() argument 76 (int) target, util_format_name(format), last_level); in st_texture_create() 85 pt.last_level = last_level; in st_texture_create()
|
D | st_gen_mipmap.c | 169 if (pt->last_level < lastLevel) { in st_generate_mipmap() 204 assert(pt->last_level >= lastLevel); in st_generate_mipmap()
|
/external/libdrm/radeon/ |
D | radeon_surface.c | 283 for (i = start_level; i <= surf->last_level; i++) { in r6_surface_init_linear() 311 for (i = start_level; i <= surf->last_level; i++) { in r6_surface_init_linear_aligned() 344 for (i = start_level; i <= surf->last_level; i++) { in r6_surface_init_1d() 384 for (i = start_level; i <= surf->last_level; i++) { in r6_surface_init_2d() 445 if (surf->last_level > 14) { in r6_surface_init() 635 for (i = start_level; i <= surf->last_level; i++) { in eg_surface_init_1d() 685 for (i = start_level; i <= surf->last_level; i++) { in eg_surface_init_2d() 712 if (surf->last_level > 15) { in eg_surface_sanity() 1291 if (surf->last_level > 15) { in si_surface_sanity() 1428 if (level == 0 && surf->last_level > 0) { in si_surf_minify() [all …]
|
/external/mesa3d/src/gallium/auxiliary/rbug/ |
D | rbug_texture.h | 107 uint32_t last_level; member 176 uint32_t last_level,
|
/external/mesa3d/src/gallium/drivers/radeonsi/ |
D | r600_texture.c | 87 surface->last_level = ptex->last_level; in r600_init_surface() 337 resource.last_level = 0; in si_texture_get_transfer() 599 templ->depth0 != 1 || templ->last_level != 0) in si_texture_from_handle() 642 resource.last_level = texture->last_level; in r600_texture_depth_flush()
|