/third_party/mesa3d/src/gallium/drivers/etnaviv/ |
H A D | etnaviv_tiling.c | 44 unsigned dstx = basex + srcx; \ 45 ((type *)dest)[ty + (dstx / TEX_TILE_WIDTH) * TEX_TILE_WORDS + \ 46 (dstx % TEX_TILE_WIDTH)] = \ 58 for (unsigned dstx = 0; dstx < width; ++dstx) { \ 59 unsigned srcx = basex + dstx; \ 60 ((type *)dest)[dsty * dst_stride + dstx] = \
|
H A D | etnaviv_clear_blit.c | 124 const union pipe_color_union *color, unsigned dstx, in etna_clear_render_target() 133 util_blitter_clear_render_target(ctx->blitter, dst, color, dstx, dsty, width, height); in etna_clear_render_target() 139 unsigned dstx, unsigned dsty, unsigned width, in etna_clear_depth_stencil() 148 stencil, dstx, dsty, width, height); in etna_clear_depth_stencil() 153 unsigned dst_level, unsigned dstx, unsigned dsty, in etna_resource_copy_region() 162 util_blitter_copy_texture(ctx->blitter, dst, dst_level, dstx, dsty, dstz, in etna_resource_copy_region() 165 util_resource_copy_region(pctx, dst, dst_level, dstx, dsty, dstz, src, in etna_resource_copy_region() 123 etna_clear_render_target(struct pipe_context *pctx, struct pipe_surface *dst, const union pipe_color_union *color, unsigned dstx, unsigned dsty, unsigned width, unsigned height, bool render_condition_enabled) etna_clear_render_target() argument 137 etna_clear_depth_stencil(struct pipe_context *pctx, struct pipe_surface *dst, unsigned clear_flags, double depth, unsigned stencil, unsigned dstx, unsigned dsty, unsigned width, unsigned height, bool render_condition_enabled) etna_clear_depth_stencil() argument 152 etna_resource_copy_region(struct pipe_context *pctx, struct pipe_resource *dst, unsigned dst_level, unsigned dstx, unsigned dsty, unsigned dstz, struct pipe_resource *src, unsigned src_level, const struct pipe_box *src_box) etna_resource_copy_region() argument
|
/third_party/mesa3d/src/gallium/drivers/i915/ |
H A D | i915_surface.c | 76 unsigned dst_level, unsigned dstx, unsigned dsty, in i915_surface_copy_render() 116 u_box_3d(dstx, dsty, dstz, abs(src_box->width), abs(src_box->height), in i915_surface_copy_render() 125 util_resource_copy_region(pipe, dst, dst_level, dstx, dsty, dstz, src, in i915_surface_copy_render() 133 unsigned dstx, unsigned dsty, unsigned width, in i915_clear_render_target_render() 151 i915_clear_emit(pipe, PIPE_CLEAR_COLOR, color, 0.0, 0x0, dstx, dsty, width, in i915_clear_render_target_render() 162 double depth, unsigned stencil, unsigned dstx, in i915_clear_depth_stencil_render() 181 stencil, dstx, dsty, width, height); in i915_clear_depth_stencil_render() 197 unsigned dst_level, unsigned dstx, unsigned dsty, in i915_surface_copy_blitter() 203 util_resource_copy_region(pipe, dst, dst_level, dstx, dsty, dstz, src, in i915_surface_copy_blitter() 231 dstx / in i915_surface_copy_blitter() 75 i915_surface_copy_render(struct pipe_context *pipe, struct pipe_resource *dst, unsigned dst_level, unsigned dstx, unsigned dsty, unsigned dstz, struct pipe_resource *src, unsigned src_level, const struct pipe_box *src_box) i915_surface_copy_render() argument 130 i915_clear_render_target_render(struct pipe_context *pipe, struct pipe_surface *dst, const union pipe_color_union *color, unsigned dstx, unsigned dsty, unsigned width, unsigned height, bool render_condition_enabled) i915_clear_render_target_render() argument 160 i915_clear_depth_stencil_render(struct pipe_context *pipe, struct pipe_surface *dst, unsigned clear_flags, double depth, unsigned stencil, unsigned dstx, unsigned dsty, unsigned width, unsigned height, bool render_condition_enabled) i915_clear_depth_stencil_render() argument 196 i915_surface_copy_blitter(struct pipe_context *pipe, struct pipe_resource *dst, unsigned dst_level, unsigned dstx, unsigned dsty, unsigned dstz, struct pipe_resource *src, unsigned src_level, const struct pipe_box *src_box) i915_surface_copy_blitter() argument 285 i915_clear_render_target_blitter(struct pipe_context *pipe, struct pipe_surface *dst, const union pipe_color_union *color, unsigned dstx, unsigned dsty, unsigned width, unsigned height, bool render_condition_enabled) i915_clear_render_target_blitter() argument 308 i915_clear_depth_stencil_blitter(struct pipe_context *pipe, struct pipe_surface *dst, unsigned clear_flags, double depth, unsigned stencil, unsigned dstx, unsigned dsty, unsigned width, unsigned height, bool render_condition_enabled) i915_clear_depth_stencil_blitter() argument [all...] |
H A D | i915_blit.h | 39 short dstx, short dsty, short w, short h);
|
/third_party/mesa3d/src/mesa/state_tracker/ |
H A D | st_cb_copyimage.c | 268 unsigned dstx, unsigned dsty, unsigned dstz, in blit() 283 u_box_3d(dstx, dsty, dstz, src_box->width, src_box->height, in blit() 295 unsigned dstx, unsigned dsty, unsigned dstz, in swizzled_copy() 345 blit(pipe, dst, blit_dst_format, dst_level, dstx, dsty, dstz, in swizzled_copy() 414 unsigned dstx, unsigned dsty, unsigned dstz, in handle_complex_copy() 443 blit(pipe, dst, noncanon_format, dst_level, dstx, dsty, dstz, src, in handle_complex_copy() 450 blit(pipe, dst, canon_format, dst_level, dstx, dsty, dstz, src, in handle_complex_copy() 467 swizzled_copy(pipe, dst, dst_level, dstx, dsty, dstz, temp, 0, in handle_complex_copy() 476 blit(pipe, dst, noncanon_format, dst_level, dstx, dsty, dstz, src, in handle_complex_copy() 491 blit(pipe, dst, noncanon_format, dst_level, dstx, dst in handle_complex_copy() 264 blit(struct pipe_context *pipe, struct pipe_resource *dst, enum pipe_format dst_format, unsigned dst_level, unsigned dstx, unsigned dsty, unsigned dstz, struct pipe_resource *src, enum pipe_format src_format, unsigned src_level, const struct pipe_box *src_box) blit() argument 292 swizzled_copy(struct pipe_context *pipe, struct pipe_resource *dst, unsigned dst_level, unsigned dstx, unsigned dsty, unsigned dstz, struct pipe_resource *src, unsigned src_level, const struct pipe_box *src_box) swizzled_copy() argument 411 handle_complex_copy(struct pipe_context *pipe, struct pipe_resource *dst, unsigned dst_level, unsigned dstx, unsigned dsty, unsigned dstz, struct pipe_resource *src, unsigned src_level, const struct pipe_box *src_box, enum pipe_format noncanon_format, enum pipe_format canon_format) handle_complex_copy() argument 501 copy_image(struct pipe_context *pipe, struct pipe_resource *dst, unsigned dst_level, unsigned dstx, unsigned dsty, unsigned dstz, struct pipe_resource *src, unsigned src_level, const struct pipe_box *src_box) copy_image() argument [all...] |
H A D | st_cb_drawpixels.h | 53 GLint dstx, GLint dsty, GLenum type);
|
/third_party/mesa3d/src/gallium/drivers/llvmpipe/ |
H A D | lp_surface.c | 42 unsigned dstx, unsigned dsty, unsigned dstz, in lp_resource_copy_ms() 48 dst_box.x = dstx; in lp_resource_copy_ms() 87 unsigned dstx, unsigned dsty, unsigned dstz, in lp_resource_copy() 108 lp_resource_copy_ms(pipe, dst, dst_level, dstx, dsty, dstz, in lp_resource_copy() 112 util_resource_copy_region(pipe, dst, dst_level, dstx, dsty, dstz, in lp_resource_copy() 316 unsigned dstx, unsigned dsty, in llvmpipe_clear_render_target() 325 width = MIN2(width, dst->texture->width0 - dstx); in llvmpipe_clear_render_target() 330 u_box_2d(dstx, dsty, width, height, &box); in llvmpipe_clear_render_target() 341 dstx, dsty, width, height); in llvmpipe_clear_render_target() 387 unsigned dstx, unsigne in llvmpipe_clear_depth_stencil() 40 lp_resource_copy_ms(struct pipe_context *pipe, struct pipe_resource *dst, unsigned dst_level, unsigned dstx, unsigned dsty, unsigned dstz, struct pipe_resource *src, unsigned src_level, const struct pipe_box *src_box) lp_resource_copy_ms() argument 85 lp_resource_copy(struct pipe_context *pipe, struct pipe_resource *dst, unsigned dst_level, unsigned dstx, unsigned dsty, unsigned dstz, struct pipe_resource *src, unsigned src_level, const struct pipe_box *src_box) lp_resource_copy() argument 313 llvmpipe_clear_render_target(struct pipe_context *pipe, struct pipe_surface *dst, const union pipe_color_union *color, unsigned dstx, unsigned dsty, unsigned width, unsigned height, bool render_condition_enabled) llvmpipe_clear_render_target() argument 382 llvmpipe_clear_depth_stencil(struct pipe_context *pipe, struct pipe_surface *dst, unsigned clear_flags, double depth, unsigned stencil, unsigned dstx, unsigned dsty, unsigned width, unsigned height, bool render_condition_enabled) llvmpipe_clear_depth_stencil() argument [all...] |
/third_party/mesa3d/src/gallium/drivers/softpipe/ |
H A D | sp_surface.c | 99 unsigned dstx, unsigned dsty, in softpipe_clear_render_target() 109 dstx, dsty, width, height); in softpipe_clear_render_target() 119 unsigned dstx, unsigned dsty, in softpipe_clear_depth_stencil() 130 dstx, dsty, width, height); in softpipe_clear_depth_stencil() 96 softpipe_clear_render_target(struct pipe_context *pipe, struct pipe_surface *dst, const union pipe_color_union *color, unsigned dstx, unsigned dsty, unsigned width, unsigned height, bool render_condition_enabled) softpipe_clear_render_target() argument 114 softpipe_clear_depth_stencil(struct pipe_context *pipe, struct pipe_surface *dst, unsigned clear_flags, double depth, unsigned stencil, unsigned dstx, unsigned dsty, unsigned width, unsigned height, bool render_condition_enabled) softpipe_clear_depth_stencil() argument
|
/third_party/mesa3d/src/gallium/drivers/r600/ |
H A D | r600_blit.c | 542 unsigned dstx, unsigned dsty, in r600_clear_render_target() 551 dstx, dsty, width, height); in r600_clear_render_target() 560 unsigned dstx, unsigned dsty, in r600_clear_depth_stencil() 569 dstx, dsty, width, height); in r600_clear_depth_stencil() 573 static void r600_copy_buffer(struct pipe_context *ctx, struct pipe_resource *dst, unsigned dstx, in r600_copy_buffer() argument 579 r600_cp_dma_copy_buffer(rctx, dst, dstx, src, src_box->x, src_box->width); in r600_copy_buffer() 581 util_resource_copy_region(ctx, dst, 0, dstx, 0, 0, src, 0, src_box); in r600_copy_buffer() 592 dstx, struct pipe_resource *src, in r600_copy_global_buffer() 622 dstx += 4 * item->start_in_dw; in r600_copy_global_buffer() 634 r600_copy_buffer(ctx, dst, dstx, sr in r600_copy_global_buffer() 539 r600_clear_render_target(struct pipe_context *ctx, struct pipe_surface *dst, const union pipe_color_union *color, unsigned dstx, unsigned dsty, unsigned width, unsigned height, bool render_condition_enabled) r600_clear_render_target() argument 555 r600_clear_depth_stencil(struct pipe_context *ctx, struct pipe_surface *dst, unsigned clear_flags, double depth, unsigned stencil, unsigned dstx, unsigned dsty, unsigned width, unsigned height, bool render_condition_enabled) r600_clear_depth_stencil() argument 590 r600_copy_global_buffer(struct pipe_context *ctx, struct pipe_resource *dst, unsigned dstx, struct pipe_resource *src, const struct pipe_box *src_box) r600_copy_global_buffer() argument 665 r600_resource_copy_region(struct pipe_context *ctx, struct pipe_resource *dst, unsigned dst_level, unsigned dstx, unsigned dsty, unsigned dstz, struct pipe_resource *src, unsigned src_level, const struct pipe_box *src_box) r600_resource_copy_region() argument [all...] |
H A D | r600_test_dma.c | 305 int srcx, srcy, srcz, dstx, dsty, dstz; in r600_test_dma() local 316 srcx = srcy = srcz = dstx = dsty = dstz = 0; in r600_test_dma() 335 dstx = rand() % (tdst.width0 - width + 1) & ~0x7; in r600_test_dma() 347 dstx = rand() % (tdst.width0 - width + 1); in r600_test_dma() 363 rctx->dma_copy(ctx, dst, 0, dstx, dsty, dstz, src, 0, &box); in r600_test_dma() 372 dstx, dsty, dstz, width, height, depth, in r600_test_dma()
|
/third_party/mesa3d/src/gallium/drivers/iris/ |
H A D | iris_blit.c | 653 unsigned dstx, unsigned dsty, unsigned dstz, in iris_copy_region() 679 util_range_add(&dst_res->base.b, &dst_res->valid_buffer_range, dstx, dstx + src_box->width); in iris_copy_region() 693 .buffer = dst_res->bo, .offset = dst_res->offset + dstx, in iris_copy_region() 735 src_box->x, src_box->y, dstx, dsty, in iris_copy_region() 759 unsigned dstx, unsigned dsty, unsigned dstz, in iris_resource_copy_region() 767 iris_copy_region(&ice->blorp, batch, p_dst, dst_level, dstx, dsty, dstz, in iris_resource_copy_region() 776 iris_copy_region(&ice->blorp, batch, &s_dst_res->base.b, dst_level, dstx, in iris_resource_copy_region() 649 iris_copy_region(struct blorp_context *blorp, struct iris_batch *batch, struct pipe_resource *dst, unsigned dst_level, unsigned dstx, unsigned dsty, unsigned dstz, struct pipe_resource *src, unsigned src_level, const struct pipe_box *src_box) iris_copy_region() argument 756 iris_resource_copy_region(struct pipe_context *ctx, struct pipe_resource *p_dst, unsigned dst_level, unsigned dstx, unsigned dsty, unsigned dstz, struct pipe_resource *p_src, unsigned src_level, const struct pipe_box *src_box) iris_resource_copy_region() argument
|
/third_party/mesa3d/src/gallium/drivers/crocus/ |
H A D | crocus_blit.c | 679 unsigned dstx, unsigned dsty, unsigned dstz, in crocus_copy_region() 693 dst_level, dstx, dsty, dstz, in crocus_copy_region() 707 util_range_add(&dst_res->base.b, &dst_res->valid_buffer_range, dstx, dstx + src_box->width); in crocus_copy_region() 715 .buffer = crocus_resource_bo(dst), .offset = dstx, in crocus_copy_region() 748 src_box->x, src_box->y, dstx, dsty, in crocus_copy_region() 770 unsigned dstx, unsigned dsty, unsigned dstz, in crocus_resource_copy_region() 788 util_resource_copy_region(ctx, p_dst, dst_level, dstx, dsty, dstz, in crocus_resource_copy_region() 792 crocus_copy_region(&ice->blorp, batch, p_dst, dst_level, dstx, dsty, dstz, in crocus_resource_copy_region() 802 crocus_copy_region(&ice->blorp, batch, &s_dst_res->base.b, dst_level, dstx, in crocus_resource_copy_region() 675 crocus_copy_region(struct blorp_context *blorp, struct crocus_batch *batch, struct pipe_resource *dst, unsigned dst_level, unsigned dstx, unsigned dsty, unsigned dstz, struct pipe_resource *src, unsigned src_level, const struct pipe_box *src_box) crocus_copy_region() argument 767 crocus_resource_copy_region(struct pipe_context *ctx, struct pipe_resource *p_dst, unsigned dst_level, unsigned dstx, unsigned dsty, unsigned dstz, struct pipe_resource *p_src, unsigned src_level, const struct pipe_box *src_box) crocus_resource_copy_region() argument [all...] |
/third_party/mesa3d/src/gallium/drivers/freedreno/ |
H A D | freedreno_blitter.c | 318 unsigned dst_level, unsigned dstx, unsigned dsty, 337 util_blitter_copy_texture(ctx->blitter, dst, dst_level, dstx, dsty, dstz, 350 unsigned dst_level, unsigned dstx, unsigned dsty, in fd_resource_copy_region() 373 info.dst.box.x = dstx; in fd_resource_copy_region() 395 if (fd_blitter_pipe_copy_region(ctx, dst, dst_level, dstx, dsty, dstz, src, in fd_resource_copy_region() 401 util_resource_copy_region(pctx, dst, dst_level, dstx, dsty, dstz, src, in fd_resource_copy_region() 349 fd_resource_copy_region(struct pipe_context *pctx, struct pipe_resource *dst, unsigned dst_level, unsigned dstx, unsigned dsty, unsigned dstz, struct pipe_resource *src, unsigned src_level, const struct pipe_box *src_box) fd_resource_copy_region() argument
|
/third_party/mesa3d/src/gallium/auxiliary/util/ |
H A D | u_surface.c | 385 unsigned dstx, unsigned dsty, unsigned dstz, in util_clear_color_texture() 395 dstx, dsty, dstz, in util_clear_color_texture() 424 unsigned dstx, unsigned dsty, in util_clear_render_target() 441 dx = (dst->u.buf.first_element + dstx) * pixstride; in util_clear_render_target() 458 dst->u.tex.level, dstx, dsty, in util_clear_render_target() 580 unsigned dstx, unsigned dsty, unsigned dstz, in util_clear_depth_stencil_texture() 597 dstx, dsty, dstz, in util_clear_depth_stencil_texture() 672 unsigned dstx, unsigned dsty, in util_clear_depth_stencil() 686 dstx, dsty, dst->u.tex.first_layer, in util_clear_depth_stencil() 380 util_clear_color_texture(struct pipe_context *pipe, struct pipe_resource *texture, enum pipe_format format, const union pipe_color_union *color, unsigned level, unsigned dstx, unsigned dsty, unsigned dstz, unsigned width, unsigned height, unsigned depth) util_clear_color_texture() argument 421 util_clear_render_target(struct pipe_context *pipe, struct pipe_surface *dst, const union pipe_color_union *color, unsigned dstx, unsigned dsty, unsigned width, unsigned height) util_clear_render_target() argument 575 util_clear_depth_stencil_texture(struct pipe_context *pipe, struct pipe_resource *texture, enum pipe_format format, unsigned clear_flags, uint64_t zstencil, unsigned level, unsigned dstx, unsigned dsty, unsigned dstz, unsigned width, unsigned height, unsigned depth) util_clear_depth_stencil_texture() argument 667 util_clear_depth_stencil(struct pipe_context *pipe, struct pipe_surface *dst, unsigned clear_flags, double depth, unsigned stencil, unsigned dstx, unsigned dsty, unsigned width, unsigned height) util_clear_depth_stencil() argument
|
H A D | u_surface.h | 96 unsigned dstx, unsigned dsty, 105 unsigned dstx, unsigned dsty,
|
H A D | u_blitter.h | 242 unsigned dstx, unsigned dsty, unsigned dstz, 333 unsigned dstx, unsigned dsty, 352 unsigned dstx, unsigned dsty,
|
/third_party/mesa3d/src/gallium/drivers/r300/ |
H A D | r300_blit.c | 443 unsigned dstx, unsigned dsty, in r300_clear_render_target() 452 dstx, dsty, width, height); in r300_clear_render_target() 462 unsigned dstx, unsigned dsty, in r300_clear_depth_stencil() 480 dstx, dsty, width, height); in r300_clear_depth_stencil() 545 unsigned dstx, unsigned dsty, unsigned dstz, in r300_resource_copy_region() 566 util_resource_copy_region(pipe, dst, dst_level, dstx, dsty, dstz, in r300_resource_copy_region() 636 dstx /= 2; in r300_resource_copy_region() 665 util_resource_copy_region(pipe, dst, dst_level, dstx, dsty, dstz, in r300_resource_copy_region() 681 u_box_3d(dstx, dsty, dstz, abs(src_box->width), abs(src_box->height), in r300_resource_copy_region() 440 r300_clear_render_target(struct pipe_context *pipe, struct pipe_surface *dst, const union pipe_color_union *color, unsigned dstx, unsigned dsty, unsigned width, unsigned height, bool render_condition_enabled) r300_clear_render_target() argument 457 r300_clear_depth_stencil(struct pipe_context *pipe, struct pipe_surface *dst, unsigned clear_flags, double depth, unsigned stencil, unsigned dstx, unsigned dsty, unsigned width, unsigned height, bool render_condition_enabled) r300_clear_depth_stencil() argument 542 r300_resource_copy_region(struct pipe_context *pipe, struct pipe_resource *dst, unsigned dst_level, unsigned dstx, unsigned dsty, unsigned dstz, struct pipe_resource *src, unsigned src_level, const struct pipe_box *src_box) r300_resource_copy_region() argument
|
/third_party/mesa3d/src/gallium/drivers/zink/ |
H A D | zink_clear.h | 75 const union pipe_color_union *color, unsigned dstx, 82 unsigned dstx, unsigned dsty, unsigned width, unsigned height,
|
H A D | zink_clear.c | 548 const union pipe_color_union *color, unsigned dstx, in zink_clear_render_target() 560 struct pipe_scissor_state scissor = {dstx, dsty, dstx + width, dsty + height}; in zink_clear_render_target() 571 unsigned dstx, unsigned dsty, unsigned width, unsigned height, in zink_clear_depth_stencil() 581 if (dstx > ctx->fb_state.width || dsty > ctx->fb_state.height || in zink_clear_depth_stencil() 582 dstx + width > ctx->fb_state.width || in zink_clear_depth_stencil() 589 struct pipe_scissor_state scissor = {dstx, dsty, dstx + width, dsty + height}; in zink_clear_depth_stencil() 547 zink_clear_render_target(struct pipe_context *pctx, struct pipe_surface *dst, const union pipe_color_union *color, unsigned dstx, unsigned dsty, unsigned width, unsigned height, bool render_condition_enabled) zink_clear_render_target() argument 569 zink_clear_depth_stencil(struct pipe_context *pctx, struct pipe_surface *dst, unsigned clear_flags, double depth, unsigned stencil, unsigned dstx, unsigned dsty, unsigned width, unsigned height, bool render_condition_enabled) zink_clear_depth_stencil() argument
|
/third_party/mesa3d/src/gallium/drivers/svga/ |
H A D | svga_pipe_clear.c | 491 * \param dstx[in] Clear region left 500 unsigned dstx, unsigned dsty, in svga_blitter_clear_render_target() 507 dstx, dsty, width, height); in svga_blitter_clear_render_target() 517 * \param dstx[in] Clear region left 528 unsigned dstx, unsigned dsty, in svga_clear_render_target() 535 if (!svga_have_vgpu10(svga) || dstx != 0 || dsty != 0 || in svga_clear_render_target() 537 svga_blitter_clear_render_target(svga, dst, color, dstx, dsty, width, in svga_clear_render_target() 497 svga_blitter_clear_render_target(struct svga_context *svga, struct pipe_surface *dst, const union pipe_color_union *color, unsigned dstx, unsigned dsty, unsigned width, unsigned height) svga_blitter_clear_render_target() argument 525 svga_clear_render_target(struct pipe_context *pipe, struct pipe_surface *dst, const union pipe_color_union *color, unsigned dstx, unsigned dsty, unsigned width, unsigned height, bool render_condition_enabled) svga_clear_render_target() argument
|
H A D | svga_pipe_blit.c | 153 unsigned dstx, unsigned dsty, unsigned dstz, in copy_region_fallback() 160 util_resource_copy_region(&svga->pipe, dst_tex, dst_level, dstx, in copy_region_fallback() 894 unsigned dstx, unsigned dsty, unsigned dstz, in svga_resource_copy_region() 922 dst_surf, src_box->x, dstx, in svga_resource_copy_region() 932 copy_region_fallback(svga, dst_tex, dst_level, dstx, in svga_resource_copy_region() 938 build_blit_info(dst_tex, dst_level, dstx, dsty, dstz, in svga_resource_copy_region() 956 copy_region_fallback(svga, dst_tex, dst_level, dstx, dsty, dstz, in svga_resource_copy_region() 151 copy_region_fallback(struct svga_context *svga, struct pipe_resource *dst_tex, unsigned dst_level, unsigned dstx, unsigned dsty, unsigned dstz, struct pipe_resource *src_tex, unsigned src_level, const struct pipe_box *src_box) copy_region_fallback() argument 891 svga_resource_copy_region(struct pipe_context *pipe, struct pipe_resource *dst_tex, unsigned dst_level, unsigned dstx, unsigned dsty, unsigned dstz, struct pipe_resource *src_tex, unsigned src_level, const struct pipe_box *src_box) svga_resource_copy_region() argument
|
/third_party/mesa3d/src/gallium/drivers/radeonsi/ |
H A D | si_test_image_copy_region.c | 564 int srcx, srcy, srcz, dstx, dsty, dstz; in si_test_image_copy_region() local 590 dstx = rand() % (u_minify(tdst.width0, dst_level) - width + 1); in si_test_image_copy_region() 597 dstx &= ~(util_format_get_blockwidth(dst->format) - 1); in si_test_image_copy_region() 605 si_resource_copy_region(ctx, dst, dst_level, dstx, dsty, dstz, src, src_level, &box); in si_test_image_copy_region() 613 dst_cpu[dst_level].layer_stride, dstx, dsty, dstz, in si_test_image_copy_region() 783 int srcx, srcy, srcz, dstx, dsty, dstz; in si_test_blit() local 813 dstx = rand() % (u_minify(tdst.width0, dst_level) - dst_width + 1); in si_test_blit() 827 dstx += rand() % (max_dst_width / 5) - max_dst_width / 10; in si_test_blit() 836 dstx &= ~(util_format_get_blockwidth(tdst.format) - 1); in si_test_blit() 879 u_box_3d(dstx, dst in si_test_blit() [all...] |
H A D | si_compute_blit.c | 608 struct pipe_resource *src, unsigned src_level, unsigned dstx, in si_compute_copy_image() 673 dstx = util_format_get_nblocksx(dst_format, dstx); in si_compute_copy_image() 696 dstx = util_format_get_nblocksx(src_format, dstx); in si_compute_copy_image() 706 * should force us to divide src_box->x, dstx and width by 2. in si_compute_copy_image() 760 sctx->cs_user_data[0] = src_box->x | (dstx << 16); in si_compute_copy_image() 955 const union pipe_color_union *color, unsigned dstx, in si_compute_clear_render_target() 961 unsigned data[4 + sizeof(color->ui)] = {dstx, dsty, dstsurf->u.tex.first_layer, 0}; in si_compute_clear_render_target() 607 si_compute_copy_image(struct si_context *sctx, struct pipe_resource *dst, unsigned dst_level, struct pipe_resource *src, unsigned src_level, unsigned dstx, unsigned dsty, unsigned dstz, const struct pipe_box *src_box, unsigned flags) si_compute_copy_image() argument 954 si_compute_clear_render_target(struct pipe_context *ctx, struct pipe_surface *dstsurf, const union pipe_color_union *color, unsigned dstx, unsigned dsty, unsigned width, unsigned height, bool render_condition_enabled) si_compute_clear_render_target() argument
|
/third_party/mesa3d/src/gallium/drivers/nouveau/nv50/ |
H A D | nv50_surface.c | 198 unsigned dstx, unsigned dsty, unsigned dstz, in nv50_resource_copy_region() 209 nv04_resource(dst), dstx, in nv50_resource_copy_region() 233 nv50_m2mf_rect_setup(&drect, dst, dst_level, dstx, dsty, dstz); in nv50_resource_copy_region() 265 dstx, dsty, dst_layer, in nv50_resource_copy_region() 279 unsigned dstx, unsigned dsty, in nv50_clear_render_target() 304 PUSH_DATA (push, ( width << 16) | dstx); in nv50_clear_render_target() 342 PUSH_DATA (push, (width << 16) | dstx); in nv50_clear_render_target() 370 unsigned dstx, unsigned dsty, in nv50_clear_depth_stencil() 403 PUSH_DATA (push, ( width << 16) | dstx); in nv50_clear_depth_stencil() 430 PUSH_DATA (push, (width << 16) | dstx); in nv50_clear_depth_stencil() 196 nv50_resource_copy_region(struct pipe_context *pipe, struct pipe_resource *dst, unsigned dst_level, unsigned dstx, unsigned dsty, unsigned dstz, struct pipe_resource *src, unsigned src_level, const struct pipe_box *src_box) nv50_resource_copy_region() argument 276 nv50_clear_render_target(struct pipe_context *pipe, struct pipe_surface *dst, const union pipe_color_union *color, unsigned dstx, unsigned dsty, unsigned width, unsigned height, bool render_condition_enabled) nv50_clear_render_target() argument 365 nv50_clear_depth_stencil(struct pipe_context *pipe, struct pipe_surface *dst, unsigned clear_flags, double depth, unsigned stencil, unsigned dstx, unsigned dsty, unsigned width, unsigned height, bool render_condition_enabled) nv50_clear_depth_stencil() argument 1531 int32_t dstx, dsty; nv50_blit_eng2d() local [all...] |
/third_party/mesa3d/src/gallium/drivers/nouveau/nvc0/ |
H A D | nvc0_surface.c | 207 unsigned dstx, unsigned dsty, unsigned dstz, in nvc0_resource_copy_region() 218 nv04_resource(dst), dstx, in nvc0_resource_copy_region() 244 nv50_m2mf_rect_setup(&drect, dst, dst_level, dstx, dsty, dstz); in nvc0_resource_copy_region() 275 dstx, dsty, dst_layer, in nvc0_resource_copy_region() 289 unsigned dstx, unsigned dsty, in nvc0_clear_render_target() 313 PUSH_DATA (push, ( width << 16) | dstx); in nvc0_clear_render_target() 625 unsigned dstx, unsigned dsty, in nvc0_clear_depth_stencil() 657 PUSH_DATA (push, ( width << 16) | dstx); in nvc0_clear_depth_stencil() 1438 int32_t dstx, dsty; in nvc0_blit_eng2d() local 1520 dstx in nvc0_blit_eng2d() 205 nvc0_resource_copy_region(struct pipe_context *pipe, struct pipe_resource *dst, unsigned dst_level, unsigned dstx, unsigned dsty, unsigned dstz, struct pipe_resource *src, unsigned src_level, const struct pipe_box *src_box) nvc0_resource_copy_region() argument 286 nvc0_clear_render_target(struct pipe_context *pipe, struct pipe_surface *dst, const union pipe_color_union *color, unsigned dstx, unsigned dsty, unsigned width, unsigned height, bool render_condition_enabled) nvc0_clear_render_target() argument 620 nvc0_clear_depth_stencil(struct pipe_context *pipe, struct pipe_surface *dst, unsigned clear_flags, double depth, unsigned stencil, unsigned dstx, unsigned dsty, unsigned width, unsigned height, bool render_condition_enabled) nvc0_clear_depth_stencil() argument [all...] |