/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_resource.h | 144 return util_format_get_blocksize(pres->format) == 2 || in etna_resource_hw_tileable() 145 util_format_get_blocksize(pres->format) == 4; in etna_resource_hw_tileable()
|
D | etnaviv_transfer.c | 58 util_format_get_blocksize(format); in etna_compute_offset() 143 ptrans->stride, util_format_get_blocksize(rsc->base.format)); in etna_transfer_unmap() 454 …ptrans->stride = align(box->width, divSizeX) * util_format_get_blocksize(format); /* row stride in… in etna_transfer_map() 469 util_format_get_blocksize(rsc->base.format)); in etna_transfer_map()
|
D | etnaviv_etc2.c | 85 const unsigned bs = util_format_get_blocksize(format); in etna_etc2_calculate_blocks()
|
D | etnaviv_blt.c | 59 switch (util_format_get_blocksize(fmt)) { in etna_compatible_blt_format() 225 clr.dest.bpp = util_format_get_blocksize(surf->base.format); in etna_blit_clear_color_blt() 304 clr.dest.bpp = util_format_get_blocksize(surf->base.format); in etna_blit_clear_zs_blt() 454 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/frontends/clover/core/ |
D | resource.cpp | 76 texture_data.reserve(util_format_get_blocksize(pipe->format)); in clear() 193 unsigned cpp = util_format_get_blocksize(info.format); in root_resource() 269 util_format_get_blocksize(pres->format), in pitch()
|
/external/mesa3d/src/gallium/drivers/llvmpipe/ |
D | lp_scene.c | 190 scene->cbufs[i].format_bytes = util_format_get_blocksize(cbuf->format); in lp_scene_begin_rasterization() 195 unsigned pixstride = util_format_get_blocksize(cbuf->format); in lp_scene_begin_rasterization() 202 scene->cbufs[i].format_bytes = util_format_get_blocksize(cbuf->format); in lp_scene_begin_rasterization() 216 scene->zsbuf.format_bytes = util_format_get_blocksize(zsbuf->format); in lp_scene_begin_rasterization()
|
/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()
|
/external/mesa3d/src/gallium/drivers/freedreno/a2xx/ |
D | fd2_screen.c | 67 if (util_is_power_of_two_or_zero(util_format_get_blocksize(format)) || in fd2_screen_is_format_supported()
|
/external/mesa3d/src/freedreno/vulkan/ |
D | vk_format.h | 49 return util_format_get_blocksize(vk_format_to_pipe_format(format)); in vk_format_get_blocksize()
|
/external/mesa3d/src/gallium/auxiliary/util/ |
D | u_transfer_helper.c | 393 (box->x * util_format_get_blocksize(format)); in flush_region() 396 (box->x * util_format_get_blocksize(iformat)); in flush_region() 409 (box->x * util_format_get_blocksize(PIPE_FORMAT_S8_UINT)); in flush_region() 426 (box->x * util_format_get_blocksize(PIPE_FORMAT_S8_UINT)); in flush_region()
|
D | u_surface.c | 233 src_bs = util_format_get_blocksize(src_format); in util_resource_copy_region() 236 dst_bs = util_format_get_blocksize(dst_format); in util_resource_copy_region() 407 unsigned pixstride = util_format_get_blocksize(dst->format); in util_clear_render_target() 441 switch (util_format_get_blocksize(format)) { in util_fill_zs_rect()
|
/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()
|
/external/mesa3d/src/gallium/drivers/freedreno/a4xx/ |
D | fd4_screen.c | 66 util_format_get_blocksize(format) != 12)) { in fd4_screen_is_format_supported()
|
/external/mesa3d/src/gallium/drivers/freedreno/a6xx/ |
D | fd6_screen.c | 87 util_format_get_blocksize(format) != 12)) { in fd6_screen_is_format_supported()
|
/external/mesa3d/src/broadcom/vulkan/ |
D | vk_format_info.h | 140 return util_format_get_blocksize(vk_format_to_pipe_format(format)); in vk_format_get_blocksize()
|
/external/mesa3d/src/gallium/drivers/freedreno/a5xx/ |
D | fd5_screen.c | 81 util_format_get_blocksize(format) != 12)) { in fd5_screen_is_format_supported()
|
/external/mesa3d/src/freedreno/fdl/ |
D | fd5_layout.c | 43 layout->cpp = util_format_get_blocksize(format); in fdl5_layout()
|
/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()
|
/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() 722 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 | 728 res->swr.pitch = util_format_get_blocksize(fmt); in swr_texture_layout() 770 switch (util_format_get_blocksize(fmt)) { in swr_texture_layout() 811 res->secondary.pitch = res->swr.pitch / util_format_get_blocksize(fmt); in swr_texture_layout() 926 assert(util_format_get_blocksize(templat->format) == 1); in swr_resource_create()
|