Searched refs:vtxbuf (Results 1 - 25 of 32) sorted by relevance

12

/external/chromium_org/third_party/mesa/src/src/gallium/drivers/nv30/
H A Dnv30_vbo.c85 *base = nv30->vbo_min_index * nv30->vtxbuf[vbi].stride;
87 nv30->vbo_min_index + 1) * nv30->vtxbuf[vbi].stride;
101 vb = &nv30->vtxbuf[i];
137 struct pipe_vertex_buffer *vb = &nv30->vtxbuf[b];
173 nouveau_buffer_release_gpu_storage(nv04_resource(nv30->vtxbuf[i].buffer));
207 vb = &nv30->vtxbuf[ve->vertex_buffer_index];
225 vb = &nv30->vtxbuf[ve->vertex_buffer_index];
H A Dnv30_context.h108 struct pipe_vertex_buffer vtxbuf[PIPE_MAX_ATTRIBS]; member in struct:nv30_context
H A Dnv30_push.c211 struct pipe_vertex_buffer *vb = &nv30->vtxbuf[i];
280 nouveau_resource_unmap(nv04_resource(nv30->vtxbuf[i].buffer));
H A Dnv30_draw.c382 draw_set_vertex_buffers(draw, nv30->num_vtxbufs, nv30->vtxbuf);
406 const void *map = nv30->vtxbuf[i].user_buffer;
408 map = pipe_buffer_map(pipe, nv30->vtxbuf[i].buffer,
H A Dnv30_state.c405 pipe_resource_reference(&nv30->vtxbuf[i].buffer, vb[i].buffer);
407 pipe_resource_reference(&nv30->vtxbuf[i].buffer, NULL);
409 memcpy(nv30->vtxbuf, vb, sizeof(*vb) * count);
/external/mesa3d/src/gallium/drivers/nv30/
H A Dnv30_vbo.c85 *base = nv30->vbo_min_index * nv30->vtxbuf[vbi].stride;
87 nv30->vbo_min_index + 1) * nv30->vtxbuf[vbi].stride;
101 vb = &nv30->vtxbuf[i];
137 struct pipe_vertex_buffer *vb = &nv30->vtxbuf[b];
173 nouveau_buffer_release_gpu_storage(nv04_resource(nv30->vtxbuf[i].buffer));
207 vb = &nv30->vtxbuf[ve->vertex_buffer_index];
225 vb = &nv30->vtxbuf[ve->vertex_buffer_index];
H A Dnv30_context.h108 struct pipe_vertex_buffer vtxbuf[PIPE_MAX_ATTRIBS]; member in struct:nv30_context
H A Dnv30_push.c211 struct pipe_vertex_buffer *vb = &nv30->vtxbuf[i];
280 nouveau_resource_unmap(nv04_resource(nv30->vtxbuf[i].buffer));
H A Dnv30_draw.c382 draw_set_vertex_buffers(draw, nv30->num_vtxbufs, nv30->vtxbuf);
406 const void *map = nv30->vtxbuf[i].user_buffer;
408 map = pipe_buffer_map(pipe, nv30->vtxbuf[i].buffer,
H A Dnv30_state.c405 pipe_resource_reference(&nv30->vtxbuf[i].buffer, vb[i].buffer);
407 pipe_resource_reference(&nv30->vtxbuf[i].buffer, NULL);
409 memcpy(nv30->vtxbuf, vb, sizeof(*vb) * count);
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/nvc0/
H A Dnvc0_state.c792 pipe_resource_reference(&nvc0->vtxbuf[i].buffer, vb[i].buffer);
795 nvc0->vtxbuf[i].user_buffer = vb[i].user_buffer;
799 nvc0->vtxbuf[i].buffer_offset = vb[i].buffer_offset;
801 nvc0->vtxbuf[i].stride = vb[i].stride;
804 pipe_resource_reference(&nvc0->vtxbuf[i].buffer, NULL);
811 nvc0->vtxbuf[i].user_buffer = vb[i].user_buffer;
817 if (nvc0->vtxbuf[i].buffer == vb[i].buffer &&
818 nvc0->vtxbuf[i].buffer_offset == vb[i].buffer_offset &&
819 nvc0->vtxbuf[i].stride == vb[i].stride)
821 pipe_resource_reference(&nvc0->vtxbuf[
[all...]
H A Dnvc0_vbo.c170 struct pipe_vertex_buffer *vb = &nvc0->vtxbuf[ve->vertex_buffer_index];
204 *base = nvc0->instance_off * nvc0->vtxbuf[vbi].stride;
205 *size = (nvc0->instance_max / div) * nvc0->vtxbuf[vbi].stride +
210 *base = nvc0->vb_elt_first * nvc0->vtxbuf[vbi].stride;
211 *size = nvc0->vb_elt_limit * nvc0->vtxbuf[vbi].stride +
237 struct pipe_vertex_buffer *vb = &nvc0->vtxbuf[b];
285 address = nouveau_scratch_data(&nvc0->base, nvc0->vtxbuf[b].user_buffer,
326 vb = &nvc0->vtxbuf[b];
378 struct pipe_vertex_buffer *vb = &nvc0->vtxbuf[b];
H A Dnvc0_push.c310 struct pipe_vertex_buffer *vb = &nvc0->vtxbuf[i];
408 nouveau_resource_unmap(nv04_resource(nvc0->vtxbuf[i].buffer));
H A Dnvc0_context.c67 pipe_resource_reference(&nvc0->vtxbuf[i].buffer, NULL);
H A Dnvc0_context.h127 struct pipe_vertex_buffer vtxbuf[PIPE_MAX_ATTRIBS]; member in struct:nvc0_context
/external/mesa3d/src/gallium/drivers/nvc0/
H A Dnvc0_state.c792 pipe_resource_reference(&nvc0->vtxbuf[i].buffer, vb[i].buffer);
795 nvc0->vtxbuf[i].user_buffer = vb[i].user_buffer;
799 nvc0->vtxbuf[i].buffer_offset = vb[i].buffer_offset;
801 nvc0->vtxbuf[i].stride = vb[i].stride;
804 pipe_resource_reference(&nvc0->vtxbuf[i].buffer, NULL);
811 nvc0->vtxbuf[i].user_buffer = vb[i].user_buffer;
817 if (nvc0->vtxbuf[i].buffer == vb[i].buffer &&
818 nvc0->vtxbuf[i].buffer_offset == vb[i].buffer_offset &&
819 nvc0->vtxbuf[i].stride == vb[i].stride)
821 pipe_resource_reference(&nvc0->vtxbuf[
[all...]
H A Dnvc0_vbo.c170 struct pipe_vertex_buffer *vb = &nvc0->vtxbuf[ve->vertex_buffer_index];
204 *base = nvc0->instance_off * nvc0->vtxbuf[vbi].stride;
205 *size = (nvc0->instance_max / div) * nvc0->vtxbuf[vbi].stride +
210 *base = nvc0->vb_elt_first * nvc0->vtxbuf[vbi].stride;
211 *size = nvc0->vb_elt_limit * nvc0->vtxbuf[vbi].stride +
237 struct pipe_vertex_buffer *vb = &nvc0->vtxbuf[b];
285 address = nouveau_scratch_data(&nvc0->base, nvc0->vtxbuf[b].user_buffer,
326 vb = &nvc0->vtxbuf[b];
378 struct pipe_vertex_buffer *vb = &nvc0->vtxbuf[b];
H A Dnvc0_push.c310 struct pipe_vertex_buffer *vb = &nvc0->vtxbuf[i];
408 nouveau_resource_unmap(nv04_resource(nvc0->vtxbuf[i].buffer));
H A Dnvc0_context.c67 pipe_resource_reference(&nvc0->vtxbuf[i].buffer, NULL);
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/nv50/
H A Dnv50_vbo.c187 *size = nv50->vtxbuf[vbi].buffer->width0;
191 *base = nv50->vb_elt_first * nv50->vtxbuf[vbi].stride;
192 *size = nv50->vb_elt_limit * nv50->vtxbuf[vbi].stride +
205 const struct pipe_vertex_buffer *vb = &nv50->vtxbuf[b];
233 struct pipe_vertex_buffer *vb = &nv50->vtxbuf[b];
299 struct nv04_resource *buf = nv04_resource(nv50->vtxbuf[i].buffer);
325 vb = &nv50->vtxbuf[b];
353 vb = &nv50->vtxbuf[b];
H A Dnv50_context.c81 pipe_resource_reference(&nv50->vtxbuf[i].buffer, NULL);
H A Dnv50_context.h122 struct pipe_vertex_buffer vtxbuf[PIPE_MAX_ATTRIBS]; member in struct:nv50_context
/external/mesa3d/src/gallium/drivers/nv50/
H A Dnv50_vbo.c187 *size = nv50->vtxbuf[vbi].buffer->width0;
191 *base = nv50->vb_elt_first * nv50->vtxbuf[vbi].stride;
192 *size = nv50->vb_elt_limit * nv50->vtxbuf[vbi].stride +
205 const struct pipe_vertex_buffer *vb = &nv50->vtxbuf[b];
233 struct pipe_vertex_buffer *vb = &nv50->vtxbuf[b];
299 struct nv04_resource *buf = nv04_resource(nv50->vtxbuf[i].buffer);
325 vb = &nv50->vtxbuf[b];
353 vb = &nv50->vtxbuf[b];
H A Dnv50_context.c81 pipe_resource_reference(&nv50->vtxbuf[i].buffer, NULL);
H A Dnv50_context.h122 struct pipe_vertex_buffer vtxbuf[PIPE_MAX_ATTRIBS]; member in struct:nv50_context

Completed in 752 milliseconds

12