core | glapi | vbo | math | shader | swrast | swrast_setup | tnl | tnl_dd

SpanFlags


Detailed Description

Special bitflags to describe span data.

In general, the point/line/triangle functions interpolate/emit the attributes specified by swrast->_ActiveAttribs (i.e. FRAT_BIT_* values). Some things don't fit into that, though, so we have these flags.


Defines

#define SPAN_RGBA   0x01
 interpMask and arrayMask
#define SPAN_INDEX   0x02
 interpMask and arrayMask
#define SPAN_Z   0x04
 interpMask and arrayMask
#define SPAN_FLAT   0x08
 interpMask: flat shading?
#define SPAN_XY   0x10
 array.x[], y[] valid?
#define SPAN_MASK   0x20
 was array.mask[] filled in by caller?
#define SPAN_LAMBDA   0x40
 array.lambda[] valid?
#define SPAN_COVERAGE   0x80
 array.coverage[] valid?


Define Documentation

#define SPAN_COVERAGE   0x80

array.coverage[] valid?

#define SPAN_FLAT   0x08

interpMask: flat shading?

#define SPAN_INDEX   0x02

interpMask and arrayMask

#define SPAN_LAMBDA   0x40

array.lambda[] valid?

#define SPAN_MASK   0x20

was array.mask[] filled in by caller?

#define SPAN_RGBA   0x01

interpMask and arrayMask

#define SPAN_XY   0x10

array.x[], y[] valid?

#define SPAN_Z   0x04

interpMask and arrayMask


Generated on Sun Sep 27 06:48:05 2009 for Mesa Software Rasterization (swrast) by  doxygen 1.5.4