Home
last modified time | relevance | path

Searched refs:src_map (Results 1 – 7 of 7) sorted by relevance

/external/mesa3d/src/gallium/auxiliary/util/
Du_prim_restart.c47 void *src_map = NULL, *dst_map = NULL; in util_translate_prim_restart_ib() local
72 src_map = pipe_buffer_map_range(context, info->index.resource, in util_translate_prim_restart_ib()
77 if (!src_map) in util_translate_prim_restart_ib()
81 uint8_t *src = (uint8_t *) src_map; in util_translate_prim_restart_ib()
89 uint16_t *src = (uint16_t *) src_map; in util_translate_prim_restart_ib()
97 uint32_t *src = (uint32_t *) src_map; in util_translate_prim_restart_ib()
180 const void *src_map; in util_draw_vbo_without_prim_restart() local
192 src_map = pipe_buffer_map_range(context, info->index.resource, in util_draw_vbo_without_prim_restart()
197 if (!src_map) { in util_draw_vbo_without_prim_restart()
206 src_map = (const uint8_t *) info->index.user in util_draw_vbo_without_prim_restart()
[all …]
Du_surface.c261 const uint8_t *src_map; in util_resource_copy_region() local
340 src_map = pipe->transfer_map(pipe, in util_resource_copy_region()
345 assert(src_map); in util_resource_copy_region()
346 if (!src_map) { in util_resource_copy_region()
364 memcpy(dst_map, src_map, src_box.width); in util_resource_copy_region()
371 src_map, in util_resource_copy_region()
/external/gemmlowp/internal/
Dunpack.h143 const auto src_map = src.Map(); in UnpackResult() local
174 PrefetchResultBlock<8, 8>(src_map, lhs_sums_of_each_slice, 0, c8); in UnpackResult()
178 PrefetchResultBlock<8, 8>(src_map, lhs_sums_of_each_slice, r + 8, c8); in UnpackResult()
186 src_map, output_pipeline_executor_8x4, &dst_colmajor_map, in UnpackResult()
199 src_map, output_pipeline_executor_4x4, dst, in UnpackResult()
211 src_map, output_pipeline_executor_1x4, dst, in UnpackResult()
222 PrefetchResultBlock<8, 4>(src_map, lhs_sums_of_each_slice, 0, c); in UnpackResult()
226 PrefetchResultBlock<8, 4>(src_map, lhs_sums_of_each_slice, r + 8, c); in UnpackResult()
228 src_map, output_pipeline_executor_8x4, dst, lhs_sums_of_each_slice, in UnpackResult()
235 src_map, output_pipeline_executor_4x4, dst, lhs_sums_of_each_slice, in UnpackResult()
[all …]
Dpack.h306 const SrcMapType& src_map) in PackSideBlockImpl() argument
307 : packed_side_block_(packed_side_block), src_map_(src_map) {} in PackSideBlockImpl()
311 const SrcMapType& src_map() const { return src_map_; } in src_map() function
/external/mesa3d/src/gallium/drivers/svga/
Dsvga_draw_elements.c75 const void *src_map = NULL; in translate_indices() local
106 src_map = pipe_buffer_map(pipe, src, PIPE_TRANSFER_READ, &src_transfer); in translate_indices()
107 if (!src_map) in translate_indices()
114 translate((const char *) src_map + offset, 0, 0, gen_nr, 0, dst_map); in translate_indices()
136 if (src_map) in translate_indices()
Dsvga_state_constants.c488 void *src_map = NULL, *dst_map; in emit_constbuf_vgpu10() local
534 src_map = pipe_buffer_map_range(&svga->pipe, cbuf->buffer, in emit_constbuf_vgpu10()
537 assert(src_map); in emit_constbuf_vgpu10()
538 if (!src_map) { in emit_constbuf_vgpu10()
569 if (src_map) in emit_constbuf_vgpu10()
574 if (src_map) { in emit_constbuf_vgpu10()
575 memcpy(dst_map, src_map, cbuf->buffer_size); in emit_constbuf_vgpu10()
/external/virglrenderer/src/gallium/auxiliary/util/
Du_surface.c256 const uint8_t *src_map; in util_resource_copy_region() local
274 src_map = pipe->transfer_map(pipe, in util_resource_copy_region()
279 assert(src_map); in util_resource_copy_region()
280 if (!src_map) { in util_resource_copy_region()
304 memcpy(dst_map, src_map, src_box->width); in util_resource_copy_region()
311 src_map, in util_resource_copy_region()