/external/mesa3d/src/gallium/drivers/ilo/ |
D | ilo_blit.c | 38 unsigned dstx, unsigned dsty, unsigned dstz, in ilo_resource_copy_region() argument 46 dst, dst_level, dstx, dsty, dstz, in ilo_resource_copy_region() 51 dst, dst_level, dstx, dsty, dstz, in ilo_resource_copy_region() 56 dstx, dsty, dstz, src, src_level, src_box); in ilo_resource_copy_region() 85 unsigned dstx, unsigned dsty, in ilo_clear_render_target() argument 91 if (!width || !height || dstx >= dst->width || dsty >= dst->height) in ilo_clear_render_target() 94 if (dstx + width > dst->width) in ilo_clear_render_target() 95 width = dst->width - dstx; in ilo_clear_render_target() 100 dst, color, dstx, dsty, width, height)) in ilo_clear_render_target() 104 dst, color, dstx, dsty, width, height); in ilo_clear_render_target() [all …]
|
/external/mesa3d/src/gallium/drivers/etnaviv/ |
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] = \
|
D | etnaviv_clear_blit.c | 251 const union pipe_color_union *color, unsigned dstx, in etna_clear_render_target() argument 260 util_blitter_clear_render_target(ctx->blitter, dst, color, dstx, dsty, width, height); in etna_clear_render_target() 266 unsigned dstx, unsigned dsty, unsigned width, in etna_clear_depth_stencil() argument 275 stencil, dstx, dsty, width, height); in etna_clear_depth_stencil() 280 unsigned dst_level, unsigned dstx, unsigned dsty, in etna_resource_copy_region() argument 302 util_blitter_copy_texture(ctx->blitter, dst, dst_level, dstx, dsty, dstz, in etna_resource_copy_region() 305 util_resource_copy_region(pctx, dst, dst_level, dstx, dsty, dstz, src, in etna_resource_copy_region()
|
/external/mesa3d/src/gallium/drivers/i915/ |
D | i915_surface.c | 80 unsigned dstx, unsigned dsty, unsigned dstz, in i915_surface_copy_render() argument 118 u_box_3d(dstx, dsty, dstz, abs(src_box->width), abs(src_box->height), in i915_surface_copy_render() 128 util_resource_copy_region(pipe, dst, dst_level, dstx, dsty, dstz, in i915_surface_copy_render() 136 unsigned dstx, unsigned dsty, in i915_clear_render_target_render() argument 156 dstx, dsty, width, height); in i915_clear_render_target_render() 169 unsigned dstx, unsigned dsty, in i915_clear_depth_stencil_render() argument 189 dstx, dsty, width, height); in i915_clear_depth_stencil_render() 206 unsigned dstx, unsigned dsty, unsigned dstz, in i915_surface_copy_blitter() argument 218 util_resource_copy_region(pipe, dst, dst_level, dstx, dsty, dstz, in i915_surface_copy_blitter() 245 (short) src_box->x, (short) src_box->y, (short) dstx, (short) dsty, in i915_surface_copy_blitter() [all …]
|
/external/mesa3d/src/mesa/state_tracker/ |
D | st_cb_copyimage.c | 256 unsigned dstx, unsigned dsty, unsigned dstz, in blit() argument 271 u_box_3d(dstx, dsty, dstz, src_box->width, src_box->height, in blit() 283 unsigned dstx, unsigned dsty, unsigned dstz, in swizzled_copy() argument 333 blit(pipe, dst, blit_dst_format, dst_level, dstx, dsty, dstz, in swizzled_copy() 401 unsigned dstx, unsigned dsty, unsigned dstz, in handle_complex_copy() argument 430 blit(pipe, dst, noncanon_format, dst_level, dstx, dsty, dstz, src, in handle_complex_copy() 437 blit(pipe, dst, canon_format, dst_level, dstx, dsty, dstz, src, in handle_complex_copy() 454 swizzled_copy(pipe, dst, dst_level, dstx, dsty, dstz, temp, 0, in handle_complex_copy() 463 blit(pipe, dst, noncanon_format, dst_level, dstx, dsty, dstz, src, in handle_complex_copy() 478 blit(pipe, dst, noncanon_format, dst_level, dstx, dsty, dstz, temp, in handle_complex_copy() [all …]
|
/external/mesa3d/src/mesa/drivers/dri/i965/ |
D | intel_pixel_copy.c | 50 GLint dstx, GLint dsty, GLenum type) in do_blit_copypixels() argument 152 orig_dstx = dstx; in do_blit_copypixels() 156 &dstx, &dsty, &width, &height)) in do_blit_copypixels() 159 srcx += dstx - orig_dstx; in do_blit_copypixels() 170 dstx += srcx - orig_srcx; in do_blit_copypixels() 177 dstx, dsty, _mesa_is_winsys_fbo(fb), in do_blit_copypixels()
|
D | intel_pixel_bitmap.c | 172 GLint dstx, GLint dsty, in do_blit_bitmap() argument 187 GLint orig_dstx = dstx; in do_blit_bitmap() 248 &dstx, &dsty, &width, &height)) in do_blit_bitmap() 281 -orig_dstx + (dstx + px), in do_blit_bitmap() 299 dstx + px, in do_blit_bitmap()
|
D | intel_tex_copy.c | 49 GLint dstx, GLint dsty, GLint slice, in intel_copy_texsubimage() argument 93 dstx, dsty, false, in intel_copy_texsubimage()
|
/external/mesa3d/src/mesa/drivers/dri/i915/ |
D | intel_pixel_copy.c | 53 GLint dstx, GLint dsty, GLenum type) in do_blit_copypixels() argument 150 orig_dstx = dstx; in do_blit_copypixels() 154 &dstx, &dsty, &width, &height)) in do_blit_copypixels() 157 srcx += dstx - orig_dstx; in do_blit_copypixels() 168 dstx += srcx - orig_srcx; in do_blit_copypixels() 175 dstx, dsty, _mesa_is_winsys_fbo(fb), in do_blit_copypixels()
|
D | intel_pixel_bitmap.c | 175 GLint dstx, GLint dsty, in do_blit_bitmap() argument 190 GLint orig_dstx = dstx; in do_blit_bitmap() 251 &dstx, &dsty, &width, &height)) in do_blit_bitmap() 279 -orig_dstx + (dstx + px), in do_blit_bitmap() 297 dstx + px, in do_blit_bitmap()
|
D | intel_tex_copy.c | 51 GLint dstx, GLint dsty, GLint slice, in intel_copy_texsubimage() argument 72 dstx, dsty, false, in intel_copy_texsubimage()
|
/external/mesa3d/src/gallium/drivers/radeonsi/ |
D | cik_sdma.c | 143 unsigned dstx, unsigned dsty, unsigned dstz, in cik_sdma_copy_texture() argument 192 if (!r600_prepare_for_dma_blit(&sctx->b, rdst, dst_level, dstx, dsty, in cik_sdma_copy_texture() 196 dstx /= rdst->surface.blk_w; in cik_sdma_copy_texture() 202 dstx >= (1 << 14) || in cik_sdma_copy_texture() 242 radeon_emit(cs, dstx | (dsty << 16)); in cik_sdma_copy_texture() 261 unsigned tiled_x = tiled == rsrc ? srcx : dstx; in cik_sdma_copy_texture() 262 unsigned linear_x = linear == rsrc ? srcx : dstx; in cik_sdma_copy_texture() 428 dstx % 8 == 0 && in cik_sdma_copy_texture() 454 dstx + copy_width == dst_width) in cik_sdma_copy_texture() 484 dstx + copy_width != (1 << 14)))) { in cik_sdma_copy_texture() [all …]
|
D | si_dma.c | 223 unsigned dstx, unsigned dsty, unsigned dstz, in si_dma_copy() argument 234 unsigned dst_x = dstx, dst_y = dsty, dst_z = dstz; in si_dma_copy() 261 !r600_prepare_for_dma_blit(&sctx->b, rdst, dst_level, dstx, dsty, in si_dma_copy() 320 si_resource_copy_region(ctx, dst, dst_level, dstx, dsty, dstz, in si_dma_copy()
|
/external/mesa3d/src/gallium/drivers/r600/ |
D | r600_blit.c | 475 unsigned dstx, unsigned dsty, in r600_clear_render_target() argument 484 dstx, dsty, width, height); in r600_clear_render_target() 493 unsigned dstx, unsigned dsty, in r600_clear_depth_stencil() argument 502 dstx, dsty, width, height); in r600_clear_depth_stencil() 506 static void r600_copy_buffer(struct pipe_context *ctx, struct pipe_resource *dst, unsigned dstx, in r600_copy_buffer() argument 512 r600_cp_dma_copy_buffer(rctx, dst, dstx, src, src_box->x, src_box->width); in r600_copy_buffer() 516 dstx % 4 == 0 && src_box->x % 4 == 0 && src_box->width % 4 == 0) { in r600_copy_buffer() 519 util_blitter_copy_buffer(rctx->blitter, dst, dstx, src, src_box->x, src_box->width); in r600_copy_buffer() 522 util_resource_copy_region(ctx, dst, 0, dstx, 0, 0, src, 0, src_box); in r600_copy_buffer() 534 dstx, struct pipe_resource *src, in r600_copy_global_buffer() argument [all …]
|
/external/mesa3d/src/gallium/drivers/llvmpipe/ |
D | lp_surface.c | 41 unsigned dstx, unsigned dsty, unsigned dstz, in lp_resource_copy() argument 59 util_resource_copy_region(pipe, dst, dst_level, dstx, dsty, dstz, in lp_resource_copy() 192 unsigned dstx, unsigned dsty, in llvmpipe_clear_render_target() argument 202 dstx, dsty, width, height); in llvmpipe_clear_render_target() 212 unsigned dstx, unsigned dsty, in llvmpipe_clear_depth_stencil() argument 223 dstx, dsty, width, height); in llvmpipe_clear_depth_stencil()
|
/external/mesa3d/src/gallium/drivers/softpipe/ |
D | sp_surface.c | 99 unsigned dstx, unsigned dsty, in softpipe_clear_render_target() argument 109 dstx, dsty, width, height); in softpipe_clear_render_target() 119 unsigned dstx, unsigned dsty, in softpipe_clear_depth_stencil() argument 130 dstx, dsty, width, height); in softpipe_clear_depth_stencil()
|
/external/mesa3d/src/mesa/drivers/dri/r200/ |
D | radeon_tex_copy.c | 43 GLint dstx, GLint dsty, in do_copy_texsubimage() argument 81 assert(timg->base.Base.Width >= dstx + width); in do_copy_texsubimage() 90 fprintf(stderr, "to: x %d, y %d, offset %d\n", dstx, dsty, (uint32_t) dst_offset); in do_copy_texsubimage() 133 dstx, dsty, width, height, flip_y); in do_copy_texsubimage()
|
/external/mesa3d/src/mesa/drivers/dri/radeon/ |
D | radeon_tex_copy.c | 43 GLint dstx, GLint dsty, in do_copy_texsubimage() argument 81 assert(timg->base.Base.Width >= dstx + width); in do_copy_texsubimage() 90 fprintf(stderr, "to: x %d, y %d, offset %d\n", dstx, dsty, (uint32_t) dst_offset); in do_copy_texsubimage() 133 dstx, dsty, width, height, flip_y); in do_copy_texsubimage()
|
/external/mesa3d/src/gallium/drivers/radeon/ |
D | r600_test_dma.c | 315 int srcx, srcy, srcz, dstx, dsty, dstz; in r600_test_dma() local 326 srcx = srcy = srcz = dstx = dsty = dstz = 0; in r600_test_dma() 345 dstx = rand() % (tdst.width0 - width + 1) & ~0x7; in r600_test_dma() 357 dstx = rand() % (tdst.width0 - width + 1); in r600_test_dma() 373 rctx->dma_copy(ctx, dst, 0, dstx, dsty, dstz, src, 0, &box); in r600_test_dma() 382 dstx, dsty, dstz, width, height, depth, in r600_test_dma()
|
/external/mesa3d/src/gallium/drivers/svga/ |
D | svga_pipe_blit.c | 119 unsigned dstx, unsigned dsty, unsigned dstz, in svga_resource_copy_region() argument 144 src_box->x, dstx, src_box->width); in svga_resource_copy_region() 148 src_box->x, dstx, src_box->width); in svga_resource_copy_region() 156 util_resource_copy_region(pipe, dst_tex, dst_level, dstx, in svga_resource_copy_region() 181 dstx, dsty, dst_z, in svga_resource_copy_region() 186 util_resource_copy_region(pipe, dst_tex, dst_level, dstx, dsty, dstz, in svga_resource_copy_region() 198 dstx, dsty, dst_z, in svga_resource_copy_region() 204 util_resource_copy_region(pipe, dst_tex, dst_level, dstx, dsty, dstz, in svga_resource_copy_region()
|
D | svga_pipe_clear.c | 497 unsigned dstx, unsigned dsty, in svga_blitter_clear_render_target() argument 504 dstx, dsty, width, height); in svga_blitter_clear_render_target() 563 unsigned dstx, unsigned dsty, in svga_clear_render_target() argument 570 if (!svga_have_vgpu10(svga) || dstx != 0 || dsty != 0 || in svga_clear_render_target() 572 svga_blitter_clear_render_target(svga, dst, color, dstx, dsty, width, in svga_clear_render_target()
|
/external/mesa3d/src/gallium/auxiliary/util/ |
D | u_surface.h | 89 unsigned dstx, unsigned dsty, 98 unsigned dstx, unsigned dsty,
|
D | u_blitter.h | 215 unsigned dstx, unsigned dsty, unsigned dstz, 281 unsigned dstx, 315 unsigned dstx, unsigned dsty, 334 unsigned dstx, unsigned dsty,
|
D | u_blitter.c | 1511 unsigned dstx, unsigned dsty, unsigned dstz, in util_blitter_copy_texture() argument 1525 u_box_3d(dstx, dsty, dstz, abs(srcbox->width), abs(srcbox->height), in util_blitter_copy_texture() 1975 unsigned dstx, unsigned dsty, in util_blitter_clear_render_target() argument 2015 blitter_draw(ctx, dstx, dsty, dstx+width, dsty+height, 0, num_layers); in util_blitter_clear_render_target() 2019 blitter->draw_rectangle(blitter, dstx, dsty, dstx+width, dsty+height, 0, in util_blitter_clear_render_target() 2036 unsigned dstx, unsigned dsty, in util_blitter_clear_depth_stencil() argument 2092 blitter_draw(ctx, dstx, dsty, dstx+width, dsty+height, (float) depth, num_layers); in util_blitter_clear_depth_stencil() 2096 blitter->draw_rectangle(blitter, dstx, dsty, dstx+width, dsty+height, in util_blitter_clear_depth_stencil() 2169 unsigned dstx, in util_blitter_copy_buffer() argument 2181 dstx >= dst->width0) { in util_blitter_copy_buffer() [all …]
|
/external/mesa3d/src/gallium/drivers/r300/ |
D | r300_blit.c | 432 unsigned dstx, unsigned dsty, in r300_clear_render_target() argument 441 dstx, dsty, width, height); in r300_clear_render_target() 451 unsigned dstx, unsigned dsty, in r300_clear_depth_stencil() argument 469 dstx, dsty, width, height); in r300_clear_depth_stencil() 534 unsigned dstx, unsigned dsty, unsigned dstz, in r300_resource_copy_region() argument 555 util_resource_copy_region(pipe, dst, dst_level, dstx, dsty, dstz, in r300_resource_copy_region() 625 dstx /= 2; in r300_resource_copy_region() 652 util_resource_copy_region(pipe, dst, dst_level, dstx, dsty, dstz, in r300_resource_copy_region() 668 u_box_3d(dstx, dsty, dstz, abs(src_box->width), abs(src_box->height), in r300_resource_copy_region()
|