/external/mesa3d/src/gallium/state_trackers/nine/ |
D | stateblock9.c | 256 if (mask->changed.vtxbuf | mask->changed.stream_freq) { in nine_state_copy_common() 257 DBG("vtxbuf/stream_freq: %x/%x\n", mask->changed.vtxbuf, mask->changed.stream_freq); in nine_state_copy_common() 258 uint32_t m = mask->changed.vtxbuf | mask->changed.stream_freq; in nine_state_copy_common() 260 if (mask->changed.vtxbuf & (1 << i)) { in nine_state_copy_common() 266 dst->vtxbuf[i].buffer_offset = src->vtxbuf[i].buffer_offset; in nine_state_copy_common() 267 dst->vtxbuf[i].stride = src->vtxbuf[i].stride; in nine_state_copy_common() 274 dst->changed.vtxbuf |= mask->changed.vtxbuf; in nine_state_copy_common() 444 dst->vtxbuf[i].buffer_offset = src->vtxbuf[i].buffer_offset; in nine_state_copy_common_all() 445 dst->vtxbuf[i].stride = src->vtxbuf[i].stride; in nine_state_copy_common_all() 450 dst->changed.vtxbuf = (1ULL << MaxStreams) - 1; in nine_state_copy_common_all()
|
D | nine_state.c | 877 context->changed.vtxbuf |= 1 << context->dummy_vbo_bound_at; in update_vertex_elements() 879 context->changed.vtxbuf |= 1 << dummy_vbo_stream; in update_vertex_elements() 894 uint32_t mask = context->changed.vtxbuf; in update_vertex_buffers() 914 if (context->vtxbuf[i].buffer) in update_vertex_buffers() 915 pipe->set_vertex_buffers(pipe, i, 1, &context->vtxbuf[i]); in update_vertex_buffers() 921 context->changed.vtxbuf = 0; in update_vertex_buffers() 1254 if (context->changed.vtxbuf) in nine_update_state() 1526 context->vtxbuf[i].stride = Stride; in CSMT_ITEM_NO_WAIT() 1527 context->vtxbuf[i].buffer_offset = OffsetInBytes; in CSMT_ITEM_NO_WAIT() 1528 pipe_resource_reference(&context->vtxbuf[i].buffer, res); in CSMT_ITEM_NO_WAIT() [all …]
|
D | nine_state.h | 167 uint32_t vtxbuf; member 206 struct pipe_vertex_buffer vtxbuf[PIPE_MAX_ATTRIBS]; /* vtxbuf.buffer unused */ member 224 uint32_t vtxbuf; member 269 struct pipe_vertex_buffer vtxbuf[PIPE_MAX_ATTRIBS]; member 509 struct pipe_vertex_buffer *vtxbuf);
|
D | device9.c | 2386 dst->changed.vtxbuf = (1ULL << This->caps.MaxStreams) - 1; in NineDevice9_CreateStateBlock() 2387 dst->changed.stream_freq = dst->changed.vtxbuf; in NineDevice9_CreateStateBlock() 2840 struct pipe_vertex_buffer vtxbuf; in NineDevice9_DrawPrimitiveUP() local 2850 vtxbuf.stride = VertexStreamZeroStride; in NineDevice9_DrawPrimitiveUP() 2851 vtxbuf.buffer_offset = 0; in NineDevice9_DrawPrimitiveUP() 2852 vtxbuf.buffer = NULL; in NineDevice9_DrawPrimitiveUP() 2853 vtxbuf.user_buffer = pVertexStreamZeroData; in NineDevice9_DrawPrimitiveUP() 2860 vtxbuf.user_buffer, in NineDevice9_DrawPrimitiveUP() 2861 &vtxbuf.buffer_offset, in NineDevice9_DrawPrimitiveUP() 2862 &vtxbuf.buffer); in NineDevice9_DrawPrimitiveUP() [all …]
|
D | buffer9.c | 196 device->state.vtxbuf[i].buffer_offset, in NineBuffer9_RebindIfRequired() 197 device->state.vtxbuf[i].stride); in NineBuffer9_RebindIfRequired()
|
/external/mesa3d/src/gallium/drivers/nouveau/nv30/ |
D | nv30_vbo.c | 87 *base = nv30->vbo_min_index * nv30->vtxbuf[vbi].stride; in nv30_vbuf_range() 89 nv30->vbo_min_index + 1) * nv30->vtxbuf[vbi].stride; in nv30_vbuf_range() 103 vb = &nv30->vtxbuf[i]; in nv30_prevalidate_vbufs() 139 struct pipe_vertex_buffer *vb = &nv30->vtxbuf[b]; in nv30_update_user_vbufs() 175 nouveau_buffer_release_gpu_storage(nv04_resource(nv30->vtxbuf[i].buffer)); in nv30_release_user_vbufs() 216 vb = &nv30->vtxbuf[ve->vertex_buffer_index]; 234 vb = &nv30->vtxbuf[ve->vertex_buffer_index]; 581 if (!nv30->vtxbuf[i].buffer) 583 if (nv30->vtxbuf[i].buffer->flags & PIPE_RESOURCE_FLAG_MAP_COHERENT)
|
D | nv30_resource.c | 42 if (!nv30->vtxbuf[i].buffer) in nv30_memory_barrier() 44 if (nv30->vtxbuf[i].buffer->flags & PIPE_RESOURCE_FLAG_MAP_PERSISTENT) in nv30_memory_barrier()
|
D | nv30_push.c | 211 struct pipe_vertex_buffer *vb = &nv30->vtxbuf[i]; in nv30_push_vbo() 284 if (nv30->vtxbuf[i].buffer) { in nv30_push_vbo() 285 nouveau_resource_unmap(nv04_resource(nv30->vtxbuf[i].buffer)); in nv30_push_vbo()
|
D | nv30_draw.c | 396 draw_set_vertex_buffers(draw, 0, nv30->num_vtxbufs, nv30->vtxbuf); in nv30_render_vbo() 422 const void *map = nv30->vtxbuf[i].user_buffer; in nv30_render_vbo() 424 if (nv30->vtxbuf[i].buffer) in nv30_render_vbo() 425 map = pipe_buffer_map(pipe, nv30->vtxbuf[i].buffer, in nv30_render_vbo()
|
D | nv30_context.h | 111 struct pipe_vertex_buffer vtxbuf[PIPE_MAX_ATTRIBS]; member
|
D | nv30_context.c | 117 if (nv30->vtxbuf[i].buffer == res) { in nv30_invalidate_resource_storage()
|
D | nv30_state.c | 434 util_set_vertex_buffers_count(nv30->vtxbuf, &nv30->num_vtxbufs, in nv30_set_vertex_buffers()
|
D | nv30_miptree.c | 231 util_blitter_save_vertex_buffer_slot(nv30->blitter, nv30->vtxbuf); in nv30_blit()
|
/external/mesa3d/src/gallium/drivers/nouveau/nv50/ |
D | nv50_vbo.c | 203 *size = nv50->vtxbuf[vbi].buffer->width0; in nv50_user_vbuf_range() 207 *base = nv50->vb_elt_first * nv50->vtxbuf[vbi].stride; in nv50_user_vbuf_range() 208 *size = nv50->vb_elt_limit * nv50->vtxbuf[vbi].stride + in nv50_user_vbuf_range() 222 const struct pipe_vertex_buffer *vb = &nv50->vtxbuf[b]; in nv50_upload_user_buffers() 254 vb = &nv50->vtxbuf[b]; in nv50_update_user_vbufs() 320 struct nv04_resource *buf = nv04_resource(nv50->vtxbuf[i].buffer); in nv50_vertex_arrays_validate() 347 vb = &nv50->vtxbuf[b]; in nv50_vertex_arrays_validate() 377 vb = &nv50->vtxbuf[b]; in nv50_vertex_arrays_validate()
|
D | nv50_context.c | 64 if (!nv50->vtxbuf[i].buffer) in nv50_memory_barrier() 66 if (nv50->vtxbuf[i].buffer->flags & PIPE_RESOURCE_FLAG_MAP_PERSISTENT) in nv50_memory_barrier() 146 pipe_resource_reference(&nv50->vtxbuf[i].buffer, NULL); in nv50_context_unreference_resources() 228 if (nv50->vtxbuf[i].buffer == res) { in nv50_invalidate_resource_storage()
|
D | nv50_context.h | 143 struct pipe_vertex_buffer vtxbuf[PIPE_MAX_ATTRIBS]; member
|
D | nv50_push.c | 264 const struct pipe_vertex_buffer *vb = &nv50->vtxbuf[i]; in nv50_push_vbo()
|
D | nv50_state.c | 1049 util_set_vertex_buffers_count(nv50->vtxbuf, &nv50->num_vtxbufs, vb, in nv50_set_vertex_buffers()
|
/external/mesa3d/src/gallium/drivers/nouveau/nvc0/ |
D | nvc0_vbo.c | 175 struct pipe_vertex_buffer *vb = &nvc0->vtxbuf[ve->vertex_buffer_index]; in nvc0_set_constant_vertex_attrib() 209 *base = nvc0->instance_off * nvc0->vtxbuf[vbi].stride; in nvc0_user_vbuf_range() 210 *size = (nvc0->instance_max / div) * nvc0->vtxbuf[vbi].stride + in nvc0_user_vbuf_range() 215 *base = nvc0->vb_elt_first * nvc0->vtxbuf[vbi].stride; in nvc0_user_vbuf_range() 216 *size = nvc0->vb_elt_limit * nvc0->vtxbuf[vbi].stride + in nvc0_user_vbuf_range() 242 struct pipe_vertex_buffer *vb = &nvc0->vtxbuf[b]; in nvc0_update_user_vbufs() 292 address = nouveau_scratch_data(&nvc0->base, nvc0->vtxbuf[b].user_buffer, in nvc0_update_user_vbufs_shared() 335 vb = &nvc0->vtxbuf[b]; in nvc0_validate_vertex_buffers() 387 struct pipe_vertex_buffer *vb = &nvc0->vtxbuf[b]; in nvc0_validate_vertex_buffers_shared()
|
D | nvc0_context.c | 64 if (!nvc0->vtxbuf[i].buffer) in nvc0_memory_barrier() 66 if (nvc0->vtxbuf[i].buffer->flags & PIPE_RESOURCE_FLAG_MAP_PERSISTENT) in nvc0_memory_barrier() 149 pipe_resource_reference(&nvc0->vtxbuf[i].buffer, NULL); in nvc0_context_unreference_resources() 259 if (nvc0->vtxbuf[i].buffer == res) { in nvc0_invalidate_resource_storage()
|
D | nvc0_vbo_translate.c | 70 const struct pipe_vertex_buffer *vb = &nvc0->vtxbuf[i]; in nvc0_vertex_configure_translate() 103 struct pipe_vertex_buffer *vb = &nvc0->vtxbuf[ve->vertex_buffer_index]; in nvc0_push_map_edgeflag() 589 nouveau_resource_unmap(nv04_resource(nvc0->vtxbuf[i].buffer)); in nvc0_push_vbo()
|
D | nvc0_surface.c | 1206 uint64_t vtxbuf; in nvc0_blit_3d() local 1293 vbuf = nouveau_scratch_get(&nvc0->base, length, &vtxbuf, &vtxbuf_bo); in nvc0_blit_3d() 1306 PUSH_DATAh(push, vtxbuf); in nvc0_blit_3d() 1307 PUSH_DATA (push, vtxbuf); in nvc0_blit_3d() 1310 PUSH_DATAh(push, vtxbuf + length - 1); in nvc0_blit_3d() 1311 PUSH_DATA (push, vtxbuf + length - 1); in nvc0_blit_3d()
|
D | nvc0_context.h | 193 struct pipe_vertex_buffer vtxbuf[PIPE_MAX_ATTRIBS]; member
|
D | nvc0_state.c | 923 util_set_vertex_buffers_count(nvc0->vtxbuf, &nvc0->num_vtxbufs, vb, in nvc0_set_vertex_buffers()
|