Searched refs:svga_render (Results 1 – 2 of 2) sorted by relevance
49 struct svga_vbuf_render *svga_render = svga_vbuf_render(render); in svga_vbuf_render_get_vertex_info() local50 struct svga_context *svga = svga_render->svga; in svga_vbuf_render_get_vertex_info()54 return &svga_render->vertex_info; in svga_vbuf_render_get_vertex_info()63 struct svga_vbuf_render *svga_render = svga_vbuf_render(render); in svga_vbuf_render_allocate_vertices() local64 struct svga_context *svga = svga_render->svga; in svga_vbuf_render_allocate_vertices()70 if (svga_render->vertex_size != vertex_size) in svga_vbuf_render_allocate_vertices()72 svga_render->vertex_size = (size_t)vertex_size; in svga_vbuf_render_allocate_vertices()78 if (svga_render->vbuf_size < svga_render->vbuf_offset + svga_render->vbuf_used + size) in svga_vbuf_render_allocate_vertices()82 pipe_resource_reference(&svga_render->vbuf, NULL); in svga_vbuf_render_allocate_vertices()84 pipe_resource_reference(&svga_render->ibuf, NULL); in svga_vbuf_render_allocate_vertices()[all …]
150 struct svga_vbuf_render *svga_render = svga_vbuf_render(svga->swtnl.backend); in svga_swtnl_update_vdecl() local152 struct vertex_info *vinfo = &svga_render->vertex_info; in svga_swtnl_update_vdecl()219 svga_render->vdecl_count = nr_decls; in svga_swtnl_update_vdecl()220 for (i = 0; i < svga_render->vdecl_count; i++) in svga_swtnl_update_vdecl()223 if (memcmp(svga_render->vdecl, vdecl, sizeof(vdecl)) == 0) in svga_swtnl_update_vdecl()226 memcpy(svga_render->vdecl, vdecl, sizeof(vdecl)); in svga_swtnl_update_vdecl()