Home
last modified time | relevance | path

Searched refs:swtnl (Results 1 – 11 of 11) sorted by relevance

/external/mesa3d/src/gallium/drivers/svga/
Dsvga_swtnl_draw.c46 struct draw_context *draw = svga->swtnl.draw; in svga_swtnl_draw_vbo()
63 svga->swtnl.new_vbuf = TRUE; in svga_swtnl_draw_vbo()
117 draw_flush(svga->swtnl.draw); in svga_swtnl_draw_vbo()
157 svga->swtnl.backend = svga_vbuf_render_create(svga); in svga_init_swtnl()
158 if (!svga->swtnl.backend) in svga_init_swtnl()
164 svga->swtnl.draw = draw_create(&svga->pipe); in svga_init_swtnl()
165 if (svga->swtnl.draw == NULL) in svga_init_swtnl()
169 draw_set_rasterize_stage(svga->swtnl.draw, in svga_init_swtnl()
170 draw_vbuf_stage(svga->swtnl.draw, svga->swtnl.backend)); in svga_init_swtnl()
172 draw_set_render(svga->swtnl.draw, svga->swtnl.backend); in svga_init_swtnl()
[all …]
Dsvga_swtnl_state.c97 draw_set_viewport_states(svga->swtnl.draw, 0, 1, &vp); in set_draw_viewport()
105 draw_flush(svga->swtnl.draw); in update_swtnl_draw()
108 draw_bind_vertex_shader(svga->swtnl.draw, in update_swtnl_draw()
112 draw_bind_fragment_shader(svga->swtnl.draw, in update_swtnl_draw()
116 draw_set_vertex_buffers(svga->swtnl.draw, 0, in update_swtnl_draw()
121 draw_set_vertex_elements(svga->swtnl.draw, in update_swtnl_draw()
126 draw_set_clip_state(svga->swtnl.draw, in update_swtnl_draw()
135 draw_set_rasterizer_state(svga->swtnl.draw, in update_swtnl_draw()
145 draw_set_zs_format(svga->swtnl.draw, in update_swtnl_draw()
220 struct svga_vbuf_render *svga_render = svga_vbuf_render(svga->swtnl.backend); in svga_swtnl_update_vdecl()
[all …]
Dsvga_swtnl_backend.c75 svga->swtnl.new_vdecl = TRUE; in svga_vbuf_render_allocate_vertices()
78 if (svga->swtnl.new_vbuf) in svga_vbuf_render_allocate_vertices()
80 svga->swtnl.new_vbuf = FALSE; in svga_vbuf_render_allocate_vertices()
111 svga->swtnl.new_vdecl = TRUE; in svga_vbuf_render_allocate_vertices()
119 if (svga->swtnl.new_vdecl) in svga_vbuf_render_allocate_vertices()
224 if (!svga->swtnl.new_vdecl) in svga_vbuf_submit_state()
236 svga->swtnl.new_vbuf = TRUE; in svga_vbuf_submit_state()
275 svga->swtnl.new_vdecl = FALSE; in svga_vbuf_submit_state()
307 svga->swtnl.new_vbuf = TRUE; in svga_vbuf_render_draw_arrays()
355 svga->swtnl.new_vbuf = TRUE; in svga_vbuf_render_draw_elements()
Dsvga_pipe_fs.c65 fs->draw_shader = draw_create_fragment_shader(svga->swtnl.draw, templ); in svga_create_fs_state()
98 draw_delete_fragment_shader(svga->swtnl.draw, fs->draw_shader); in svga_delete_fs_state()
Dsvga_pipe_gs.c57 gs->draw_shader = draw_create_geometry_shader(svga->swtnl.draw, templ); in svga_create_gs_state()
106 draw_delete_geometry_shader(svga->swtnl.draw, gs->draw_shader); in svga_delete_gs_state()
Dsvga_pipe_vs.c124 vs->draw_shader = draw_create_vertex_shader(svga->swtnl.draw, &tmp2); in svga_create_vs_state()
189 draw_delete_vertex_shader(svga->swtnl.draw, vs->draw_shader); in svga_delete_vs_state()
Dsvga_state_need_swtnl.c192 svga->swtnl.new_vdecl = TRUE; in update_need_swtnl()
Dsvga_context.h500 } swtnl; member
/external/mesa3d/src/mesa/drivers/dri/nouveau/
Dnouveau_swtnl_t.c155 struct nouveau_swtnl_state *swtnl = &to_render_state(ctx)->swtnl; in swtnl_alloc_vertices() local
157 nouveau_bo_ref(NULL, &swtnl->vbo); in swtnl_alloc_vertices()
158 swtnl->buf = nouveau_get_scratch(ctx, SWTNL_VBO_SIZE, &swtnl->vbo, in swtnl_alloc_vertices()
159 &swtnl->offset); in swtnl_alloc_vertices()
160 swtnl->vertex_count = 0; in swtnl_alloc_vertices()
167 struct nouveau_swtnl_state *swtnl = &render->swtnl; in swtnl_bind_vertices() local
175 nouveau_bo_ref(swtnl->vbo, &a->bo); in swtnl_bind_vertices()
176 a->offset = swtnl->offset + ta->vertoffset; in swtnl_bind_vertices()
202 struct nouveau_swtnl_state *swtnl = &to_render_state(ctx)->swtnl; in swtnl_flush_vertices() local
203 unsigned npush, start = 0, count = swtnl->vertex_count; in swtnl_flush_vertices()
[all …]
Dnouveau_render.h68 struct nouveau_swtnl_state swtnl; member
/external/mesa3d/docs/relnotes/
D10.5.7.rst65 - nv30/draw: fix indexed draws with swtnl path and a resource index