Home
last modified time | relevance | path

Searched refs:pitch_bytes (Results 1 – 7 of 7) sorted by relevance

/external/mesa3d/src/gallium/drivers/radeonsi/
Dr600_texture.c164 if (pitch_in_bytes_override && pitch_in_bytes_override != rtex->surface.level[0].pitch_bytes) { in r600_setup_surface()
169 rtex->surface.level[0].pitch_bytes = pitch_in_bytes_override; in r600_setup_surface()
238 surface->level[0].pitch_bytes); in r600_texture_get_handle()
241 surface->level[0].pitch_bytes, whandle); in r600_texture_get_handle()
327 trans->transfer.stride = rtex->flushed_depth_texture->surface.level[level].pitch_bytes; in si_texture_get_transfer()
362 ->surface.level[0].pitch_bytes; in si_texture_get_transfer()
370 trans->transfer.stride = rtex->surface.level[level].pitch_bytes; in si_texture_get_transfer()
/external/mesa3d/src/mesa/drivers/dri/i965/
Dgen7_blorp.cpp189 uint32_t pitch_bytes = region->pitch * region->cpp; in gen7_blorp_emit_surface_state() local
191 pitch_bytes *= 2; in gen7_blorp_emit_surface_state()
192 surf->ss3.pitch = pitch_bytes - 1; in gen7_blorp_emit_surface_state()
618 uint32_t pitch_bytes = in gen7_blorp_emit_depth_stencil_config() local
620 OUT_BATCH((pitch_bytes - 1) | in gen7_blorp_emit_depth_stencil_config()
Dgen6_blorp.cpp449 uint32_t pitch_bytes = region->pitch * region->cpp; in gen6_blorp_emit_surface_state() local
451 pitch_bytes *= 2; in gen6_blorp_emit_surface_state()
454 (pitch_bytes - 1) << BRW_SURFACE_PITCH_SHIFT); in gen6_blorp_emit_surface_state()
871 uint32_t pitch_bytes = in gen6_blorp_emit_depth_stencil_config() local
873 OUT_BATCH((pitch_bytes - 1) | in gen6_blorp_emit_depth_stencil_config()
Dgen7_wm_surface_state.c118 unsigned pitch_bytes = mcs_mt->region->pitch * mcs_mt->cpp; in gen7_set_surface_mcs_info() local
119 unsigned pitch_tiles = pitch_bytes / 128; in gen7_set_surface_mcs_info()
/external/mesa3d/src/gallium/drivers/r600/
Dr600_texture.c174 if (pitch_in_bytes_override && pitch_in_bytes_override != rtex->surface.level[0].pitch_bytes) { in r600_setup_surface()
179 rtex->surface.level[0].pitch_bytes = pitch_in_bytes_override; in r600_setup_surface()
224 rtex->surface.level[0].pitch_bytes); in r600_texture_get_handle()
227 rtex->surface.level[0].pitch_bytes, whandle); in r600_texture_get_handle()
661 trans->transfer.stride = staging_depth->surface.level[level].pitch_bytes; in r600_texture_get_transfer()
697 ((struct r600_texture *)trans->staging)->surface.level[0].pitch_bytes; in r600_texture_get_transfer()
705 trans->transfer.stride = rtex->surface.level[level].pitch_bytes; in r600_texture_get_transfer()
/external/libdrm/radeon/
Dradeon_surface.h78 uint32_t pitch_bytes; member
Dradeon_surface.c186 surflevel->pitch_bytes = surflevel->nblk_x * bpe * surf->nsamples; in surf_minify()
187 surflevel->slice_size = (uint64_t)surflevel->pitch_bytes * surflevel->nblk_y; in surf_minify()
600 surflevel->pitch_bytes = surflevel->nblk_x * bpe * surf->nsamples; in eg_surf_minify()
1455 surflevel->pitch_bytes = surflevel->nblk_x * bpe * surf->nsamples; in si_surf_minify()
1456 surflevel->slice_size = ALIGN((uint64_t)surflevel->pitch_bytes * surflevel->nblk_y, in si_surf_minify()
1504 surflevel->pitch_bytes = surflevel->nblk_x * bpe * surf->nsamples; in si_surf_minify_2d()