gallium: Handle client-supplied edgeflags.

Also, implement support in the draw module.  We were hardwiring these
to one for quite a long time...

Currently using a draw_set_edgeflags() function, may be better to push
the argument into the draw_arrays() function.  TBD.
This commit is contained in:
Keith Whitwell
2008-04-04 17:02:20 +01:00
parent 1d6877b326
commit 84501e68f6
7 changed files with 71 additions and 28 deletions

View File

@@ -57,6 +57,14 @@ struct pipe_context {
void (*destroy)( struct pipe_context * );
/* Possible interface for setting edgeflags. These aren't really
* vertex elements, so don't fit there.
*/
void (*set_edgeflags)( struct pipe_context *,
const unsigned *bitfield );
/**
* VBO drawing (return false on fallbacks (temporary??))
*/