gallium: plug in softpipe_set_edgeflags() function
This commit is contained in:
@@ -178,6 +178,8 @@ softpipe_create( struct pipe_screen *screen,
|
||||
|
||||
softpipe->pipe.draw_arrays = softpipe_draw_arrays;
|
||||
softpipe->pipe.draw_elements = softpipe_draw_elements;
|
||||
softpipe->pipe.set_edgeflags = softpipe_set_edgeflags;
|
||||
|
||||
|
||||
softpipe->pipe.clear = softpipe_clear;
|
||||
softpipe->pipe.flush = softpipe_flush;
|
||||
|
||||
@@ -170,3 +170,12 @@ softpipe_draw_elements(struct pipe_context *pipe,
|
||||
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
|
||||
void
|
||||
softpipe_set_edgeflags(struct pipe_context *pipe, const unsigned *edgeflags)
|
||||
{
|
||||
struct softpipe_context *sp = softpipe_context(pipe);
|
||||
draw_set_edgeflags(sp->draw, edgeflags);
|
||||
}
|
||||
|
||||
|
||||
@@ -171,6 +171,9 @@ boolean softpipe_draw_elements(struct pipe_context *pipe,
|
||||
unsigned indexSize,
|
||||
unsigned mode, unsigned start, unsigned count);
|
||||
|
||||
void
|
||||
softpipe_set_edgeflags(struct pipe_context *pipe, const unsigned *edgeflags);
|
||||
|
||||
|
||||
void
|
||||
softpipe_map_surfaces(struct softpipe_context *sp);
|
||||
|
||||
Reference in New Issue
Block a user