/external/mesa3d/src/gallium/drivers/i915/ |
D | i915_resource_texture.c | 151 * util_format_get_blocksize(tex->b.b.format); in i915_texture_offset() 207 if (pt->last_level > 0 || util_format_get_blocksize(pt->format) != 4) in i9x5_scanout_layout() 227 pt->width0, pt->height0, util_format_get_blocksize(pt->format), in i9x5_scanout_layout() 242 if (pt->last_level > 0 || util_format_get_blocksize(pt->format) != 4) in i9x5_display_target_layout() 258 pt->width0, pt->height0, util_format_get_blocksize(pt->format), in i9x5_display_target_layout() 305 tex->stride = align(nblocks * util_format_get_blocksize(pt->format) * 2, 4); in i9x5_texture_layout_cube() 465 tex->stride = mip1_nblocksx * util_format_get_blocksize(pt->format); in i945_texture_layout_2d() 513 pack_x_pitch = tex->stride / util_format_get_blocksize(pt->format); in i945_texture_layout_3d() 538 assert(pack_x_pitch * pack_x_nr * util_format_get_blocksize(pt->format) <= tex->stride); in i945_texture_layout_3d() 574 tex->stride = nblocks * 2 * util_format_get_blocksize(pt->format); in i945_texture_layout_cube() [all …]
|
D | i915_surface.c | 194 assert( util_format_get_blocksize(dpt->format) == util_format_get_blocksize(spt->format) ); in i915_surface_copy_blitter() 201 util_format_get_blocksize(dpt->format), in i915_surface_copy_blitter() 225 util_format_get_blocksize(pt->format), in i915_clear_render_target_blitter() 264 util_format_get_blocksize(pt->format), in i915_clear_depth_stencil_blitter()
|
D | i915_clear.c | 68 if (util_format_get_blocksize(cbuf_tex->b.b.format) == 4) { in i915_clear_emit() 93 if (util_format_get_blocksize(depth_tex->b.b.format) == 4) { in i915_clear_emit()
|
/external/mesa3d/src/gallium/auxiliary/util/ |
D | u_tile.c | 468 packed = MALLOC(util_format_get_nblocks(format, w, h) * util_format_get_blocksize(format)); in pipe_get_tile_rgba_format() 508 packed = MALLOC(util_format_get_nblocks(format, w, h) * util_format_get_blocksize(format)); in pipe_put_tile_rgba_format() 559 packed = MALLOC(util_format_get_nblocks(format, w, h) * util_format_get_blocksize(format)); in pipe_put_tile_i_format() 587 packed = MALLOC(util_format_get_nblocks(format, w, h) * util_format_get_blocksize(format)); in pipe_put_tile_ui_format() 883 packed = MALLOC(util_format_get_nblocks(format, w, h) * util_format_get_blocksize(format)); in pipe_get_tile_ui_format() 914 packed = MALLOC(util_format_get_nblocks(format, w, h) * util_format_get_blocksize(format)); in pipe_get_tile_i_format()
|
D | u_surface.c | 186 assert(util_format_get_blocksize(dst_format) == util_format_get_blocksize(src_format)); in util_resource_copy_region() 315 switch (util_format_get_blocksize(dst->format)) { in util_clear_depth_stencil()
|
D | u_rect.c | 58 int blocksize = util_format_get_blocksize(format); in util_copy_rect()
|
D | u_format.h | 665 util_format_get_blocksize(enum pipe_format format) in util_format_get_blocksize() function 728 return util_format_get_nblocksx(format, width) * util_format_get_blocksize(format); in util_format_get_stride()
|
/external/mesa3d/src/gallium/drivers/nv30/ |
D | nv30_clear.c | 110 if (util_format_get_blocksize(ps->format) == 4) in nv30_clear_render_target() 169 if (util_format_get_blocksize(ps->format) == 4) in nv30_clear_depth_stencil()
|
D | nv30_miptree.c | 114 rect->cpp = util_format_get_blocksize(pt->format); in define_rect() 179 util_format_get_blocksize(pt->format); in nv30_miptree_transfer_new() 306 blocksz = util_format_get_blocksize(pt->format); in nv30_miptree_create()
|
D | nv30_state_validate.c | 62 if (fb->zsbuf && util_format_get_blocksize(fb->zsbuf->format) > 2) in nv30_validate_fb() 75 if (fb->nr_cbufs && util_format_get_blocksize(fb->cbufs[0]->format) > 2) in nv30_validate_fb() 89 x += off / (util_format_get_blocksize(fb->cbufs[0]->format) * 2); in nv30_validate_fb()
|
/external/mesa3d/src/gallium/drivers/nvc0/ |
D | nvc0_miptree.c | 190 const unsigned blocksize = util_format_get_blocksize(pt->format); in nvc0_miptree_init_layout_video() 216 const unsigned blocksize = util_format_get_blocksize(pt->format); in nvc0_miptree_init_layout_tiled()
|
/external/mesa3d/src/gallium/drivers/r300/ |
D | r300_texture_desc.c | 61 unsigned pixsize = util_format_get_blocksize(format); in r300_get_pixel_alignment() 212 return (stride_in_bytes / util_format_get_blocksize(format)) * in r300_stride_to_width() 439 switch (util_format_get_blocksize(format)) { in r300_setup_tiling()
|
D | r300_blit.c | 493 switch (util_format_get_blocksize(dst_templ.format)) { in r300_resource_copy_region() 529 switch (util_format_get_blocksize(dst_templ.format)) { in r300_resource_copy_region()
|
D | r300_transfer.c | 250 … transfer->box.x / util_format_get_blockwidth(format) * util_format_get_blocksize(format); in r300_texture_transfer_map()
|
/external/mesa3d/src/gallium/drivers/svga/ |
D | svga_resource_texture.c | 90 util_format_get_blocksize(texture->b.b.format) * 8 / in svga_transfer_dma_band() 210 util_format_get_blocksize(texture->format); in svga_texture_get_handle() 266 st->base.stride = nblocksx*util_format_get_blocksize(texture->format); in svga_texture_get_transfer()
|
/external/mesa3d/src/gallium/drivers/llvmpipe/ |
D | lp_tile_image.c | 145 const uint bpp = util_format_get_blocksize(format); in lp_tiled_to_linear() 235 const uint bpp = util_format_get_blocksize(format); in lp_linear_to_tiled()
|
D | lp_texture.c | 138 block_size = util_format_get_blocksize(pt->format); in llvmpipe_texture_layout() 282 const uint bpp = util_format_get_blocksize(format); in llvmpipe_resource_create() 722 transfer->box.x / util_format_get_blockwidth(format) * util_format_get_blocksize(format); in llvmpipe_transfer_map() 803 const unsigned block_size = util_format_get_blocksize(format); in tex_image_face_size()
|
/external/mesa3d/src/gallium/drivers/nv50/ |
D | nv50_resource.c | 51 templ->u.buf.first_element * util_format_get_blocksize(sf->base.format); in nv50_surface_from_buffer()
|
D | nv50_miptree.c | 189 const unsigned blocksize = util_format_get_blocksize(pt->format); in nv50_miptree_init_layout_linear() 211 const unsigned blocksize = util_format_get_blocksize(pt->format); in nv50_miptree_init_layout_tiled()
|
D | nv50_transfer.c | 40 rect->cpp = util_format_get_blocksize(res->format); in nv50_m2mf_rect_setup() 284 tx->base.stride = tx->nblocksx * util_format_get_blocksize(res->format); in nv50_miptree_transfer_new()
|
/external/mesa3d/src/gallium/winsys/sw/dri/ |
D | dri_sw_winsys.c | 182 width = dri_sw_dt->stride / util_format_get_blocksize(dri_sw_dt->format); in dri_sw_displaytarget_display()
|
/external/mesa3d/src/gallium/winsys/sw/gdi/ |
D | gdi_sw_winsys.c | 142 cpp = util_format_get_blocksize(format); in gdi_sw_displaytarget_create()
|
/external/mesa3d/src/gallium/state_trackers/clover/core/ |
D | resource.cpp | 147 unsigned cpp = util_format_get_blocksize(info.format); in root_resource()
|
/external/mesa3d/src/gallium/state_trackers/dri/drm/ |
D | dri2.c | 362 buffer->base.cpp = util_format_get_blocksize(pf); in dri2_allocate_buffer() 482 whandle.stride = pitch * util_format_get_blocksize(pf); in dri2_create_image_from_name()
|
/external/mesa3d/src/gallium/state_trackers/egl/android/ |
D | native_android.cpp | 206 abuf->stride * util_format_get_blocksize(templ->format); in import_buffer() 216 abuf->stride * util_format_get_blocksize(templ->format); in import_buffer()
|