/external/chromium_org/third_party/mesa/src/src/gallium/drivers/nvc0/ |
D | nvc0_state.c | 792 pipe_resource_reference(&nvc0->vtxbuf[i].buffer, vb[i].buffer); in nvc0_set_vertex_buffers() 795 nvc0->vtxbuf[i].user_buffer = vb[i].user_buffer; in nvc0_set_vertex_buffers() 799 nvc0->vtxbuf[i].buffer_offset = vb[i].buffer_offset; in nvc0_set_vertex_buffers() 801 nvc0->vtxbuf[i].stride = vb[i].stride; in nvc0_set_vertex_buffers() 804 pipe_resource_reference(&nvc0->vtxbuf[i].buffer, NULL); in nvc0_set_vertex_buffers() 811 nvc0->vtxbuf[i].user_buffer = vb[i].user_buffer; in nvc0_set_vertex_buffers() 817 if (nvc0->vtxbuf[i].buffer == vb[i].buffer && in nvc0_set_vertex_buffers() 818 nvc0->vtxbuf[i].buffer_offset == vb[i].buffer_offset && in nvc0_set_vertex_buffers() 819 nvc0->vtxbuf[i].stride == vb[i].stride) in nvc0_set_vertex_buffers() 821 pipe_resource_reference(&nvc0->vtxbuf[i].buffer, vb[i].buffer); in nvc0_set_vertex_buffers() [all …]
|
D | nvc0_vbo.c | 170 struct pipe_vertex_buffer *vb = &nvc0->vtxbuf[ve->vertex_buffer_index]; in nvc0_set_constant_vertex_attrib() 204 *base = nvc0->instance_off * nvc0->vtxbuf[vbi].stride; in nvc0_user_vbuf_range() 205 *size = (nvc0->instance_max / div) * nvc0->vtxbuf[vbi].stride + in nvc0_user_vbuf_range() 210 *base = nvc0->vb_elt_first * nvc0->vtxbuf[vbi].stride; in nvc0_user_vbuf_range() 211 *size = nvc0->vb_elt_limit * nvc0->vtxbuf[vbi].stride + in nvc0_user_vbuf_range() 237 struct pipe_vertex_buffer *vb = &nvc0->vtxbuf[b]; in nvc0_update_user_vbufs() 285 address = nouveau_scratch_data(&nvc0->base, nvc0->vtxbuf[b].user_buffer, in nvc0_update_user_vbufs_shared() 326 vb = &nvc0->vtxbuf[b]; in nvc0_validate_vertex_buffers() 378 struct pipe_vertex_buffer *vb = &nvc0->vtxbuf[b]; in nvc0_validate_vertex_buffers_shared()
|
D | nvc0_push.c | 310 struct pipe_vertex_buffer *vb = &nvc0->vtxbuf[i]; in nvc0_push_vbo() 408 nouveau_resource_unmap(nv04_resource(nvc0->vtxbuf[i].buffer)); in nvc0_push_vbo()
|
D | nvc0_vbo_translate.c | 66 const struct pipe_vertex_buffer *vb = &nvc0->vtxbuf[i]; in nvc0_vertex_configure_translate() 99 struct pipe_vertex_buffer *vb = &nvc0->vtxbuf[ve->vertex_buffer_index]; in nvc0_push_map_edgeflag() 537 nouveau_resource_unmap(nv04_resource(nvc0->vtxbuf[i].buffer)); in nvc0_push_vbo()
|
/external/mesa3d/src/gallium/drivers/nvc0/ |
D | nvc0_state.c | 792 pipe_resource_reference(&nvc0->vtxbuf[i].buffer, vb[i].buffer); in nvc0_set_vertex_buffers() 795 nvc0->vtxbuf[i].user_buffer = vb[i].user_buffer; in nvc0_set_vertex_buffers() 799 nvc0->vtxbuf[i].buffer_offset = vb[i].buffer_offset; in nvc0_set_vertex_buffers() 801 nvc0->vtxbuf[i].stride = vb[i].stride; in nvc0_set_vertex_buffers() 804 pipe_resource_reference(&nvc0->vtxbuf[i].buffer, NULL); in nvc0_set_vertex_buffers() 811 nvc0->vtxbuf[i].user_buffer = vb[i].user_buffer; in nvc0_set_vertex_buffers() 817 if (nvc0->vtxbuf[i].buffer == vb[i].buffer && in nvc0_set_vertex_buffers() 818 nvc0->vtxbuf[i].buffer_offset == vb[i].buffer_offset && in nvc0_set_vertex_buffers() 819 nvc0->vtxbuf[i].stride == vb[i].stride) in nvc0_set_vertex_buffers() 821 pipe_resource_reference(&nvc0->vtxbuf[i].buffer, vb[i].buffer); in nvc0_set_vertex_buffers() [all …]
|
D | nvc0_vbo.c | 170 struct pipe_vertex_buffer *vb = &nvc0->vtxbuf[ve->vertex_buffer_index]; in nvc0_set_constant_vertex_attrib() 204 *base = nvc0->instance_off * nvc0->vtxbuf[vbi].stride; in nvc0_user_vbuf_range() 205 *size = (nvc0->instance_max / div) * nvc0->vtxbuf[vbi].stride + in nvc0_user_vbuf_range() 210 *base = nvc0->vb_elt_first * nvc0->vtxbuf[vbi].stride; in nvc0_user_vbuf_range() 211 *size = nvc0->vb_elt_limit * nvc0->vtxbuf[vbi].stride + in nvc0_user_vbuf_range() 237 struct pipe_vertex_buffer *vb = &nvc0->vtxbuf[b]; in nvc0_update_user_vbufs() 285 address = nouveau_scratch_data(&nvc0->base, nvc0->vtxbuf[b].user_buffer, in nvc0_update_user_vbufs_shared() 326 vb = &nvc0->vtxbuf[b]; in nvc0_validate_vertex_buffers() 378 struct pipe_vertex_buffer *vb = &nvc0->vtxbuf[b]; in nvc0_validate_vertex_buffers_shared()
|
D | nvc0_push.c | 310 struct pipe_vertex_buffer *vb = &nvc0->vtxbuf[i]; in nvc0_push_vbo() 408 nouveau_resource_unmap(nv04_resource(nvc0->vtxbuf[i].buffer)); in nvc0_push_vbo()
|
D | nvc0_vbo_translate.c | 66 const struct pipe_vertex_buffer *vb = &nvc0->vtxbuf[i]; in nvc0_vertex_configure_translate() 99 struct pipe_vertex_buffer *vb = &nvc0->vtxbuf[ve->vertex_buffer_index]; in nvc0_push_map_edgeflag() 537 nouveau_resource_unmap(nv04_resource(nvc0->vtxbuf[i].buffer)); in nvc0_push_vbo()
|
D | nvc0_context.h | 127 struct pipe_vertex_buffer vtxbuf[PIPE_MAX_ATTRIBS]; member
|
/external/mesa3d/src/gallium/drivers/nv30/ |
D | nv30_vbo.c | 85 *base = nv30->vbo_min_index * nv30->vtxbuf[vbi].stride; in nv30_vbuf_range() 87 nv30->vbo_min_index + 1) * nv30->vtxbuf[vbi].stride; in nv30_vbuf_range() 101 vb = &nv30->vtxbuf[i]; in nv30_prevalidate_vbufs() 137 struct pipe_vertex_buffer *vb = &nv30->vtxbuf[b]; in nv30_update_user_vbufs() 173 nouveau_buffer_release_gpu_storage(nv04_resource(nv30->vtxbuf[i].buffer)); in nv30_release_user_vbufs() 207 vb = &nv30->vtxbuf[ve->vertex_buffer_index]; in nv30_vbo_validate() 225 vb = &nv30->vtxbuf[ve->vertex_buffer_index]; in nv30_vbo_validate()
|
D | nv30_push.c | 211 struct pipe_vertex_buffer *vb = &nv30->vtxbuf[i]; in nv30_push_vbo() 280 nouveau_resource_unmap(nv04_resource(nv30->vtxbuf[i].buffer)); in nv30_push_vbo()
|
D | nv30_state.c | 405 pipe_resource_reference(&nv30->vtxbuf[i].buffer, vb[i].buffer); in nv30_set_vertex_buffers() 407 pipe_resource_reference(&nv30->vtxbuf[i].buffer, NULL); in nv30_set_vertex_buffers() 409 memcpy(nv30->vtxbuf, vb, sizeof(*vb) * count); in nv30_set_vertex_buffers()
|
D | nv30_draw.c | 382 draw_set_vertex_buffers(draw, nv30->num_vtxbufs, nv30->vtxbuf); in nv30_render_vbo() 406 const void *map = nv30->vtxbuf[i].user_buffer; in nv30_render_vbo() 408 map = pipe_buffer_map(pipe, nv30->vtxbuf[i].buffer, in nv30_render_vbo()
|
D | nv30_context.h | 108 struct pipe_vertex_buffer vtxbuf[PIPE_MAX_ATTRIBS]; member
|
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/nv30/ |
D | nv30_vbo.c | 85 *base = nv30->vbo_min_index * nv30->vtxbuf[vbi].stride; in nv30_vbuf_range() 87 nv30->vbo_min_index + 1) * nv30->vtxbuf[vbi].stride; in nv30_vbuf_range() 101 vb = &nv30->vtxbuf[i]; in nv30_prevalidate_vbufs() 137 struct pipe_vertex_buffer *vb = &nv30->vtxbuf[b]; in nv30_update_user_vbufs() 173 nouveau_buffer_release_gpu_storage(nv04_resource(nv30->vtxbuf[i].buffer)); in nv30_release_user_vbufs() 207 vb = &nv30->vtxbuf[ve->vertex_buffer_index]; in nv30_vbo_validate() 225 vb = &nv30->vtxbuf[ve->vertex_buffer_index]; in nv30_vbo_validate()
|
D | nv30_push.c | 211 struct pipe_vertex_buffer *vb = &nv30->vtxbuf[i]; in nv30_push_vbo() 280 nouveau_resource_unmap(nv04_resource(nv30->vtxbuf[i].buffer)); in nv30_push_vbo()
|
D | nv30_state.c | 405 pipe_resource_reference(&nv30->vtxbuf[i].buffer, vb[i].buffer); in nv30_set_vertex_buffers() 407 pipe_resource_reference(&nv30->vtxbuf[i].buffer, NULL); in nv30_set_vertex_buffers() 409 memcpy(nv30->vtxbuf, vb, sizeof(*vb) * count); in nv30_set_vertex_buffers()
|
D | nv30_draw.c | 382 draw_set_vertex_buffers(draw, nv30->num_vtxbufs, nv30->vtxbuf); in nv30_render_vbo() 406 const void *map = nv30->vtxbuf[i].user_buffer; in nv30_render_vbo() 408 map = pipe_buffer_map(pipe, nv30->vtxbuf[i].buffer, in nv30_render_vbo()
|
D | nv30_context.h | 108 struct pipe_vertex_buffer vtxbuf[PIPE_MAX_ATTRIBS]; member
|
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/nv50/ |
D | nv50_vbo.c | 187 *size = nv50->vtxbuf[vbi].buffer->width0; in nv50_user_vbuf_range() 191 *base = nv50->vb_elt_first * nv50->vtxbuf[vbi].stride; in nv50_user_vbuf_range() 192 *size = nv50->vb_elt_limit * nv50->vtxbuf[vbi].stride + in nv50_user_vbuf_range() 205 const struct pipe_vertex_buffer *vb = &nv50->vtxbuf[b]; in nv50_upload_user_buffers() 233 struct pipe_vertex_buffer *vb = &nv50->vtxbuf[b]; in nv50_update_user_vbufs() 299 struct nv04_resource *buf = nv04_resource(nv50->vtxbuf[i].buffer); in nv50_vertex_arrays_validate() 325 vb = &nv50->vtxbuf[b]; in nv50_vertex_arrays_validate() 353 vb = &nv50->vtxbuf[b]; in nv50_vertex_arrays_validate()
|
D | nv50_state.c | 895 nv50->vtxbuf[i].stride = vb[i].stride; in nv50_set_vertex_buffers() 896 pipe_resource_reference(&nv50->vtxbuf[i].buffer, vb[i].buffer); in nv50_set_vertex_buffers() 898 nv50->vtxbuf[i].user_buffer = vb[i].user_buffer; in nv50_set_vertex_buffers() 903 nv50->vtxbuf[i].buffer_offset = vb[i].buffer_offset; in nv50_set_vertex_buffers() 907 pipe_resource_reference(&nv50->vtxbuf[i].buffer, NULL); in nv50_set_vertex_buffers()
|
D | nv50_context.h | 122 struct pipe_vertex_buffer vtxbuf[PIPE_MAX_ATTRIBS]; member
|
/external/mesa3d/src/gallium/drivers/nv50/ |
D | nv50_vbo.c | 187 *size = nv50->vtxbuf[vbi].buffer->width0; in nv50_user_vbuf_range() 191 *base = nv50->vb_elt_first * nv50->vtxbuf[vbi].stride; in nv50_user_vbuf_range() 192 *size = nv50->vb_elt_limit * nv50->vtxbuf[vbi].stride + in nv50_user_vbuf_range() 205 const struct pipe_vertex_buffer *vb = &nv50->vtxbuf[b]; in nv50_upload_user_buffers() 233 struct pipe_vertex_buffer *vb = &nv50->vtxbuf[b]; in nv50_update_user_vbufs() 299 struct nv04_resource *buf = nv04_resource(nv50->vtxbuf[i].buffer); in nv50_vertex_arrays_validate() 325 vb = &nv50->vtxbuf[b]; in nv50_vertex_arrays_validate() 353 vb = &nv50->vtxbuf[b]; in nv50_vertex_arrays_validate()
|
D | nv50_state.c | 895 nv50->vtxbuf[i].stride = vb[i].stride; in nv50_set_vertex_buffers() 896 pipe_resource_reference(&nv50->vtxbuf[i].buffer, vb[i].buffer); in nv50_set_vertex_buffers() 898 nv50->vtxbuf[i].user_buffer = vb[i].user_buffer; in nv50_set_vertex_buffers() 903 nv50->vtxbuf[i].buffer_offset = vb[i].buffer_offset; in nv50_set_vertex_buffers() 907 pipe_resource_reference(&nv50->vtxbuf[i].buffer, NULL); in nv50_set_vertex_buffers()
|
D | nv50_context.h | 122 struct pipe_vertex_buffer vtxbuf[PIPE_MAX_ATTRIBS]; member
|