Searched refs:svga_render (Results 1 – 2 of 2) sorted by relevance
50 struct svga_vbuf_render *svga_render = svga_vbuf_render(render); in svga_vbuf_render_get_vertex_info() local51 struct svga_context *svga = svga_render->svga; in svga_vbuf_render_get_vertex_info()55 return &svga_render->vertex_info; in svga_vbuf_render_get_vertex_info()64 struct svga_vbuf_render *svga_render = svga_vbuf_render(render); in svga_vbuf_render_allocate_vertices() local65 struct svga_context *svga = svga_render->svga; in svga_vbuf_render_allocate_vertices()74 if (svga_render->vertex_size != vertex_size) in svga_vbuf_render_allocate_vertices()76 svga_render->vertex_size = (size_t)vertex_size; in svga_vbuf_render_allocate_vertices()82 if (svga_render->vbuf_size in svga_vbuf_render_allocate_vertices()83 < svga_render->vbuf_offset + svga_render->vbuf_used + size) in svga_vbuf_render_allocate_vertices()87 pipe_resource_reference(&svga_render->vbuf, NULL); in svga_vbuf_render_allocate_vertices()[all …]
226 struct svga_vbuf_render *svga_render = svga_vbuf_render(svga->swtnl.backend); in svga_swtnl_update_vdecl() local228 struct vertex_info *vinfo = &svga_render->vertex_info; in svga_swtnl_update_vdecl()300 svga_render->vdecl_count = nr_decls; in svga_swtnl_update_vdecl()301 for (i = 0; i < svga_render->vdecl_count; i++) { in svga_swtnl_update_vdecl()305 any_change = memcmp(svga_render->vdecl, vdecl, sizeof(vdecl)); in svga_swtnl_update_vdecl()310 if (!any_change && svga_render->layout_id != SVGA3D_INVALID_ID) { in svga_swtnl_update_vdecl()314 if (svga_render->layout_id != SVGA3D_INVALID_ID) { in svga_swtnl_update_vdecl()317 svga_render->layout_id); in svga_swtnl_update_vdecl()321 svga_render->layout_id); in svga_swtnl_update_vdecl()330 if (svga->state.hw_draw.layout_id == svga_render->layout_id) in svga_swtnl_update_vdecl()[all …]