Home
last modified time | relevance | path

Searched refs:src_box (Results 1 – 25 of 33) sorted by relevance

12

/external/mesa3d/src/gallium/drivers/svga/
Dsvga_pipe_blit.c44 const struct pipe_box *src_box) in svga_surface_copy() argument
61 src_tex, src_level, src_box); in svga_surface_copy()
70 src_level, src_box->z, src_box->z, in svga_surface_copy()
81 src_box->x, src_box->y, in svga_surface_copy()
107 box->srcx = src_box->x; in svga_surface_copy()
108 box->srcy = src_box->y; in svga_surface_copy()
121 src_face = src_box->z; in svga_surface_copy()
123 assert(src_box->depth == 1); in svga_surface_copy()
127 src_z = src_box->z; in svga_surface_copy()
133 assert(src_box->depth == 1); in svga_surface_copy()
[all …]
/external/mesa3d/src/gallium/drivers/llvmpipe/
Dlp_surface.c58 const struct pipe_box *src_box) in lp_resource_copy() argument
66 unsigned width = src_box->width; in lp_resource_copy()
67 unsigned height = src_box->height; in lp_resource_copy()
68 assert(src_box->depth == 1); in lp_resource_copy()
73 src, src_level, src_box); in lp_resource_copy()
85 src, src_level, src_box->z, in lp_resource_copy()
103 adjust_to_tile_bounds(src_box->x, src_box->y, width, height, in lp_resource_copy()
109 src_box->z, src_level, in lp_resource_copy()
154 = llvmpipe_get_texture_image_address(src_tex, src_box->z, in lp_resource_copy()
169 src_box->x, src_box->y); in lp_resource_copy()
/external/mesa3d/src/gallium/drivers/i915/
Di915_surface.c51 const struct pipe_box *src_box) in i915_surface_copy_render() argument
58 src, src_level, src_box); in i915_surface_copy_render()
65 src, src_level, src_box); in i915_surface_copy_render()
90 src, src_level, 0, src_box); in i915_surface_copy_render()
167 const struct pipe_box *src_box) in i915_surface_copy_blitter() argument
178 src, src_level, src_box); in i915_surface_copy_blitter()
183 assert(src_box->depth == 1); in i915_surface_copy_blitter()
191 assert(src_box->z == 0); in i915_surface_copy_blitter()
192 src_offset = i915_texture_offset(src_tex, src_level, src_box->z); in i915_surface_copy_blitter()
204 (short) src_box->x, (short) src_box->y, (short) dstx, (short) dsty, in i915_surface_copy_blitter()
[all …]
/external/mesa3d/src/gallium/drivers/r600/
Dr600_blit.c545 struct pipe_resource *src, const struct pipe_box *src_box) in r600_copy_buffer() argument
551 dstx % 4 == 0 && src_box->x % 4 == 0 && src_box->width % 4 == 0) { in r600_copy_buffer()
553 util_blitter_copy_buffer(rctx->blitter, dst, dstx, src, src_box->x, src_box->width); in r600_copy_buffer()
556 util_resource_copy_region(ctx, dst, 0, dstx, 0, 0, src, 0, src_box); in r600_copy_buffer()
673 const struct pipe_box *src_box) in r600_resource_copy_region() argument
679 const struct pipe_box *psbox = src_box; in r600_resource_copy_region()
687 r600_copy_buffer(ctx, dst, dstx, src, src_box); in r600_resource_copy_region()
701 src_box->z, src_box->z + src_box->depth - 1, in r600_resource_copy_region()
706 src_box->z, src_box->z + src_box->depth - 1); in r600_resource_copy_region()
715 sbox.x = util_format_get_nblocksx(orig_info[0].format, src_box->x); in r600_resource_copy_region()
[all …]
/external/mesa3d/src/gallium/drivers/radeonsi/
Dr600_blit.c247 const struct pipe_box *src_box) in r600_hw_copy_region() argument
253 src, src_level, 0, src_box); in r600_hw_copy_region()
324 const struct pipe_box *src_box) in r600_resource_copy_region() argument
337 src, src_level, src_box); in r600_resource_copy_region()
349 sbox.x = util_format_get_nblocksx(orig_info[0].format, src_box->x); in r600_resource_copy_region()
350 sbox.y = util_format_get_nblocksy(orig_info[0].format, src_box->y); in r600_resource_copy_region()
351 sbox.z = src_box->z; in r600_resource_copy_region()
352 sbox.width = util_format_get_nblocksx(orig_info[0].format, src_box->width); in r600_resource_copy_region()
353 sbox.height = util_format_get_nblocksy(orig_info[0].format, src_box->height); in r600_resource_copy_region()
354 sbox.depth = src_box->depth; in r600_resource_copy_region()
[all …]
/external/mesa3d/src/mesa/state_tracker/
Dst_texture.c377 struct pipe_box src_box; in st_texture_image_copy() local
390 src_box.x = 0; in st_texture_image_copy()
391 src_box.y = 0; in st_texture_image_copy()
392 src_box.width = width; in st_texture_image_copy()
393 src_box.height = height; in st_texture_image_copy()
394 src_box.depth = 1; in st_texture_image_copy()
399 src_box.z = i; in st_texture_image_copy()
411 &src_box); in st_texture_image_copy()
Dst_cb_texture.c999 struct pipe_box src_box; in st_CopyTexSubImage() local
1003 width, height, &src_box); in st_CopyTexSubImage()
1020 &src_box); in st_CopyTexSubImage()
/external/mesa3d/src/gallium/auxiliary/util/
Du_blit.c495 struct pipe_box src_box; in util_blit_pixels() local
496 src_box.x = srcX0; in util_blit_pixels()
497 src_box.y = srcY0; in util_blit_pixels()
498 src_box.z = srcZ0; in util_blit_pixels()
499 src_box.width = srcW; in util_blit_pixels()
500 src_box.height = srcH; in util_blit_pixels()
501 src_box.depth = 1; in util_blit_pixels()
506 &src_box); in util_blit_pixels()
546 struct pipe_box src_box; in util_blit_pixels() local
579 src_box.x = srcLeft; in util_blit_pixels()
[all …]
Du_surface.c153 const struct pipe_box *src_box) in util_resource_copy_region() argument
159 unsigned w = src_box->width; in util_resource_copy_region()
160 unsigned h = src_box->height; in util_resource_copy_region()
175 src_box->z, in util_resource_copy_region()
177 src_box->x, src_box->y, w, h); in util_resource_copy_region()
Du_surface.h66 const struct pipe_box *src_box);
Du_gen_mipmap.c1190 struct pipe_box src_box, dst_box; in make_3d_mipmap() local
1195 src_box.x = src_box.y = src_box.z = 0; in make_3d_mipmap()
1202 struct pipe_box src_box, dst_box; in make_3d_mipmap() local
1203 src_box.width = u_minify(pt->width0, srcLevel); in make_3d_mipmap()
1204 src_box.height = u_minify(pt->height0, srcLevel); in make_3d_mipmap()
1205 src_box.depth = u_minify(pt->depth0, srcLevel); in make_3d_mipmap()
1212 &src_box); in make_3d_mipmap()
/external/mesa3d/src/gallium/drivers/nv30/
Dnv30_miptree.c127 const struct pipe_box *src_box) in nv30_resource_copy_region() argument
134 srcres, src_level, src_box); in nv30_resource_copy_region()
138 define_rect(srcres, src_level, src_box->z, src_box->x, src_box->y, in nv30_resource_copy_region()
139 src_box->width, src_box->height, &src); in nv30_resource_copy_region()
141 src_box->width, src_box->height, &dst); in nv30_resource_copy_region()
Dnv30_resource.h66 const struct pipe_box *src_box);
/external/mesa3d/src/gallium/drivers/nv50/
Dnv50_surface.c197 const struct pipe_box *src_box) in nv50_resource_copy_region() argument
202 unsigned dst_layer = dstz, src_layer = src_box->z; in nv50_resource_copy_region()
207 src, src_level, src_box); in nv50_resource_copy_region()
223 unsigned nx = util_format_get_nblocksx(src->format, src_box->width); in nv50_resource_copy_region()
224 unsigned ny = util_format_get_nblocksy(src->format, src_box->height); in nv50_resource_copy_region()
228 src_box->x, src_box->y, src_box->z); in nv50_resource_copy_region()
230 for (i = 0; i < src_box->depth; ++i) { in nv50_resource_copy_region()
255 for (; dst_layer < dstz + src_box->depth; ++dst_layer, ++src_layer) { in nv50_resource_copy_region()
260 src_box->x, src_box->y, src_layer, in nv50_resource_copy_region()
261 src_box->width, src_box->height); in nv50_resource_copy_region()
/external/mesa3d/src/gallium/state_trackers/egl/common/
Dnative_helper.c264 struct pipe_box src_box; in resource_surface_copy_swap() local
280 u_box_origin_2d(ftex->width0, ftex->height0, &src_box); in resource_surface_copy_swap()
282 btex, 0, &src_box); in resource_surface_copy_swap()
397 struct pipe_box src_box; in native_display_copy_to_pixmap() local
399 u_box_origin_2d(src->width0, src->height0, &src_box); in native_display_copy_to_pixmap()
400 pipe->resource_copy_region(pipe, dst, 0, 0, 0, 0, src, 0, &src_box); in native_display_copy_to_pixmap()
/external/mesa3d/src/gallium/drivers/nvc0/
Dnvc0_surface.c204 const struct pipe_box *src_box) in nvc0_resource_copy_region() argument
209 unsigned dst_layer = dstz, src_layer = src_box->z; in nvc0_resource_copy_region()
214 src, src_level, src_box); in nvc0_resource_copy_region()
230 unsigned nx = util_format_get_nblocksx(src->format, src_box->width); in nvc0_resource_copy_region()
231 unsigned ny = util_format_get_nblocksy(src->format, src_box->height); in nvc0_resource_copy_region()
235 src_box->x, src_box->y, src_box->z); in nvc0_resource_copy_region()
237 for (i = 0; i < src_box->depth; ++i) { in nvc0_resource_copy_region()
261 for (; dst_layer < dstz + src_box->depth; ++dst_layer, ++src_layer) { in nvc0_resource_copy_region()
266 src_box->x, src_box->y, src_layer, in nvc0_resource_copy_region()
267 src_box->width, src_box->height); in nvc0_resource_copy_region()
/external/mesa3d/src/gallium/drivers/r300/
Dr300_blit.c453 const struct pipe_box *src_box) in r300_resource_copy_region() argument
472 src, src_level, src_box); in r300_resource_copy_region()
480 util_blitter_default_dst_texture(&dst_templ, dst, dst_level, dstz, src_box); in r300_resource_copy_region()
519 box = *src_box; in r300_resource_copy_region()
520 src_box = &box; in r300_resource_copy_region()
564 src, src_level, src_box); in r300_resource_copy_region()
581 src_view, 0, src_box, in r300_resource_copy_region()
Dr300_transfer.c68 struct pipe_box src_box; in r300_copy_into_tiled_texture() local
69 u_box_origin_2d(transfer->box.width, transfer->box.height, &src_box); in r300_copy_into_tiled_texture()
73 &r300transfer->linear_texture->b.b, 0, &src_box); in r300_copy_into_tiled_texture()
/external/mesa3d/src/gallium/state_trackers/xorg/
Dxorg_exa.c475 struct pipe_box src_box; in ExaCopy() local
482 u_box_2d(srcX, srcY, width, height, &src_box); in ExaCopy()
508 0, &src_box); in ExaCopy()
514 0, &src_box); in ExaCopy()
521 0, &src_box); in ExaCopy()
886 struct pipe_box src_box; in ExaModifyPixmapHeader() local
889 &src_box); in ExaModifyPixmapHeader()
893 0, &src_box); in ExaModifyPixmapHeader()
/external/mesa3d/src/gallium/state_trackers/glx/xlib/
Dxm_st.c94 struct pipe_box src_box; in xmesa_st_framebuffer_copy_textures() local
102 u_box_2d(x, y, width, height, &src_box); in xmesa_st_framebuffer_copy_textures()
106 src_ptex, 0, &src_box); in xmesa_st_framebuffer_copy_textures()
/external/mesa3d/src/gallium/state_trackers/xa/
Dxa_tracker.c349 struct pipe_box src_box; in xa_surface_redefine() local
407 xa_min(save_height, template->height0), &src_box); in xa_surface_redefine()
409 0, 0, 0, 0, srf->tex, 0, &src_box); in xa_surface_redefine()
Dxa_context.c241 struct pipe_box src_box; in xa_copy() local
244 u_box_2d(sx, sy, width, height, &src_box); in xa_copy()
248 0, &src_box); in xa_copy()
/external/mesa3d/src/gallium/state_trackers/vega/
Dvg_context.c321 struct pipe_box src_box; in vg_context_update_surface_mask_view() local
326 &src_box); in vg_context_update_surface_mask_view()
332 0, &src_box); in vg_context_update_surface_mask_view()
/external/mesa3d/src/gallium/include/pipe/
Dp_context.h298 const struct pipe_box *src_box);
/external/mesa3d/src/gallium/drivers/noop/
Dnoop_pipe.c239 const struct pipe_box *src_box) in noop_resource_copy_region() argument

12