Searched refs:swtnl (Results 1 – 10 of 10) sorted by relevance
/external/mesa3d/src/gallium/drivers/svga/ |
D | svga_swtnl_draw.c | 45 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 …]
|
D | svga_swtnl_state.c | 83 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 …]
|
D | svga_swtnl_backend.c | 71 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()
|
D | svga_pipe_fs.c | 67 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()
|
D | svga_pipe_vs.c | 123 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()
|
D | svga_pipe_rasterizer.c | 241 draw_set_rasterizer_state(svga->swtnl.draw, raster ? &raster->templ : NULL, in svga_bind_rasterizer_state()
|
D | svga_state_need_swtnl.c | 228 svga->swtnl.new_vdecl = TRUE; in update_need_swtnl()
|
D | svga_context.h | 338 } 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
|