Home
last modified time | relevance | path

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

/external/mesa3d/src/gallium/auxiliary/util/
Du_surface.c260 uint8_t *dst_map; in util_resource_copy_region() local
358 dst_map = pipe->transfer_map(pipe, in util_resource_copy_region()
364 assert(dst_map); in util_resource_copy_region()
365 if (!dst_map) { in util_resource_copy_region()
372 memcpy(dst_map, src_map, src_box.width); in util_resource_copy_region()
374 util_copy_box(dst_map, in util_resource_copy_region()
412 ubyte *dst_map; in util_clear_render_target() local
430 dst_map = pipe_transfer_map(pipe, in util_clear_render_target()
439 dst_map = pipe_transfer_map_3d(pipe, in util_clear_render_target()
447 assert(dst_map); in util_clear_render_target()
[all …]
Du_prim_restart.c49 void *src_map = NULL, *dst_map = NULL; in util_translate_prim_restart_ib() local
68 dst_map = pipe_buffer_map(context, *dst_buffer, in util_translate_prim_restart_ib()
70 if (!dst_map) in util_translate_prim_restart_ib()
84 uint16_t *dst = (uint16_t *) dst_map; in util_translate_prim_restart_ib()
92 uint16_t *dst = (uint16_t *) dst_map; in util_translate_prim_restart_ib()
100 uint32_t *dst = (uint32_t *) dst_map; in util_translate_prim_restart_ib()
/external/mesa3d/src/gallium/drivers/svga/
Dsvga_draw_elements.c77 void *dst_map = NULL; in translate_indices() local
110 dst_map = pipe_buffer_map(pipe, dst, PIPE_TRANSFER_WRITE, &dst_transfer); in translate_indices()
111 if (!dst_map) in translate_indices()
114 translate((const char *) src_map + offset, 0, 0, gen_nr, 0, dst_map); in translate_indices()
139 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_TRANSFER_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.c554 void *src_map = NULL, *dst_map; in emit_constbuf_vgpu10() local
633 &dst_buffer, &dst_map); in emit_constbuf_vgpu10()
634 if (!dst_map) { in emit_constbuf_vgpu10()
641 memcpy(dst_map, src_map, cbuf->buffer_size); in emit_constbuf_vgpu10()
647 memcpy((char *) dst_map + extra_offset, extras, extra_size); in emit_constbuf_vgpu10()
/external/mesa3d/src/gallium/state_trackers/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()