Home
last modified time | relevance | path

Searched refs:copy_width (Results 1 – 4 of 4) sorted by relevance

/external/mesa3d/src/gallium/drivers/radeonsi/
Dcik_sdma.c181 unsigned copy_width = DIV_ROUND_UP(src_box->width, rsrc->surface.blk_w); in cik_sdma_copy_texture() local
220 copy_width <= (1 << 14) && in cik_sdma_copy_texture()
225 (copy_width < (1 << 14) && in cik_sdma_copy_texture()
231 (srcx + copy_width != (1 << 14) && in cik_sdma_copy_texture()
251 radeon_emit(cs, copy_width | (copy_height << 16)); in cik_sdma_copy_texture()
254 radeon_emit(cs, (copy_width - 1) | ((copy_height - 1) << 16)); in cik_sdma_copy_texture()
287 unsigned copy_width_aligned = copy_width; in cik_sdma_copy_texture()
293 if (copy_width % xalign != 0 && in cik_sdma_copy_texture()
294 linear_x + copy_width == linear_width && in cik_sdma_copy_texture()
295 tiled_x + copy_width == tiled_width && in cik_sdma_copy_texture()
[all …]
/external/mesa3d/src/egl/drivers/dri2/
Dplatform_wayland.c1800 int copy_width = dri2_wl_swrast_get_stride_for_format(dri2_surf->format, w); in dri2_wl_swrast_get_image() local
1803 int dst_stride = copy_width; in dri2_wl_swrast_get_image()
1808 memset(data, 0, copy_width * h); in dri2_wl_swrast_get_image()
1813 assert(copy_width <= src_stride); in dri2_wl_swrast_get_image()
1819 if (copy_width > src_stride-x_offset) in dri2_wl_swrast_get_image()
1820 copy_width = src_stride-x_offset; in dri2_wl_swrast_get_image()
1825 memcpy(dst, src, copy_width); in dri2_wl_swrast_get_image()
1837 int copy_width = dri2_wl_swrast_get_stride_for_format(dri2_surf->format, w); in dri2_wl_swrast_put_image2() local
1842 assert(copy_width <= stride); in dri2_wl_swrast_put_image2()
1848 if (copy_width < dst_stride) in dri2_wl_swrast_put_image2()
[all …]
/external/mesa3d/src/gallium/state_trackers/nine/
Dsurface9.c628 int src_x, src_y, dst_x, dst_y, copy_width, copy_height; in NineSurface9_CopyMemToDefault() local
644 copy_width = pSourceRect->right - pSourceRect->left; in NineSurface9_CopyMemToDefault()
649 copy_width = From->desc.Width; in NineSurface9_CopyMemToDefault()
654 copy_width, copy_height, &dst_box); in NineSurface9_CopyMemToDefault()
656 copy_width, copy_height, &src_box); in NineSurface9_CopyMemToDefault()
677 copy_width, copy_height); in NineSurface9_CopyMemToDefault()
Ddevice9.c1264 int copy_width, copy_height; in NineDevice9_UpdateSurface() local
1292 copy_width = pSourceRect->right - pSourceRect->left; in NineDevice9_UpdateSurface()
1296 copy_width > 0 && in NineDevice9_UpdateSurface()
1303 copy_width = src->desc.Width; in NineDevice9_UpdateSurface()
1307 destRect.right = copy_width; in NineDevice9_UpdateSurface()
1334 if (!(copy_width == src->desc.Width && in NineDevice9_UpdateSurface()
1335 copy_width == dst->desc.Width && in NineDevice9_UpdateSurface()
1338 user_assert(!(copy_width % w) && !(copy_height % h), in NineDevice9_UpdateSurface()