/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() 306 tex->stride = align(nblocks * util_format_get_blocksize(pt->format) * 2, 4); in i9x5_texture_layout_cube() 466 tex->stride = mip1_nblocksx * util_format_get_blocksize(pt->format); in i945_texture_layout_2d() 514 pack_x_pitch = tex->stride / util_format_get_blocksize(pt->format); in i945_texture_layout_3d() 539 assert(pack_x_pitch * pack_x_nr * util_format_get_blocksize(pt->format) <= tex->stride); in i945_texture_layout_3d() 575 tex->stride = nblocks * 2 * util_format_get_blocksize(pt->format); in i945_texture_layout_cube() [all …]
|
D | i915_surface.c | 235 assert( util_format_get_blocksize(dpt->format) == util_format_get_blocksize(spt->format) ); in i915_surface_copy_blitter() 242 util_format_get_blocksize(dpt->format), in i915_surface_copy_blitter() 299 util_format_get_blocksize(pt->format), in i915_clear_render_target_blitter() 339 util_format_get_blocksize(pt->format), in i915_clear_depth_stencil_blitter()
|
D | i915_clear.c | 67 if (util_format_get_blocksize(cbuf_tex->b.b.format) == 4) { in i915_clear_emit() 92 if (util_format_get_blocksize(depth_tex->b.b.format) == 4) { in i915_clear_emit()
|
/external/mesa3d/src/gallium/drivers/etnaviv/ |
D | etnaviv_transfer.c | 57 util_format_get_blocksize(format); in etna_compute_offset() 101 ptrans->stride, util_format_get_blocksize(rsc->base.format)); in etna_transfer_unmap() 185 util_format_get_blocksize(format) > 1 && in etna_transfer_map() 353 …ptrans->stride = align(box->width, divSizeX) * util_format_get_blocksize(format); /* row stride in… in etna_transfer_map() 367 util_format_get_blocksize(rsc->base.format)); in etna_transfer_map()
|
D | etnaviv_blt.c | 212 clr.dest.bpp = util_format_get_blocksize(surf->base.format); in etna_blit_clear_color_blt() 288 clr.dest.bpp = util_format_get_blocksize(surf->base.format); in etna_blit_clear_zs_blt() 435 op.bpp = util_format_get_blocksize(src->base.format); in etna_try_blt_blit()
|
/external/virglrenderer/tests/ |
D | testvirgl.c | 194 backing_size = args.width * args.height * util_format_get_blocksize(res->base.format); in testvirgl_create_backed_simple_2d_res() 220 backing_size = args.width * util_format_get_blocksize(res->base.format); in testvirgl_create_backed_simple_1d_res() 259 backing_size = args.width * args.height * util_format_get_blocksize(res->base.format); in testvirgl_create_backed_simple_buffer()
|
/external/mesa3d/src/gallium/auxiliary/util/ |
D | u_tile.c | 451 packed = MALLOC(util_format_get_nblocks(format, w, h) * util_format_get_blocksize(format)); in pipe_get_tile_rgba_format() 491 packed = MALLOC(util_format_get_nblocks(format, w, h) * util_format_get_blocksize(format)); in pipe_put_tile_rgba_format() 542 packed = MALLOC(util_format_get_nblocks(format, w, h) * util_format_get_blocksize(format)); in pipe_put_tile_i_format() 570 packed = MALLOC(util_format_get_nblocks(format, w, h) * util_format_get_blocksize(format)); in pipe_put_tile_ui_format() 850 packed = MALLOC(util_format_get_nblocks(format, w, h) * util_format_get_blocksize(format)); in pipe_get_tile_ui_format() 881 packed = MALLOC(util_format_get_nblocks(format, w, h) * util_format_get_blocksize(format)); in pipe_get_tile_i_format()
|
D | u_surface.c | 80 int blocksize = util_format_get_blocksize(format); in util_copy_rect() 288 src_bs = util_format_get_blocksize(src_format); in util_resource_copy_region() 291 dst_bs = util_format_get_blocksize(dst_format); in util_resource_copy_region() 476 unsigned pixstride = util_format_get_blocksize(dst->format); in util_clear_render_target() 538 switch (util_format_get_blocksize(format)) { in util_clear_depth_stencil_texture()
|
D | u_transfer_helper.c | 369 (box->x * util_format_get_blocksize(format)); in flush_region() 372 (box->x * util_format_get_blocksize(iformat)); in flush_region() 385 (box->x * util_format_get_blocksize(PIPE_FORMAT_S8_UINT)); in flush_region()
|
/external/mesa3d/src/gallium/drivers/llvmpipe/ |
D | lp_scene.c | 177 scene->cbufs[i].format_bytes = util_format_get_blocksize(cbuf->format); in lp_scene_begin_rasterization() 181 unsigned pixstride = util_format_get_blocksize(cbuf->format); in lp_scene_begin_rasterization() 186 scene->cbufs[i].format_bytes = util_format_get_blocksize(cbuf->format); in lp_scene_begin_rasterization() 199 scene->zsbuf.format_bytes = util_format_get_blocksize(zsbuf->format); in lp_scene_begin_rasterization()
|
D | lp_texture.c | 119 block_size = util_format_get_blocksize(pt->format); in llvmpipe_texture_layout() 272 assert(util_format_get_blocksize(templat->format) == 1); in llvmpipe_resource_create_front() 616 box->x / util_format_get_blockwidth(format) * util_format_get_blocksize(format); in llvmpipe_transfer_map()
|
/external/virglrenderer/src/gallium/auxiliary/util/ |
D | u_surface.c | 80 int blocksize = util_format_get_blocksize(format); in util_copy_rect() 270 assert(util_format_get_blocksize(dst_format) == util_format_get_blocksize(src_format)); in util_resource_copy_region()
|
D | u_format.h | 575 util_format_get_blocksize(enum pipe_format format) in util_format_get_blocksize() function 643 return util_format_get_nblocksx(format, width) * util_format_get_blocksize(format); in util_format_get_stride()
|
/external/mesa3d/src/gallium/drivers/nouveau/nv30/ |
D | nv30_clear.c | 116 if (util_format_get_blocksize(ps->format) == 4) in nv30_clear_render_target() 176 if (util_format_get_blocksize(ps->format) == 4) in nv30_clear_depth_stencil()
|
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()
|
D | nv30_miptree.c | 115 rect->cpp = util_format_get_blocksize(pt->format); in define_rect() 280 util_format_get_blocksize(pt->format), 64); in nv30_miptree_transfer_map() 400 blocksz = util_format_get_blocksize(pt->format); in nv30_miptree_create()
|
/external/mesa3d/src/gallium/drivers/freedreno/a4xx/ |
D | fd4_screen.c | 61 util_format_get_blocksize(format) != 12) && in fd4_screen_is_format_supported()
|
/external/mesa3d/src/gallium/drivers/nouveau/nv50/ |
D | nv50_miptree.c | 242 const unsigned blocksize = util_format_get_blocksize(pt->format); in nv50_miptree_init_layout_linear() 268 const unsigned blocksize = util_format_get_blocksize(pt->format); in nv50_miptree_init_layout_video() 291 const unsigned blocksize = util_format_get_blocksize(pt->format); in nv50_miptree_init_layout_tiled()
|
D | nv50_resource.c | 52 templ->u.buf.first_element * util_format_get_blocksize(sf->base.format); in nv50_surface_from_buffer()
|
/external/mesa3d/src/gallium/drivers/freedreno/a5xx/ |
D | fd5_screen.c | 62 util_format_get_blocksize(format) != 12) && in fd5_screen_is_format_supported()
|
/external/mesa3d/src/gallium/drivers/nouveau/nvc0/ |
D | nvc0_miptree.c | 169 const unsigned blocksize = util_format_get_blocksize(pt->format); in nvc0_miptree_init_layout_video() 192 const unsigned blocksize = util_format_get_blocksize(pt->format); in nvc0_miptree_init_layout_tiled()
|
/external/mesa3d/src/gallium/drivers/softpipe/ |
D | sp_image.c | 156 *width = iview->u.buf.size / util_format_get_blocksize(pformat); in get_dimensions() 179 if (util_format_get_blocksize(pformat) > in get_dimensions() 180 util_format_get_blocksize(spr->base.format)) in get_dimensions() 755 dims[0] = iview->u.buf.size / util_format_get_blocksize(iview->format); in sp_tgsi_get_dims()
|
/external/mesa3d/src/gallium/drivers/swr/ |
D | swr_screen.cpp | 754 res->swr.pitch = util_format_get_blocksize(fmt); in swr_texture_layout() 796 switch (util_format_get_blocksize(fmt)) { in swr_texture_layout() 835 res->secondary.pitch = res->swr.pitch / util_format_get_blocksize(fmt); in swr_texture_layout() 950 assert(util_format_get_blocksize(templat->format) == 1); in swr_resource_create()
|
/external/mesa3d/src/gallium/drivers/r300/ |
D | r300_texture_desc.c | 61 unsigned pixsize = util_format_get_blocksize(format); in r300_get_pixel_alignment() 208 return (stride_in_bytes / util_format_get_blocksize(format)) * in r300_stride_to_width() 501 switch (util_format_get_blocksize(format)) { in r300_setup_tiling()
|
/external/mesa3d/src/gallium/winsys/sw/gdi/ |
D | gdi_sw_winsys.c | 143 cpp = util_format_get_blocksize(format); in gdi_sw_displaytarget_create()
|