Home
last modified time | relevance | path

Searched refs:dstx (Results 1 – 25 of 76) sorted by relevance

1234

/external/mesa3d/src/gallium/drivers/etnaviv/
Detnaviv_tiling.c44 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] = \
Detnaviv_clear_blit.c82 const union pipe_color_union *color, unsigned dstx, in etna_clear_render_target() argument
91 util_blitter_clear_render_target(ctx->blitter, dst, color, dstx, dsty, width, height); in etna_clear_render_target()
97 unsigned dstx, unsigned dsty, unsigned width, in etna_clear_depth_stencil() argument
106 stencil, dstx, dsty, width, height); in etna_clear_depth_stencil()
111 unsigned dst_level, unsigned dstx, unsigned dsty, in etna_resource_copy_region() argument
131 util_blitter_copy_texture(ctx->blitter, dst, dst_level, dstx, dsty, dstz, in etna_resource_copy_region()
134 util_resource_copy_region(pctx, dst, dst_level, dstx, dsty, dstz, src, in etna_resource_copy_region()
/external/mesa3d/src/gallium/drivers/i915/
Di915_surface.c80 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/
Dst_cb_copyimage.c256 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/i915/
Dintel_pixel_copy.c54 GLint dstx, GLint dsty, GLenum type) in do_blit_copypixels() argument
151 orig_dstx = dstx; in do_blit_copypixels()
155 &dstx, &dsty, &width, &height)) in do_blit_copypixels()
158 srcx += dstx - orig_dstx; in do_blit_copypixels()
169 dstx += srcx - orig_srcx; in do_blit_copypixels()
176 dstx, dsty, _mesa_is_winsys_fbo(fb), in do_blit_copypixels()
Dintel_pixel_bitmap.c175 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()
Dintel_tex_copy.c51 GLint dstx, GLint dsty, GLint slice, in intel_copy_texsubimage() argument
72 dstx, dsty, false, in intel_copy_texsubimage()
/external/mesa3d/src/mesa/drivers/dri/i965/
Dintel_pixel_copy.c51 GLint dstx, GLint dsty, GLenum type) in do_blit_copypixels() argument
153 orig_dstx = dstx; in do_blit_copypixels()
157 &dstx, &dsty, &width, &height)) in do_blit_copypixels()
160 srcx += dstx - orig_dstx; in do_blit_copypixels()
171 dstx += srcx - orig_srcx; in do_blit_copypixels()
178 dstx, dsty, _mesa_is_winsys_fbo(fb), in do_blit_copypixels()
Dintel_pixel_bitmap.c172 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()
Dintel_tex_copy.c49 GLint dstx, GLint dsty, GLint slice, in intel_copy_texsubimage() argument
90 dstx, dsty, false, in intel_copy_texsubimage()
/external/mesa3d/src/gallium/drivers/radeonsi/
Dcik_sdma.c141 unsigned dstx, unsigned dsty, unsigned dstz, in cik_sdma_copy_texture() argument
194 if (!si_prepare_for_dma_blit(&sctx->b, rdst, dst_level, dstx, dsty, in cik_sdma_copy_texture()
198 dstx /= rdst->surface.blk_w; in cik_sdma_copy_texture()
204 dstx >= (1 << 14) || in cik_sdma_copy_texture()
247 radeon_emit(cs, dstx | (dsty << 16)); in cik_sdma_copy_texture()
266 unsigned tiled_x = tiled == rsrc ? srcx : dstx; in cik_sdma_copy_texture()
267 unsigned linear_x = linear == rsrc ? srcx : dstx; in cik_sdma_copy_texture()
433 dstx % 8 == 0 && in cik_sdma_copy_texture()
459 dstx + copy_width == dst_width) in cik_sdma_copy_texture()
489 dstx + copy_width != (1 << 14)))) { in cik_sdma_copy_texture()
[all …]
Dsi_test_dma.c306 int srcx, srcy, srcz, dstx, dsty, dstz; in si_test_dma() local
317 srcx = srcy = srcz = dstx = dsty = dstz = 0; in si_test_dma()
336 dstx = rand() % (tdst.width0 - width + 1) & ~0x7; in si_test_dma()
348 dstx = rand() % (tdst.width0 - width + 1); in si_test_dma()
364 sctx->b.dma_copy(ctx, dst, 0, dstx, dsty, dstz, src, 0, &box); in si_test_dma()
373 dstx, dsty, dstz, width, height, depth, in si_test_dma()
/external/mesa3d/src/gallium/drivers/r600/
Dr600_blit.c538 unsigned dstx, unsigned dsty, in r600_clear_render_target() argument
547 dstx, dsty, width, height); in r600_clear_render_target()
556 unsigned dstx, unsigned dsty, in r600_clear_depth_stencil() argument
565 dstx, dsty, width, height); in r600_clear_depth_stencil()
569 static void r600_copy_buffer(struct pipe_context *ctx, struct pipe_resource *dst, unsigned dstx, in r600_copy_buffer() argument
575 r600_cp_dma_copy_buffer(rctx, dst, dstx, src, src_box->x, src_box->width); in r600_copy_buffer()
579 dstx % 4 == 0 && src_box->x % 4 == 0 && src_box->width % 4 == 0) { in r600_copy_buffer()
582 util_blitter_copy_buffer(rctx->blitter, dst, dstx, src, src_box->x, src_box->width); in r600_copy_buffer()
585 util_resource_copy_region(ctx, dst, 0, dstx, 0, 0, src, 0, src_box); in r600_copy_buffer()
597 dstx, struct pipe_resource *src, in r600_copy_global_buffer() argument
[all …]
Dr600_test_dma.c306 int srcx, srcy, srcz, dstx, dsty, dstz; in r600_test_dma() local
317 srcx = srcy = srcz = dstx = dsty = dstz = 0; in r600_test_dma()
336 dstx = rand() % (tdst.width0 - width + 1) & ~0x7; in r600_test_dma()
348 dstx = rand() % (tdst.width0 - width + 1); in r600_test_dma()
364 rctx->dma_copy(ctx, dst, 0, dstx, dsty, dstz, src, 0, &box); in r600_test_dma()
373 dstx, dsty, dstz, width, height, depth, in r600_test_dma()
/external/mesa3d/src/gallium/drivers/llvmpipe/
Dlp_surface.c41 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/
Dsp_surface.c99 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/radeon/
Dradeon_tex_copy.c43 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/r200/
Dradeon_tex_copy.c43 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/auxiliary/util/
Du_surface.c421 unsigned dstx, unsigned dsty, unsigned dstz, in util_clear_color_texture() argument
431 dstx, dsty, dstz, in util_clear_color_texture()
460 unsigned dstx, unsigned dsty, in util_clear_render_target() argument
477 dx = (dst->u.buf.first_element + dstx) * pixstride; in util_clear_render_target()
494 dst->u.tex.level, dstx, dsty, in util_clear_render_target()
505 unsigned dstx, unsigned dsty, unsigned dstz, in util_clear_depth_stencil_texture() argument
525 dstx, dsty, dstz, in util_clear_depth_stencil_texture()
689 unsigned dstx, unsigned dsty, in util_clear_depth_stencil() argument
703 dstx, dsty, dst->u.tex.first_layer, in util_clear_depth_stencil()
Du_blitter.h230 unsigned dstx, unsigned dsty, unsigned dstz,
297 unsigned dstx,
331 unsigned dstx, unsigned dsty,
350 unsigned dstx, unsigned dsty,
Du_surface.h96 unsigned dstx, unsigned dsty,
105 unsigned dstx, unsigned dsty,
/external/virglrenderer/src/gallium/auxiliary/util/
Du_surface.h89 unsigned dstx, unsigned dsty,
98 unsigned dstx, unsigned dsty,
/external/mesa3d/src/gallium/drivers/svga/
Dsvga_pipe_blit.c133 unsigned dstx, unsigned dsty, unsigned dstz, in copy_region_fallback() argument
140 util_resource_copy_region(&svga->pipe, dst_tex, dst_level, dstx, in copy_region_fallback()
717 unsigned dstx, unsigned dsty, unsigned dstz, in svga_resource_copy_region() argument
740 src_box->x, dstx, src_box->width); in svga_resource_copy_region()
744 src_box->x, dstx, src_box->width); in svga_resource_copy_region()
752 copy_region_fallback(svga, dst_tex, dst_level, dstx, in svga_resource_copy_region()
758 build_blit_info(dst_tex, dst_level, dstx, dsty, dstz, in svga_resource_copy_region()
776 copy_region_fallback(svga, dst_tex, dst_level, dstx, dsty, dstz, in svga_resource_copy_region()
/external/mesa3d/src/gallium/drivers/r300/
Dr300_blit.c432 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()
/external/virglrenderer/src/gallium/include/pipe/
Dp_context.h283 unsigned dstx, unsigned dsty, unsigned dstz,
318 unsigned dstx, unsigned dsty,
332 unsigned dstx, unsigned dsty,

1234