/external/mesa3d/src/gallium/drivers/galahad/ |
D | glhd_screen.c | 149 glhd_check("%u", templat->height0, >= 1); in galahad_screen_resource_create() 155 glhd_check("%u", templat->height0, == 1); in galahad_screen_resource_create() 162 glhd_check("%u", templat->height0, == 1); in galahad_screen_resource_create() 169 glhd_check("%u", templat->height0, <= (1 << (max_texture_2d_levels - 1))); in galahad_screen_resource_create() 176 glhd_check("%u", templat->height0, == templat->width0); in galahad_screen_resource_create() 183 glhd_check("%u", templat->height0, <= (1 << (max_texture_2d_levels - 1))); in galahad_screen_resource_create() 190 glhd_check("%u", templat->height0, <= (1 << (max_texture_3d_levels - 1))); in galahad_screen_resource_create() 197 glhd_check("%u", templat->height0, == 1); in galahad_screen_resource_create() 204 glhd_check("%u", templat->height0, <= (1 << (max_texture_2d_levels - 1))); in galahad_screen_resource_create() 213 if(!util_is_power_of_two(templat->width0) || !util_is_power_of_two(templat->height0)) in galahad_screen_resource_create() [all …]
|
/external/mesa3d/src/mesa/state_tracker/ |
D | st_texture.c | 60 GLuint height0, in st_texture_create() argument 70 assert(height0 > 0); in st_texture_create() 87 pt.height0 = height0; in st_texture_create() 196 ptHeight != u_minify(pt->height0, image->Level) || in st_texture_match_image() 318 u_minify(dst->height0, level)); in st_texture_image_data() 326 u_minify(dst->height0, level)); /* width, height */ in st_texture_image_data() 346 region.y = src->height0 / 2; in print_center_pixel() 375 GLuint height = u_minify(dst->height0, dstLevel); in st_texture_image_copy() 381 u_minify(src->height0, srcLevel) != height || in st_texture_image_copy()
|
D | st_texture.h | 78 GLuint width0, height0, depth0; member 153 GLuint height0,
|
/external/mesa3d/src/gallium/state_trackers/xorg/ |
D | xorg_renderer.c | 167 t0 = pt0[1] / src->height0; in add_vertex_data1() 168 t1 = pt1[1] / src->height0; in add_vertex_data1() 169 t2 = pt2[1] / src->height0; in add_vertex_data1() 170 t3 = pt3[1] / src->height0; in add_vertex_data1() 257 src_t0 = spt0[1] / src->height0; in add_vertex_data2() 258 src_t1 = spt1[1] / src->height0; in add_vertex_data2() 259 src_t2 = spt2[1] / src->height0; in add_vertex_data2() 260 src_t3 = spt3[1] / src->height0; in add_vertex_data2() 266 mask_t0 = mpt0[1] / mask->height0; in add_vertex_data2() 267 mask_t1 = mpt1[1] / mask->height0; in add_vertex_data2() [all …]
|
/external/mesa3d/src/gallium/auxiliary/util/ |
D | u_debug_describe.c | 50 …util_sprintf(buf, "pipe_texture2d<%u,%u,%s,%u>", ptr->width0, ptr->height0, util_format_short_name… in debug_describe_resource() 53 …util_sprintf(buf, "pipe_texture_rect<%u,%u,%s>", ptr->width0, ptr->height0, util_format_short_name… in debug_describe_resource() 56 …util_sprintf(buf, "pipe_texture_cube<%u,%u,%s,%u>", ptr->width0, ptr->height0, util_format_short_n… in debug_describe_resource() 59 …util_sprintf(buf, "pipe_texture3d<%u,%u,%u,%s,%u>", ptr->width0, ptr->height0, ptr->depth0, util_f… in debug_describe_resource()
|
/external/mesa3d/src/gallium/drivers/r300/ |
D | r300_texture_desc.c | 103 texdim = u_minify(tex->tex.height0, level); in r300_texture_macro_switch() 161 height = u_minify(tex->tex.height0, level); in r300_texture_get_nblocksy() 268 i, u_minify(tex->tex.width0, i), u_minify(tex->tex.height0, i), in r300_setup_miptree() 284 !util_is_power_of_two(tex->b.b.height0) || in r300_setup_flags() 373 height = u_minify(tex->b.b.height0, i); in r300_setup_hyperz_properties() 434 if (!is_zb && (tex->b.b.height0 == 1 || dbg_no_tiling)) { in r300_setup_tiling() 472 tex->b.b.width0, tex->b.b.height0, tex->b.b.depth0, in r300_tex_print_info() 484 tex->b.b.height0 = base->height0; in r300_texture_desc_init() 490 tex->tex.height0 = base->height0; in r300_texture_desc_init() 498 tex->tex.height0 = util_next_power_of_two(tex->tex.height0); in r300_texture_desc_init()
|
/external/mesa3d/src/gallium/drivers/softpipe/ |
D | sp_texture.c | 60 unsigned height = pt->height0; in softpipe_resource_layout() 107 spr->base.height0, in softpipe_displaytarget_layout() 133 util_is_power_of_two(templat->height0) && in softpipe_resource_create() 191 util_is_power_of_two(templat->height0) && in softpipe_resource_from_handle() 233 const unsigned hgt = u_minify(spr->base.height0, level); in sp_get_tex_image_offset() 274 ps->height = u_minify(pt->height0, level); in softpipe_create_surface() 330 assert(box->y + box->height <= u_minify(resource->height0, level)); in softpipe_get_transfer() 367 const unsigned hgt = u_minify(spr->base.height0, level); in softpipe_get_transfer() 476 spr->base.height0 = 1; in softpipe_user_buffer_create()
|
/external/mesa3d/src/mesa/drivers/dri/i965/ |
D | brw_tex_layout.c | 50 h0 = ALIGN(mt->height0, mt->align_h); in brw_miptree_layout_texture_array() 51 h1 = ALIGN(minify(mt->height0), mt->align_h); in brw_miptree_layout_texture_array() 88 GLuint height = mt->height0; in brw_miptree_layout() 101 pack_y_pitch = ALIGN(mt->height0, mt->align_h); in brw_miptree_layout()
|
/external/mesa3d/src/mesa/drivers/dri/i915/ |
D | i915_tex_layout.c | 119 GLuint lvlWidth = mt->width0, lvlHeight = mt->height0; in i915_miptree_layout_cube() 160 GLuint height = mt->height0; in i915_miptree_layout_3d() 203 GLuint height = mt->height0; in i915_miptree_layout_2d() 317 GLuint lvlWidth = mt->width0, lvlHeight = mt->height0; in i945_miptree_layout_cube() 406 GLuint height = mt->height0; in i945_miptree_layout_3d() 415 pack_y_pitch = MAX2(mt->height0, 2); in i945_miptree_layout_3d()
|
/external/mesa3d/src/gallium/drivers/i915/ |
D | i915_resource_texture.c | 215 tex->total_nblocksy = align_nblocksy(pt->format, pt->height0, 8); in i9x5_scanout_layout() 218 } else if (pt->width0 == 64 && pt->height0 == 64) { in i9x5_scanout_layout() 220 tex->total_nblocksy = align_nblocksy(pt->format, pt->height0, 8); in i9x5_scanout_layout() 227 pt->width0, pt->height0, util_format_get_blocksize(pt->format), in i9x5_scanout_layout() 253 tex->total_nblocksy = align_nblocksy(pt->format, pt->height0, 8); in i9x5_display_target_layout() 258 pt->width0, pt->height0, util_format_get_blocksize(pt->format), in i9x5_display_target_layout() 302 assert(pt->width0 == pt->height0); /* cubemap images are square */ in i9x5_texture_layout_cube() 337 unsigned height = pt->height0; in i915_texture_layout_2d() 366 unsigned height = pt->height0; in i915_texture_layout_3d() 368 unsigned nblocksy = util_format_get_nblocksy(pt->format, pt->height0); in i915_texture_layout_3d() [all …]
|
/external/mesa3d/src/gallium/state_trackers/vdpau/ |
D | output.c | 78 res_tmpl.height0 = height; in vlVdpOutputSurfaceCreate() 175 *height = vlsurface->sampler_view->texture->height0; in vlVdpOutputSurfaceGetParameters() 323 res_tmpl.height0 = abs(destination_rect->y0-destination_rect->y1); in vlVdpOutputSurfacePutBitsIndexed() 326 res_tmpl.height0 = vlsurface->surface->texture->height0; in vlVdpOutputSurfacePutBitsIndexed() 342 box.height = res->height0; in vlVdpOutputSurfacePutBitsIndexed() 347 source_pitch[0] * res->height0); in vlVdpOutputSurfacePutBitsIndexed() 363 res_tmpl.height0 = 1; in vlVdpOutputSurfacePutBitsIndexed() 375 box.height = res->height0; in vlVdpOutputSurfacePutBitsIndexed() 459 vtmpl.height = vlsurface->surface->texture->height0; in vlVdpOutputSurfacePutBitsYCbCr() 481 sv->texture->width0, sv->texture->height0, 1 in vlVdpOutputSurfacePutBitsYCbCr()
|
/external/mesa3d/src/gallium/state_trackers/xa/ |
D | xa_renderer.c | 214 t0 = pt0[1] / src->height0; in add_vertex_data1() 215 t1 = pt1[1] / src->height0; in add_vertex_data1() 216 t2 = pt2[1] / src->height0; in add_vertex_data1() 217 t3 = pt3[1] / src->height0; in add_vertex_data1() 263 src_t0 = spt0[1] / src->height0; in add_vertex_data2() 265 src_t1 = spt1[1] / src->height0; in add_vertex_data2() 268 mask_t0 = mpt0[1] / mask->height0; in add_vertex_data2() 270 mask_t1 = mpt1[1] / mask->height0; in add_vertex_data2() 307 t0 = spt0[1] / tex->height0; in setup_vertex_data_yuv() 309 t1 = spt1[1] / tex->height0; in setup_vertex_data_yuv()
|
D | xa_tracker.c | 310 template->height0 = height; in xa_surface_create() 362 if (width == template->width0 && height == template->height0 && in xa_surface_redefine() 388 save_height = template->height0; in xa_surface_redefine() 392 template->height0 = height; in xa_surface_redefine() 398 template->height0 = save_height; in xa_surface_redefine() 407 xa_min(save_height, template->height0), &src_box); in xa_surface_redefine()
|
/external/mesa3d/src/gallium/drivers/r600/ |
D | r600_blit.c | 378 info->src.res->width0, info->src.res->height0, in r600_copy_first_sample() 389 unsigned dst_height = u_minify(info->dst.res->height0, info->dst.level); in is_simple_resolve() 395 dst_height == info->src.res->height0 && in is_simple_resolve() 435 templ.height0 = info->src.res->height0; in r600_color_resolve() 563 unsigned height0; member 581 orig->height0 = tex->height0; in r600_compressed_to_blittable() 593 new_height = util_format_get_nblocksy(tex->format, orig->height0); in r600_compressed_to_blittable() 596 tex->height0 = new_height; in r600_compressed_to_blittable() 612 orig->height0 = tex->height0; in r600_subsampled_2x1_32bpp_to_blittable() 633 orig->height0 = tex->height0; in r600_change_format() [all …]
|
/external/mesa3d/src/gallium/drivers/radeonsi/ |
D | r600_blit.c | 260 unsigned height0; member 279 orig->height0 = tex->height0; in r600_compressed_to_blittable() 291 new_height = util_format_get_nblocksy(tex->format, orig->height0); in r600_compressed_to_blittable() 294 tex->height0 = new_height; in r600_compressed_to_blittable() 311 tex->height0 = orig->height0; in r600_reset_blittable_to_compressed() 391 sbox.height = texture->resource.b.b.height0; in r600_blit_push_depth()
|
/external/mesa3d/src/gallium/state_trackers/clover/core/ |
D | resource.cpp | 126 info.height0 = img->height(); in root_resource() 130 info.height0 = 1; in root_resource() 146 box rect { { 0, 0, 0 }, { info.width0, info.height0, info.depth0 } }; in root_resource() 151 cpp * info.width0 * info.height0); in root_resource()
|
/external/mesa3d/src/mesa/drivers/dri/r200/ |
D | radeon_mipmap_tree.h | 75 GLuint height0; /** Height of baseLevel image */ member 105 GLuint width0, GLuint height0, GLuint depth0, GLuint tilebits);
|
/external/mesa3d/src/mesa/drivers/dri/radeon/ |
D | radeon_mipmap_tree.h | 75 GLuint height0; /** Height of baseLevel image */ member 105 GLuint width0, GLuint height0, GLuint depth0, GLuint tilebits);
|
/external/mesa3d/src/gallium/drivers/svga/ |
D | svga_sampler_view.c | 124 pt->height0, in svga_get_tex_sampler_view() 139 pt->height0, in svga_get_tex_sampler_view() 196 u_minify(tex->b.b.height0, i), in svga_validate_sampler_view()
|
/external/mesa3d/src/gallium/state_trackers/egl/android/ |
D | native_android.cpp | 299 templ.height0 = asurf->buf->height; in android_surface_add_cache() 388 u_box_origin_2d(src->width0, src->height0, &box); in copy_resources() 422 templ.height0 = asurf->buf_res->height0; in android_surface_present() 454 asurf->color_res->height0 != asurf->buf_res->height0)) in android_surface_validate() 753 templ.height0 = abuf->height; in android_display_import_buffer()
|
/external/mesa3d/src/gallium/drivers/llvmpipe/ |
D | lp_texture.c | 113 unsigned height = pt->height0; in llvmpipe_texture_layout() 207 const unsigned height = align(lpr->base.height0, TILE_SIZE); in llvmpipe_displaytarget_layout() 280 const uint h = templat->height0 / util_format_get_blockwidth(format); in llvmpipe_resource_create() 489 height = align(lpr->base.height0, TILE_SIZE); in llvmpipe_resource_from_handle() 499 assert(lpr->base.height0 == height); in llvmpipe_resource_from_handle() 515 lpr->layout[0] = alloc_layout_array(1, lpr->base.width0, lpr->base.height0); in llvmpipe_resource_from_handle() 571 ps->height = u_minify(pt->height0, surf_tmpl->u.tex.level); in llvmpipe_create_surface() 776 buffer->base.height0 = 1; in llvmpipe_user_buffer_create() 795 const unsigned height = u_minify(lpr->base.height0, level); in tex_image_face_size() 1038 const unsigned height = u_minify(lpr->base.height0, level); in llvmpipe_get_texture_image() [all …]
|
/external/mesa3d/src/gallium/winsys/sw/wrapper/ |
D | wrapper_sw_winsys.c | 96 0, 0, wdt->tex->width0, wdt->tex->height0); in wsw_dt_get_stride() 149 templ.height0 = height; in wsw_dt_create() 209 0, 0, wdt->tex->width0, wdt->tex->height0); in wsw_dt_map()
|
/external/mesa3d/src/gallium/state_trackers/vega/ |
D | vg_context.c | 249 templ.height0 = height; in create_texture() 296 old_sampler_view->texture->height0 == height) in vg_context_update_surface_mask_view() 324 MIN2(old_sampler_view->texture->height0, in vg_context_update_surface_mask_view() 325 stfb->surface_mask_view->texture->height0), in vg_context_update_surface_mask_view() 351 old->texture->height0 == height) in vg_context_update_blend_texture_view()
|
/external/mesa3d/src/gallium/auxiliary/vl/ |
D | vl_winsys_xsp.c | 75 if (xsp_screen->tex->width0 == width && xsp_screen->tex->height0 == height) in vl_screen_texture_from_drawable() 87 templat.height0 = height; in vl_screen_texture_from_drawable()
|
/external/mesa3d/src/gallium/drivers/nv50/ |
D | nv50_miptree.c | 201 mt->total_size = mt->level[0].pitch * pt->height0; in nv50_miptree_init_layout_linear() 216 h = pt->height0 << mt->ms_y; in nv50_miptree_init_layout_tiled() 355 u_minify(pt->height0, l)); in nv50_mt_zslice_offset() 389 ns->height = u_minify(mt->base.base.height0, ps->u.tex.level); in nv50_surface_from_miptree()
|