Home
last modified time | relevance | path

Searched refs:dst_map (Results 1 – 10 of 10) sorted by relevance

/external/mesa3d/src/gallium/auxiliary/util/
Du_surface.c205 uint8_t *dst_map; in util_resource_copy_region() local
295 dst_map = pipe->transfer_map(pipe, in util_resource_copy_region()
301 assert(dst_map); in util_resource_copy_region()
302 if (!dst_map) { in util_resource_copy_region()
309 memcpy(dst_map, src_map, src_box.width); in util_resource_copy_region()
311 util_copy_box(dst_map, in util_resource_copy_region()
330 ubyte *dst_map, in util_clear_color_texture_helper() argument
341 util_fill_box(dst_map, format, in util_clear_color_texture_helper()
356 ubyte *dst_map; in util_clear_color_texture() local
358 dst_map = pipe_transfer_map_3d(pipe, in util_clear_color_texture()
[all …]
Du_prim_restart.c62 void *src_map, void *dst_map, in util_translate_prim_restart_data() argument
67 uint16_t *dst = (uint16_t *) dst_map; in util_translate_prim_restart_data()
75 uint16_t *dst = (uint16_t *) dst_map; in util_translate_prim_restart_data()
83 uint32_t *dst = (uint32_t *) dst_map; in util_translate_prim_restart_data()
106 void *src_map = NULL, *dst_map = NULL; in util_translate_prim_restart_ib() local
131 dst_map = pipe_buffer_map(context, *dst_buffer, in util_translate_prim_restart_ib()
133 if (!dst_map) in util_translate_prim_restart_ib()
148 util_translate_prim_restart_data(src_index_size, src_map, dst_map, in util_translate_prim_restart_ib()
Du_prim_restart.h46 void *src_map, void *dst_map,
/external/mesa3d/src/gallium/drivers/llvmpipe/
Dlp_surface.c63 uint8_t *dst_map = llvmpipe_transfer_map_ms(pipe, in lp_resource_copy_ms() local
67 if (!dst_map) { in lp_resource_copy_ms()
72 util_copy_box(dst_map, in lp_resource_copy_ms()
262 ubyte *dst_map, in lp_clear_color_texture_helper() argument
273 util_fill_box(dst_map, format, in lp_clear_color_texture_helper()
287 ubyte *dst_map; in lp_clear_color_texture_msaa() local
289 dst_map = llvmpipe_transfer_map_ms(pipe, texture, 0, PIPE_MAP_WRITE, in lp_clear_color_texture_msaa()
291 if (!dst_map) in lp_clear_color_texture_msaa()
295 lp_clear_color_texture_helper(dst_trans, dst_map, format, color, in lp_clear_color_texture_msaa()
340 ubyte *dst_map; in lp_clear_depth_stencil_texture_msaa() local
[all …]
/external/mesa3d/src/gallium/drivers/svga/
Dsvga_draw_elements.c80 void *dst_map = NULL; in translate_indices() local
118 dst_map = pipe_buffer_map(pipe, dst, PIPE_MAP_WRITE, &dst_transfer); in translate_indices()
119 if (!dst_map) in translate_indices()
132 out_offset, &dst, &dst_map); in translate_indices()
139 translate((const char *) src_map + offset, 0, 0, gen_nr, 0, dst_map); in translate_indices()
171 else if (dst_map) in translate_indices()
Dsvga_draw_arrays.c52 void *dst_map = NULL; in generate_indices() local
59 dst_map = pipe_buffer_map(pipe, dst, PIPE_MAP_WRITE, &transfer); in generate_indices()
60 if (!dst_map) in generate_indices()
63 generate(0, nr, dst_map); in generate_indices()
71 if (dst_map) in generate_indices()
Dsvga_state_constants.c597 void *src_map = NULL, *dst_map; in emit_constbuf() local
631 &dst_buffer, &dst_map); in emit_constbuf()
633 if (!dst_map) { in emit_constbuf()
642 memset(dst_map, 0, alloc_buf_size); in emit_constbuf()
645 memcpy(dst_map, src_map, buffer_size); in emit_constbuf()
651 memcpy((char *) dst_map + extra_buffer_offset, extra_buffer, in emit_constbuf()
/external/virglrenderer/src/gallium/auxiliary/util/
Du_surface.c255 uint8_t *dst_map; in util_resource_copy_region() local
292 dst_map = pipe->transfer_map(pipe, in util_resource_copy_region()
297 assert(dst_map); in util_resource_copy_region()
298 if (!dst_map) { in util_resource_copy_region()
305 memcpy(dst_map, src_map, src_box->width); in util_resource_copy_region()
307 util_copy_box(dst_map, in util_resource_copy_region()
/external/mesa3d/src/gallium/frontends/nine/
Dvertexdeclaration9.c479 void *dst_map; in NineVertexDeclaration9_ConvertStreamOutput() local
519 &dst_map, D3DLOCK_DISCARD); in NineVertexDeclaration9_ConvertStreamOutput()
525 translate->run(translate, 0, VertexCount, 0, 0, dst_map); in NineVertexDeclaration9_ConvertStreamOutput()
/external/mesa3d/src/broadcom/vulkan/
Dv3dv_descriptor_set.c919 void *dst_map = descriptor_bo_map(dst_set, dst_binding_layout, dst_array_index); in descriptor_bo_copy() local
922 memcpy(dst_map, src_map, descriptor_bo_size(src_binding_layout->type)); in descriptor_bo_copy()