Home
last modified time | relevance | path

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

/external/mesa3d/src/gallium/drivers/svga/
Dsvga_swtnl_draw.c45 struct draw_context *draw = svga->swtnl.draw; in svga_swtnl_draw_vbo()
61 svga->swtnl.new_vbuf = TRUE; in svga_swtnl_draw_vbo()
104 draw_flush(svga->swtnl.draw); in svga_swtnl_draw_vbo()
140 svga->swtnl.backend = svga_vbuf_render_create(svga); in svga_init_swtnl()
141 if(!svga->swtnl.backend) in svga_init_swtnl()
147 svga->swtnl.draw = draw_create(&svga->pipe); in svga_init_swtnl()
148 if (svga->swtnl.draw == NULL) in svga_init_swtnl()
152 draw_set_rasterize_stage(svga->swtnl.draw, in svga_init_swtnl()
153 draw_vbuf_stage( svga->swtnl.draw, svga->swtnl.backend )); in svga_init_swtnl()
155 draw_set_render(svga->swtnl.draw, svga->swtnl.backend); in svga_init_swtnl()
[all …]
Dsvga_swtnl_state.c83 draw_set_viewport_state(svga->swtnl.draw, &vp); in set_draw_viewport()
90 draw_flush( svga->swtnl.draw ); in update_swtnl_draw()
93 draw_bind_vertex_shader(svga->swtnl.draw, in update_swtnl_draw()
97 draw_bind_fragment_shader(svga->swtnl.draw, in update_swtnl_draw()
101 draw_set_vertex_buffers(svga->swtnl.draw, in update_swtnl_draw()
106 draw_set_vertex_elements(svga->swtnl.draw, in update_swtnl_draw()
111 draw_set_clip_state(svga->swtnl.draw, in update_swtnl_draw()
120 draw_set_rasterizer_state(svga->swtnl.draw, in update_swtnl_draw()
125 draw_set_mrd(svga->swtnl.draw, in update_swtnl_draw()
150 struct svga_vbuf_render *svga_render = svga_vbuf_render(svga->swtnl.backend); in svga_swtnl_update_vdecl()
[all …]
Dsvga_swtnl_backend.c71 svga->swtnl.new_vdecl = TRUE; in svga_vbuf_render_allocate_vertices()
74 if (svga->swtnl.new_vbuf) in svga_vbuf_render_allocate_vertices()
76 svga->swtnl.new_vbuf = FALSE; in svga_vbuf_render_allocate_vertices()
104 svga->swtnl.new_vdecl = TRUE; in svga_vbuf_render_allocate_vertices()
112 if (svga->swtnl.new_vdecl) in svga_vbuf_render_allocate_vertices()
181 if (!svga->swtnl.new_vdecl) in svga_vbuf_submit_state()
192 svga->swtnl.new_vbuf = TRUE; in svga_vbuf_submit_state()
223 svga->swtnl.new_vdecl = FALSE; in svga_vbuf_submit_state()
249 svga->swtnl.new_vbuf = TRUE; in svga_vbuf_render_draw_arrays()
311 svga->swtnl.new_vbuf = TRUE; in svga_vbuf_render_draw_elements()
Dsvga_pipe_fs.c67 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_vs.c123 vs->draw_shader = draw_create_vertex_shader(svga->swtnl.draw, &tmp2); in svga_create_vs_state()
156 draw_delete_vertex_shader(svga->swtnl.draw, vs->draw_shader); in svga_delete_vs_state()
Dsvga_pipe_rasterizer.c241 draw_set_rasterizer_state(svga->swtnl.draw, raster ? &raster->templ : NULL, in svga_bind_rasterizer_state()
Dsvga_state_need_swtnl.c228 svga->swtnl.new_vdecl = TRUE; in update_need_swtnl()
Dsvga_context.h338 } 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