Home
last modified time | relevance | path

Searched refs:util_format_get_blocksize (Results 1 – 25 of 100) sorted by relevance

1234

/external/mesa3d/src/gallium/drivers/i915/
Di915_resource_texture.c151 * 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 …]
Di915_surface.c235 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()
Di915_clear.c67 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/
Detnaviv_transfer.c57 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()
Detnaviv_blt.c212 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/
Dtestvirgl.c194 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/
Du_tile.c451 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()
Du_surface.c80 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()
Du_transfer_helper.c369 (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/
Dlp_scene.c177 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()
Dlp_texture.c119 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/
Du_surface.c80 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()
Du_format.h575 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/
Dnv30_clear.c116 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()
Dnv30_state_validate.c62 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()
Dnv30_miptree.c115 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/
Dfd4_screen.c61 util_format_get_blocksize(format) != 12) && in fd4_screen_is_format_supported()
/external/mesa3d/src/gallium/drivers/nouveau/nv50/
Dnv50_miptree.c242 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()
Dnv50_resource.c52 templ->u.buf.first_element * util_format_get_blocksize(sf->base.format); in nv50_surface_from_buffer()
/external/mesa3d/src/gallium/drivers/freedreno/a5xx/
Dfd5_screen.c62 util_format_get_blocksize(format) != 12) && in fd5_screen_is_format_supported()
/external/mesa3d/src/gallium/drivers/nouveau/nvc0/
Dnvc0_miptree.c169 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/
Dsp_image.c156 *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/
Dswr_screen.cpp754 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/
Dr300_texture_desc.c61 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/
Dgdi_sw_winsys.c143 cpp = util_format_get_blocksize(format); in gdi_sw_displaytarget_create()

1234