Home
last modified time | relevance | path

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

12

/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 …]
Du_draw_quad.c84 vbuffer.user_buffer = buffer; in util_draw_user_vertex_buffer()
/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/libvpx/libvpx/vp8/decoder/
Ddboolhuff.c23 br->user_buffer = source; in vp8dx_start_decode()
41 const unsigned char *bufptr = br->user_buffer; in vp8dx_bool_decoder_fill()
70 ++br->user_buffer; in vp8dx_bool_decoder_fill()
Ddboolhuff.h39 const unsigned char *user_buffer; member
/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/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()
Dsp_state_shader.c346 if (cb && cb->user_buffer) { in softpipe_set_constant_buffer()
348 (void *) cb->user_buffer, in softpipe_set_constant_buffer()
372 if (cb && cb->user_buffer) { in softpipe_set_constant_buffer()
/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/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/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/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/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()
Dnvc0_vbo.c174 const void *src = (const uint8_t *)vb->user_buffer + ve->src_offset; in nvc0_set_constant_vertex_attrib()
252 address[b] = nouveau_scratch_data(&nvc0->base, vb->user_buffer, in nvc0_update_user_vbufs()
285 address = nouveau_scratch_data(&nvc0->base, nvc0->vtxbuf[b].user_buffer, in nvc0_update_user_vbufs_shared()
719 const void *data = nvc0->idxbuf.user_buffer; in nvc0_draw_elements()
/external/mesa3d/src/gallium/drivers/nv50/
Dnv50_state.c768 nv50->constbuf[s][i].user = (cb && cb->user_buffer) ? TRUE : FALSE; in nv50_set_constant_buffer()
770 nv50->constbuf[s][i].u.data = cb->user_buffer; in nv50_set_constant_buffer()
897 if (!vb[i].buffer && vb[i].user_buffer) { in nv50_set_vertex_buffers()
898 nv50->vtxbuf[i].user_buffer = vb[i].user_buffer; in nv50_set_vertex_buffers()
932 nv50->idxbuf.user_buffer = ib->user_buffer; in nv50_set_index_buffer()
Dnv50_vbo.c139 const void *data = (const uint8_t *)vb->user_buffer + ve->src_offset; in nv50_emit_vtxattr()
143 assert(vb->user_buffer); in nv50_emit_vtxattr()
213 addrs[b] = nouveau_scratch_data(&nv50->base, vb->user_buffer, base, size, in nv50_upload_user_buffers()
249 address[b] = nouveau_scratch_data(&nv50->base, vb->user_buffer, in nv50_update_user_vbufs()
630 const void *data = nv50->idxbuf.user_buffer; in nv50_draw_elements()
Dnv50_push.c230 data = vb->user_buffer; in nv50_push_vbo()
244 ctx.idxbuf = nv50->idxbuf.user_buffer; in nv50_push_vbo()
/external/mesa3d/src/gallium/drivers/r300/
Dr300_render.c532 ptr1 = (uint8_t*)r300->index_buffer.user_buffer; in r300_draw_elements_immediate()
556 ptr2 = (uint16_t*)r300->index_buffer.user_buffer; in r300_draw_elements_immediate()
575 ptr4 = (uint32_t*)r300->index_buffer.user_buffer; in r300_draw_elements_immediate()
635 if (r300->index_buffer.user_buffer) in r300_draw_elements()
638 r300->index_buffer.user_buffer); in r300_draw_elements()
827 r300->index_buffer.user_buffer) { in r300_draw_vbo()
/external/mesa3d/src/gallium/state_trackers/vega/
Dpolygon.c290 vbuffer.user_buffer = poly->user_vbuf; in polygon_fill()
340 vbuffer.user_buffer = poly->user_vbuf; in polygon_array_fill()
/external/mesa3d/src/gallium/drivers/i915/
Di915_context.c71 mapped_indices = i915->index_buffer.user_buffer; in i915_draw_vbo()
Di915_state.c681 if (cb && cb->user_buffer) { in i915_set_constant_buffer()
682 buf = i915_user_buffer_create(pipe->screen, (void *) cb->user_buffer, in i915_set_constant_buffer()
718 if (cb && cb->user_buffer) { in i915_set_constant_buffer()
998 const void *buf = buffers[i].user_buffer; in i915_set_vertex_buffers()
/external/mesa3d/src/gallium/drivers/radeonsi/
Dr600_buffer.c185 ib->user_buffer, &ib->offset, &ib->buffer); in r600_upload_index_buffer()

12