Home
last modified time | relevance | path

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

/external/mesa3d/src/gallium/drivers/radeonsi/
Dcik_sdma.c73 unsigned copy_width = DIV_ROUND_UP(src_box->width, ssrc->surface.blk_w); in si_sdma_v4_copy_texture() local
101 dst_slice_pitch <= (1 << 28) && copy_width <= (1 << 14) && copy_height <= (1 << 14) && in si_sdma_v4_copy_texture()
128 radeon_emit(cs, (copy_width - 1) | ((copy_height - 1) << 16)); in si_sdma_v4_copy_texture()
165 copy_width <= (1 << 14) && copy_height <= (1 << 14) && copy_depth <= (1 << 11))) in si_sdma_v4_copy_texture()
193 radeon_emit(cs, (copy_width - 1) | ((copy_height - 1) << 16)); in si_sdma_v4_copy_texture()
235 unsigned copy_width = DIV_ROUND_UP(src_box->width, ssrc->surface.blk_w); in cik_sdma_copy_texture() local
265 dst_slice_pitch <= (1 << 28) && copy_width <= (1 << 14) && copy_height <= (1 << 14) && in cik_sdma_copy_texture()
269 (copy_width < (1 << 14) && copy_height < (1 << 14) && copy_depth < (1 << 11))) && in cik_sdma_copy_texture()
272 (srcx + copy_width != (1 << 14) && srcy + copy_height != (1 << 14)))) { in cik_sdma_copy_texture()
291 radeon_emit(cs, copy_width | (copy_height << 16)); in cik_sdma_copy_texture()
[all …]
/external/mesa3d/src/egl/drivers/dri2/
Dplatform_wayland.c1865 int copy_width = dri2_wl_swrast_get_stride_for_format(dri2_surf->format, w); in dri2_wl_swrast_get_image() local
1868 int dst_stride = copy_width; in dri2_wl_swrast_get_image()
1873 memset(data, 0, copy_width * h); in dri2_wl_swrast_get_image()
1878 assert(copy_width <= src_stride); in dri2_wl_swrast_get_image()
1884 if (copy_width > src_stride-x_offset) in dri2_wl_swrast_get_image()
1885 copy_width = src_stride-x_offset; in dri2_wl_swrast_get_image()
1890 memcpy(dst, src, copy_width); in dri2_wl_swrast_get_image()
1902 int copy_width = dri2_wl_swrast_get_stride_for_format(dri2_surf->format, w); in dri2_wl_swrast_put_image2() local
1907 assert(copy_width <= stride); in dri2_wl_swrast_put_image2()
1913 if (copy_width < dst_stride) in dri2_wl_swrast_put_image2()
[all …]
Degl_dri2.c236 int copy_width = src_stride; in dri2_put_image() local
249 if (copy_width > dst_stride - x_offset) in dri2_put_image()
250 copy_width = dst_stride - x_offset; in dri2_put_image()
255 memcpy(dst, src, copy_width); in dri2_put_image()
274 int copy_width = dst_stride; in dri2_get_image() local
279 memset(data, 0, copy_width * h); in dri2_get_image()
287 if (copy_width > src_stride - x_offset) in dri2_get_image()
288 copy_width = src_stride - x_offset; in dri2_get_image()
293 memcpy(dst, src, copy_width); in dri2_get_image()
/external/mesa3d/src/gallium/frontends/nine/
Dsurface9.c639 int src_x, src_y, dst_x, dst_y, copy_width, copy_height; in NineSurface9_CopyMemToDefault() local
655 copy_width = pSourceRect->right - pSourceRect->left; in NineSurface9_CopyMemToDefault()
660 copy_width = From->desc.Width; in NineSurface9_CopyMemToDefault()
665 copy_width, copy_height, &dst_box); in NineSurface9_CopyMemToDefault()
667 copy_width, copy_height, &src_box); in NineSurface9_CopyMemToDefault()
701 copy_width, copy_height); in NineSurface9_CopyMemToDefault()
Ddevice9.c1356 int copy_width, copy_height; in NineDevice9_UpdateSurface() local
1384 copy_width = pSourceRect->right - pSourceRect->left; in NineDevice9_UpdateSurface()
1388 copy_width > 0 && in NineDevice9_UpdateSurface()
1395 copy_width = src->desc.Width; in NineDevice9_UpdateSurface()
1399 destRect.right = copy_width; in NineDevice9_UpdateSurface()
1426 if (!(copy_width == src->desc.Width && in NineDevice9_UpdateSurface()
1427 copy_width == dst->desc.Width && in NineDevice9_UpdateSurface()
1430 user_assert(!(copy_width % w) && !(copy_height % h), in NineDevice9_UpdateSurface()