Home
last modified time | relevance | path

Searched refs:vertex_buffers (Results 1 – 25 of 54) sorted by relevance

123

/third_party/mesa3d/src/gallium/drivers/i915/
Di915_context.c82 const void *buf = i915->vertex_buffers[i].is_user_buffer in i915_draw_vbo()
83 ? i915->vertex_buffers[i].buffer.user in i915_draw_vbo()
86 if (!i915->vertex_buffers[i].buffer.resource) in i915_draw_vbo()
88 buf = i915_buffer(i915->vertex_buffers[i].buffer.resource)->data; in i915_draw_vbo()
Di915_context.h266 struct pipe_vertex_buffer vertex_buffers[PIPE_MAX_ATTRIBS]; member
/third_party/mesa3d/src/gallium/frontends/d3d10umd/
DInputAssembly.cpp136 struct pipe_vertex_buffer *vb = &pDevice->vertex_buffers[StartBuffer + i]; in IaSetVertexBuffers()
171 struct pipe_vertex_buffer *vb = &pDevice->vertex_buffers[i]; in IaSetVertexBuffers()
184 pipe->set_vertex_buffers(pipe, 0, PIPE_MAX_ATTRIBS, 0, FALSE, pDevice->vertex_buffers); in IaSetVertexBuffers()
DDevice.cpp347 if (!pDevice->vertex_buffers[i].is_user_buffer) { in DestroyDevice()
348 pipe_resource_reference(&pDevice->vertex_buffers[i].buffer.resource, NULL); in DestroyDevice()
DState.h71 struct pipe_vertex_buffer vertex_buffers[PIPE_MAX_ATTRIBS]; member
/third_party/mesa3d/src/gallium/auxiliary/util/
Du_draw.c47 const struct pipe_vertex_buffer *vertex_buffers, in util_draw_max_index() argument
60 &vertex_buffers[element->vertex_buffer_index]; in util_draw_max_index()
Du_blitter.h546 struct pipe_vertex_buffer *vertex_buffers) in util_blitter_save_vertex_buffer_slot() argument
549 &vertex_buffers[blitter->vb_slot]); in util_blitter_save_vertex_buffer_slot()
Du_draw.h183 const struct pipe_vertex_buffer *vertex_buffers,
Du_threaded_context.h492 uint32_t vertex_buffers[PIPE_MAX_ATTRIBS]; member
/third_party/mesa3d/src/gallium/drivers/panfrost/
Dpan_blit.c41 util_blitter_save_vertex_buffer_slot(blitter, ctx->vertex_buffers); in panfrost_blitter_save()
Dpan_context.h186 struct pipe_vertex_buffer vertex_buffers[PIPE_MAX_ATTRIBS]; member
/third_party/mesa3d/src/amd/common/
Dac_shader_args.h78 struct ac_arg vertex_buffers; member
/third_party/mesa3d/src/gallium/drivers/asahi/
Dagx_uniforms.c75 struct pipe_vertex_buffer vb = ctx->vertex_buffers[i]; in agx_push_location_direct()
Dagx_state.h152 struct pipe_vertex_buffer vertex_buffers[PIPE_MAX_ATTRIBS]; member
Dagx_blit.c89 util_blitter_save_vertex_buffer_slot(blitter, ctx->vertex_buffers); in agx_blitter_save()
/third_party/mesa3d/src/gallium/auxiliary/driver_ddebug/
Ddd_draw.c380 if (dstate->vertex_buffers[i].buffer.resource) { in dd_dump_draw_vbo()
381 DUMP_I(vertex_buffer, &dstate->vertex_buffers[i], i); in dd_dump_draw_vbo()
382 if (!dstate->vertex_buffers[i].is_user_buffer) in dd_dump_draw_vbo()
383 DUMP_M(resource, &dstate->vertex_buffers[i], buffer.resource); in dd_dump_draw_vbo()
782 memset(state->base.vertex_buffers, 0, in dd_init_copy_of_draw_state()
783 sizeof(state->base.vertex_buffers)); in dd_init_copy_of_draw_state()
819 for (i = 0; i < ARRAY_SIZE(dst->vertex_buffers); i++) in dd_unreference_copy_of_draw_state()
820 pipe_vertex_buffer_unreference(&dst->vertex_buffers[i]); in dd_unreference_copy_of_draw_state()
854 for (i = 0; i < ARRAY_SIZE(src->vertex_buffers); i++) { in dd_copy_draw_state()
855 pipe_vertex_buffer_reference(&dst->vertex_buffers[i], in dd_copy_draw_state()
[all …]
Ddd_pipe.h230 struct pipe_vertex_buffer vertex_buffers[PIPE_MAX_ATTRIBS]; member
Ddd_context.c581 safe_memcpy(&dctx->draw_state.vertex_buffers[start], buffers, in dd_context_set_vertex_buffers()
583 safe_memcpy(&dctx->draw_state.vertex_buffers[start + num_buffers], NULL, in dd_context_set_vertex_buffers()
/third_party/mesa3d/src/gallium/drivers/lima/
Dlima_state.c195 struct lima_context_vertex_buffer *so = &ctx->vertex_buffers; in lima_set_vertex_buffers()
465 struct lima_context_vertex_buffer *so = &ctx->vertex_buffers; in lima_state_fini()
Dlima_context.h219 struct lima_context_vertex_buffer vertex_buffers; member
/third_party/mesa3d/src/gallium/tools/trace/
Ddump_state.py236 self._state.vertex_buffers = []
438 self._update(self._state.vertex_buffers, start_slot, num_buffers, buffers)
502 vbuf = self._state.vertex_buffers[velem.vertex_buffer_index]
/third_party/mesa3d/src/gallium/drivers/zink/
Dzink_context.h266 struct pipe_vertex_buffer vertex_buffers[PIPE_MAX_ATTRIBS]; member
/third_party/flutter/skia/third_party/externals/sdl/src/render/opengles2/
DSDL_render_gles2.c198 GLuint vertex_buffers[4]; member
1437 if (!data->vertex_buffers[attr]) { in GLES2_UpdateVertexBuffer()
1438 data->glGenBuffers(1, &data->vertex_buffers[attr]); in GLES2_UpdateVertexBuffer()
1441 data->glBindBuffer(GL_ARRAY_BUFFER, data->vertex_buffers[attr]); in GLES2_UpdateVertexBuffer()
/third_party/mesa3d/src/amd/vulkan/
Dradv_shader_args.c294 ac_add_arg(&args->ac, AC_ARG_SGPR, 1, AC_ARG_CONST_DESC_PTR, &args->ac.vertex_buffers); in declare_vs_specific_input_sgprs()
489 if (args->ac.vertex_buffers.used) { in set_vs_specific_input_locs()
/third_party/mesa3d/src/gallium/drivers/iris/
Diris_state.c1169 struct iris_vertex_buffer_state vertex_buffers[33]; member
3443 &genx->vertex_buffers[start_slot + i]; in iris_set_vertex_buffers()
3493 &genx->vertex_buffers[start_slot + count + i]; in iris_set_vertex_buffers()
5259 struct pipe_resource *res = genx->vertex_buffers[i].resource; in iris_restore_render_saved_bos()
6361 &(ice->state.genx->vertex_buffers[count]); in iris_upload_dirty_render_state()
6385 &(ice->state.genx->vertex_buffers[count]); in iris_upload_dirty_render_state()
6415 iris_use_optional_res(batch, genx->vertex_buffers[i].resource, in iris_upload_dirty_render_state()
6436 (void *) genx->vertex_buffers[i].resource; in iris_upload_dirty_render_state()
6468 memcpy(map, genx->vertex_buffers[i].state, in iris_upload_dirty_render_state()
6623 struct iris_bo *bo = iris_resource_bo(genx->vertex_buffers[i].resource); in flush_vbos()
[all …]

123