mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-04 13:30:11 +01:00
Cell: enable vbuf path by default
This commit is contained in:
parent
152f1d84d4
commit
b324722542
2 changed files with 2 additions and 5 deletions
|
|
@ -237,7 +237,7 @@ cell_create_context(struct pipe_winsys *winsys, struct cell_winsys *cws)
|
|||
|
||||
cell->draw = draw_create();
|
||||
|
||||
#define VBUF 0
|
||||
#define VBUF 1
|
||||
#if VBUF
|
||||
cell_init_vbuf(cell);
|
||||
draw_set_rasterize_stage(cell->draw, cell->vbuf);
|
||||
|
|
|
|||
|
|
@ -84,7 +84,6 @@ cell_vbuf_set_primitive(struct vbuf_render *vbr, unsigned prim)
|
|||
}
|
||||
|
||||
|
||||
#if 0
|
||||
static void
|
||||
cell_vbuf_draw(struct vbuf_render *vbr,
|
||||
uint prim,
|
||||
|
|
@ -130,7 +129,7 @@ cell_vbuf_draw(struct vbuf_render *vbr,
|
|||
|
||||
cell_flush(&cell->pipe, 0x0);
|
||||
}
|
||||
#endif
|
||||
|
||||
|
||||
static void
|
||||
cell_vbuf_release_vertices(struct vbuf_render *vbr, void *vertices,
|
||||
|
|
@ -167,9 +166,7 @@ cell_init_vbuf(struct cell_context *cell)
|
|||
cell->vbuf_render->base.get_vertex_info = cell_vbuf_get_vertex_info;
|
||||
cell->vbuf_render->base.allocate_vertices = cell_vbuf_allocate_vertices;
|
||||
cell->vbuf_render->base.set_primitive = cell_vbuf_set_primitive;
|
||||
#if 0
|
||||
cell->vbuf_render->base.draw = cell_vbuf_draw;
|
||||
#endif
|
||||
cell->vbuf_render->base.release_vertices = cell_vbuf_release_vertices;
|
||||
cell->vbuf_render->base.destroy = cell_vbuf_destroy;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue