Home
last modified time | relevance | path

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

123

/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()
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 …]
Di915_surface.c194 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()
Di915_clear.c68 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/
Du_tile.c468 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()
Du_surface.c186 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()
Du_rect.c58 int blocksize = util_format_get_blocksize(format); in util_copy_rect()
Du_format.h665 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/
Dnv30_clear.c110 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()
Dnv30_miptree.c114 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()
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/nvc0/
Dnvc0_miptree.c190 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/
Dr300_texture_desc.c61 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()
Dr300_blit.c493 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()
Dr300_transfer.c250 … transfer->box.x / util_format_get_blockwidth(format) * util_format_get_blocksize(format); in r300_texture_transfer_map()
/external/mesa3d/src/gallium/drivers/svga/
Dsvga_resource_texture.c90 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/
Dlp_tile_image.c145 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()
Dlp_texture.c138 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/
Dnv50_resource.c51 templ->u.buf.first_element * util_format_get_blocksize(sf->base.format); in nv50_surface_from_buffer()
Dnv50_miptree.c189 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()
Dnv50_transfer.c40 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/
Ddri_sw_winsys.c182 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/
Dgdi_sw_winsys.c142 cpp = util_format_get_blocksize(format); in gdi_sw_displaytarget_create()
/external/mesa3d/src/gallium/state_trackers/clover/core/
Dresource.cpp147 unsigned cpp = util_format_get_blocksize(info.format); in root_resource()
/external/mesa3d/src/gallium/state_trackers/dri/drm/
Ddri2.c362 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/
Dnative_android.cpp206 abuf->stride * util_format_get_blocksize(templ->format); in import_buffer()
216 abuf->stride * util_format_get_blocksize(templ->format); in import_buffer()

123