Searched refs:swtnl (Results 1 – 10 of 10) sorted by relevance
/external/mesa3d/src/gallium/drivers/svga/ |
D | svga_swtnl_draw.c | 48 struct draw_context *draw = svga->swtnl.draw; in svga_swtnl_draw_vbo() 67 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 …]
|
D | svga_swtnl_state.c | 97 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() 226 struct svga_vbuf_render *svga_render = svga_vbuf_render(svga->swtnl.backend); in svga_swtnl_update_vdecl() [all …]
|
D | svga_swtnl_backend.c | 75 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() 109 svga->swtnl.new_vdecl = TRUE; in svga_vbuf_render_allocate_vertices() 117 if (svga->swtnl.new_vdecl) in svga_vbuf_render_allocate_vertices() 222 if (!svga->swtnl.new_vdecl) in svga_vbuf_submit_state() 236 svga->swtnl.new_vbuf = TRUE; in svga_vbuf_submit_state() 276 svga->swtnl.new_vdecl = FALSE; in svga_vbuf_submit_state() 312 svga->swtnl.new_vbuf = TRUE; in svga_vbuf_render_draw_arrays() 387 svga->swtnl.new_vbuf = TRUE; in svga_vbuf_render_draw_elements()
|
D | svga_pipe_fs.c | 65 fs->draw_shader = draw_create_fragment_shader(svga->swtnl.draw, templ); in svga_create_fs_state() 95 draw_delete_fragment_shader(svga->swtnl.draw, fs->draw_shader); in svga_delete_fs_state()
|
D | svga_pipe_gs.c | 57 gs->draw_shader = draw_create_geometry_shader(svga->swtnl.draw, templ); in svga_create_gs_state() 107 draw_delete_geometry_shader(svga->swtnl.draw, gs->draw_shader); in svga_delete_gs_state()
|
D | svga_pipe_vs.c | 124 vs->draw_shader = draw_create_vertex_shader(svga->swtnl.draw, &tmp2); in svga_create_vs_state() 186 draw_delete_vertex_shader(svga->swtnl.draw, vs->draw_shader); in svga_delete_vs_state()
|
D | svga_state_need_swtnl.c | 192 svga->swtnl.new_vdecl = TRUE; in update_need_swtnl()
|
D | svga_context.h | 467 } swtnl; member
|
/external/mesa3d/src/mesa/drivers/dri/nouveau/ |
D | nouveau_swtnl_t.c | 155 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 …]
|
D | nouveau_render.h | 68 struct nouveau_swtnl_state swtnl; member
|