Home
last modified time | relevance | path

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

/external/mesa3d/src/gallium/auxiliary/util/
Du_surface.c260 uint8_t *dst_map; in util_resource_copy_region() local
350 dst_map = pipe->transfer_map(pipe, in util_resource_copy_region()
356 assert(dst_map); in util_resource_copy_region()
357 if (!dst_map) { in util_resource_copy_region()
364 memcpy(dst_map, src_map, src_box.width); in util_resource_copy_region()
366 util_copy_box(dst_map, in util_resource_copy_region()
385 ubyte *dst_map, in util_clear_color_texture_helper() argument
410 util_fill_box(dst_map, format, in util_clear_color_texture_helper()
425 ubyte *dst_map; in util_clear_color_texture() local
427 dst_map = pipe_transfer_map_3d(pipe, in util_clear_color_texture()
[all …]
Du_prim_restart.c47 void *src_map = NULL, *dst_map = NULL; in util_translate_prim_restart_ib() local
66 dst_map = pipe_buffer_map(context, *dst_buffer, in util_translate_prim_restart_ib()
68 if (!dst_map) in util_translate_prim_restart_ib()
82 uint16_t *dst = (uint16_t *) dst_map; in util_translate_prim_restart_ib()
90 uint16_t *dst = (uint16_t *) dst_map; in util_translate_prim_restart_ib()
98 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.c488 void *src_map = NULL, *dst_map; in emit_constbuf_vgpu10() local
567 &dst_buffer, &dst_map); in emit_constbuf_vgpu10()
568 if (!dst_map) { in emit_constbuf_vgpu10()
575 memcpy(dst_map, src_map, cbuf->buffer_size); in emit_constbuf_vgpu10()
581 memcpy((char *) dst_map + extra_offset, extras, extra_size); in emit_constbuf_vgpu10()
/external/virglrenderer/src/gallium/auxiliary/util/
Du_surface.c255 uint8_t *dst_map; in util_resource_copy_region() local
291 dst_map = pipe->transfer_map(pipe, in util_resource_copy_region()
296 assert(dst_map); in util_resource_copy_region()
297 if (!dst_map) { in util_resource_copy_region()
304 memcpy(dst_map, src_map, src_box->width); in util_resource_copy_region()
306 util_copy_box(dst_map, in util_resource_copy_region()
/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()
/external/tensorflow/tensorflow/contrib/boosted_trees/kernels/
Dtraining_ops.cc690 std::unordered_map<int32, float> dst_map; in MergeLeafWeights() local
693 dst_map.reserve(dst_vec->value_size()); in MergeLeafWeights()
695 dst_map[dst_vec->index(idx)] = dst_vec->value(idx); in MergeLeafWeights()
699 dst_map[src_vec.index(idx)] += src_vec.value(idx); in MergeLeafWeights()
704 for (const auto& entry : dst_map) { in MergeLeafWeights()