Home
last modified time | relevance | path

Searched refs:user_buffer (Results 1 – 25 of 81) sorted by relevance

1234

/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/util/
Du_index_modify.c41 if (ib->user_buffer) { in util_shorten_ubyte_elts_to_userptr()
42 in_map = ib->user_buffer; in util_shorten_ubyte_elts_to_userptr()
101 if (ib->user_buffer) { in util_rebuild_ushort_elts_to_userptr()
102 in_map = ib->user_buffer; in util_rebuild_ushort_elts_to_userptr()
160 if (ib->user_buffer) { in util_rebuild_uint_elts_to_userptr()
161 in_map = ib->user_buffer; in util_rebuild_uint_elts_to_userptr()
Du_vbuf.c283 if (vb->user_buffer) { in u_vbuf_translate_buffers()
284 map = (uint8_t*)vb->user_buffer + offset; in u_vbuf_translate_buffers()
313 assert((ib->buffer || ib->user_buffer) && ib->index_size); in u_vbuf_translate_buffers()
323 if (ib->user_buffer) { in u_vbuf_translate_buffers()
324 map = (uint8_t*)ib->user_buffer + offset; in u_vbuf_translate_buffers()
728 orig_vb->user_buffer = vb->user_buffer; in u_vbuf_set_vertex_buffers()
732 real_vb->user_buffer = NULL; in u_vbuf_set_vertex_buffers()
738 if (!vb->buffer && !vb->user_buffer) { in u_vbuf_set_vertex_buffers()
750 if (!mgr->caps.user_vertex_buffers && vb->user_buffer) { in u_vbuf_set_vertex_buffers()
757 real_vb->user_buffer = vb->user_buffer; in u_vbuf_set_vertex_buffers()
[all …]
/external/mesa3d/src/gallium/auxiliary/util/
Du_index_modify.c41 if (ib->user_buffer) { in util_shorten_ubyte_elts_to_userptr()
42 in_map = ib->user_buffer; in util_shorten_ubyte_elts_to_userptr()
101 if (ib->user_buffer) { in util_rebuild_ushort_elts_to_userptr()
102 in_map = ib->user_buffer; in util_rebuild_ushort_elts_to_userptr()
160 if (ib->user_buffer) { in util_rebuild_uint_elts_to_userptr()
161 in_map = ib->user_buffer; in util_rebuild_uint_elts_to_userptr()
Du_vbuf.c283 if (vb->user_buffer) { in u_vbuf_translate_buffers()
284 map = (uint8_t*)vb->user_buffer + offset; in u_vbuf_translate_buffers()
313 assert((ib->buffer || ib->user_buffer) && ib->index_size); in u_vbuf_translate_buffers()
323 if (ib->user_buffer) { in u_vbuf_translate_buffers()
324 map = (uint8_t*)ib->user_buffer + offset; in u_vbuf_translate_buffers()
728 orig_vb->user_buffer = vb->user_buffer; in u_vbuf_set_vertex_buffers()
732 real_vb->user_buffer = NULL; in u_vbuf_set_vertex_buffers()
738 if (!vb->buffer && !vb->user_buffer) { in u_vbuf_set_vertex_buffers()
750 if (!mgr->caps.user_vertex_buffers && vb->user_buffer) { in u_vbuf_set_vertex_buffers()
757 real_vb->user_buffer = vb->user_buffer; in u_vbuf_set_vertex_buffers()
[all …]
/external/mesa3d/src/gallium/drivers/svga/
Dsvga_pipe_constants.c54 if (cb && cb->user_buffer) { in svga_set_constant_buffer()
56 (void *) cb->user_buffer, in svga_set_constant_buffer()
72 if (cb && cb->user_buffer) { in svga_set_constant_buffer()
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/svga/
Dsvga_pipe_constants.c54 if (cb && cb->user_buffer) { in svga_set_constant_buffer()
56 (void *) cb->user_buffer, in svga_set_constant_buffer()
72 if (cb && cb->user_buffer) { in svga_set_constant_buffer()
/external/libvpx/libvpx/vp8/decoder/
Ddboolhuff.c21 br->user_buffer = source; in vp8dx_start_decode()
39 const unsigned char *bufptr = br->user_buffer; in vp8dx_bool_decoder_fill()
68 ++br->user_buffer; in vp8dx_bool_decoder_fill()
/external/chromium_org/third_party/libvpx/source/libvpx/vp8/decoder/
Ddboolhuff.c22 br->user_buffer = source; in vp8dx_start_decode()
40 const unsigned char *bufptr = br->user_buffer; in vp8dx_bool_decoder_fill()
69 ++br->user_buffer; in vp8dx_bool_decoder_fill()
/external/mesa3d/src/gallium/drivers/llvmpipe/
Dlp_draw_arrays.c70 const void *buf = lp->vertex_buffer[i].user_buffer; in llvmpipe_draw_vbo()
78 mapped_indices = lp->index_buffer.user_buffer; in llvmpipe_draw_vbo()
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/llvmpipe/
Dlp_draw_arrays.c70 const void *buf = lp->vertex_buffer[i].user_buffer; in llvmpipe_draw_vbo()
78 mapped_indices = lp->index_buffer.user_buffer; in llvmpipe_draw_vbo()
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/softpipe/
Dsp_draw_arrays.c80 const void *buf = sp->vertex_buffer[i].user_buffer; in softpipe_draw_vbo()
88 mapped_indices = sp->index_buffer.user_buffer; in softpipe_draw_vbo()
/external/mesa3d/src/gallium/drivers/softpipe/
Dsp_draw_arrays.c80 const void *buf = sp->vertex_buffer[i].user_buffer; in softpipe_draw_vbo()
88 mapped_indices = sp->index_buffer.user_buffer; in softpipe_draw_vbo()
/external/mesa3d/src/gallium/include/pipe/
Dp_state.h447 const void *user_buffer; /**< pointer to a user buffer if buffer == NULL */ member
459 const void *user_buffer; /**< pointer to a user buffer if buffer == NULL */ member
518 const void *user_buffer; /**< pointer to a user buffer if buffer == NULL */ member
/external/chromium_org/third_party/mesa/src/src/gallium/include/pipe/
Dp_state.h447 const void *user_buffer; /**< pointer to a user buffer if buffer == NULL */ member
459 const void *user_buffer; /**< pointer to a user buffer if buffer == NULL */ member
518 const void *user_buffer; /**< pointer to a user buffer if buffer == NULL */ member
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/vl/
Dvl_vertex_buffers.c59 quad.user_buffer = NULL; in vl_vb_upload_quads()
104 pos.user_buffer = NULL; in vl_vb_upload_pos()
273 buf.user_buffer = NULL; in vl_vb_get_ycbcr()
288 buf.user_buffer = NULL; in vl_vb_get_mv()
/external/mesa3d/src/gallium/auxiliary/vl/
Dvl_vertex_buffers.c59 quad.user_buffer = NULL; in vl_vb_upload_quads()
104 pos.user_buffer = NULL; in vl_vb_upload_pos()
273 buf.user_buffer = NULL; in vl_vb_get_ycbcr()
288 buf.user_buffer = NULL; in vl_vb_get_mv()
/external/mesa3d/src/mesa/state_tracker/
Dst_atom_array.c427 vbuffer->user_buffer = NULL; in setup_interleaved_attribs()
440 vbuffer->user_buffer = NULL; in setup_interleaved_attribs()
447 vbuffer->user_buffer = low_addr; in setup_interleaved_attribs()
491 vbuffer[attr].user_buffer = NULL; in setup_non_interleaved_attribs()
510 vbuffer[attr].user_buffer = ptr; in setup_non_interleaved_attribs()
Dst_atom_constbuf.c81 cb.user_buffer = NULL; in st_upload_constants()
87 cb.user_buffer = params->ParameterValues; in st_upload_constants()
Dst_draw_feedback.c172 vbuffers[attr].user_buffer = NULL; in st_feedback_draw_vbo()
185 vbuffers[attr].user_buffer = arrays[mesaAttr]->Ptr; in st_feedback_draw_vbo()
189 draw_set_mapped_vertex_buffer(draw, attr, vbuffers[attr].user_buffer); in st_feedback_draw_vbo()
/external/chromium_org/third_party/mesa/src/src/mesa/state_tracker/
Dst_atom_array.c427 vbuffer->user_buffer = NULL; in setup_interleaved_attribs()
440 vbuffer->user_buffer = NULL; in setup_interleaved_attribs()
447 vbuffer->user_buffer = low_addr; in setup_interleaved_attribs()
491 vbuffer[attr].user_buffer = NULL; in setup_non_interleaved_attribs()
510 vbuffer[attr].user_buffer = ptr; in setup_non_interleaved_attribs()
Dst_atom_constbuf.c81 cb.user_buffer = NULL; in st_upload_constants()
87 cb.user_buffer = params->ParameterValues; in st_upload_constants()
Dst_draw_feedback.c172 vbuffers[attr].user_buffer = NULL; in st_feedback_draw_vbo()
185 vbuffers[attr].user_buffer = arrays[mesaAttr]->Ptr; in st_feedback_draw_vbo()
189 draw_set_mapped_vertex_buffer(draw, attr, vbuffers[attr].user_buffer); in st_feedback_draw_vbo()
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/nv30/
Dnv30_state.c326 if (cb && cb->user_buffer) { in nv30_set_constant_buffer()
327 buf = nouveau_user_buffer_create(pipe->screen, cb->user_buffer, in nv30_set_constant_buffer()
347 if (cb && cb->user_buffer) { in nv30_set_constant_buffer()
425 nv30->idxbuf.user_buffer = ib->user_buffer; in nv30_set_index_buffer()
428 nv30->idxbuf.user_buffer = NULL; in nv30_set_index_buffer()
/external/mesa3d/src/gallium/drivers/nv30/
Dnv30_state.c326 if (cb && cb->user_buffer) { in nv30_set_constant_buffer()
327 buf = nouveau_user_buffer_create(pipe->screen, cb->user_buffer, in nv30_set_constant_buffer()
347 if (cb && cb->user_buffer) { in nv30_set_constant_buffer()
425 nv30->idxbuf.user_buffer = ib->user_buffer; in nv30_set_index_buffer()
428 nv30->idxbuf.user_buffer = NULL; in nv30_set_index_buffer()
/external/mesa3d/src/gallium/drivers/nvc0/
Dnvc0_state.c666 nvc0->constbuf[s][i].user = (cb && cb->user_buffer) ? TRUE : FALSE; in nvc0_set_constant_buffer()
668 nvc0->constbuf[s][i].u.data = cb->user_buffer; in nvc0_set_constant_buffer()
793 if (vb[i].user_buffer) { in nvc0_set_vertex_buffers()
795 nvc0->vtxbuf[i].user_buffer = vb[i].user_buffer; in nvc0_set_vertex_buffers()
810 if (vb[i].user_buffer) { in nvc0_set_vertex_buffers()
811 nvc0->vtxbuf[i].user_buffer = vb[i].user_buffer; in nvc0_set_vertex_buffers()
852 nvc0->idxbuf.user_buffer = ib->user_buffer; in nvc0_set_index_buffer()

1234