Home
last modified time | relevance | path

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

12345

/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_resource.h144 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()
Detnaviv_transfer.c58 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()
Detnaviv_etc2.c85 const unsigned bs = util_format_get_blocksize(format); in etna_etc2_calculate_blocks()
Detnaviv_blt.c59 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/
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/frontends/clover/core/
Dresource.cpp76 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/
Dlp_scene.c190 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/
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()
/external/mesa3d/src/gallium/drivers/freedreno/a2xx/
Dfd2_screen.c67 if (util_is_power_of_two_or_zero(util_format_get_blocksize(format)) || in fd2_screen_is_format_supported()
/external/mesa3d/src/freedreno/vulkan/
Dvk_format.h49 return util_format_get_blocksize(vk_format_to_pipe_format(format)); in vk_format_get_blocksize()
/external/mesa3d/src/gallium/auxiliary/util/
Du_transfer_helper.c393 (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()
Du_surface.c233 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/
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()
/external/mesa3d/src/gallium/drivers/freedreno/a4xx/
Dfd4_screen.c66 util_format_get_blocksize(format) != 12)) { in fd4_screen_is_format_supported()
/external/mesa3d/src/gallium/drivers/freedreno/a6xx/
Dfd6_screen.c87 util_format_get_blocksize(format) != 12)) { in fd6_screen_is_format_supported()
/external/mesa3d/src/broadcom/vulkan/
Dvk_format_info.h140 return util_format_get_blocksize(vk_format_to_pipe_format(format)); in vk_format_get_blocksize()
/external/mesa3d/src/gallium/drivers/freedreno/a5xx/
Dfd5_screen.c81 util_format_get_blocksize(format) != 12)) { in fd5_screen_is_format_supported()
/external/mesa3d/src/freedreno/fdl/
Dfd5_layout.c43 layout->cpp = util_format_get_blocksize(format); in fdl5_layout()
/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()
/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()
722 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.cpp728 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()

12345