ReactOS
0.4.9-dev-717-g6d91262
|
Macros | |
#define | SPAN_RGBA 0x01 |
#define | SPAN_Z 0x02 |
#define | SPAN_FLAT 0x04 |
#define | SPAN_XY 0x08 |
#define | SPAN_MASK 0x10 |
#define | SPAN_LAMBDA 0x20 |
#define | SPAN_COVERAGE 0x40 |
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.
#define SPAN_COVERAGE 0x40 |
array.coverage[] valid?
Definition at line 56 of file s_span.h.
Referenced by _swrast_write_rgba_span(), line(), and smooth_point().
#define SPAN_FLAT 0x04 |
interpMask: flat shading?
Definition at line 52 of file s_span.h.
Referenced by interpolate_int_colors(), and NAME().
#define SPAN_LAMBDA 0x20 |
array.lambda[] valid?
Definition at line 55 of file s_span.h.
Referenced by interpolate_texcoords(), and line().
#define SPAN_MASK 0x10 |
was array.mask[] filled in by caller?
Definition at line 54 of file s_span.h.
Referenced by _swrast_write_rgba_span(), clip_span(), and smooth_point().
#define SPAN_RGBA 0x01 |
interpMask and arrayMask
Definition at line 50 of file s_span.h.
Referenced by _swrast_alpha_test(), _swrast_blend_span(), _swrast_fog_rgba_span(), _swrast_logicop_rgba_span(), _swrast_mask_rgba_span(), _swrast_span_default_attribs(), _swrast_write_rgba_span(), copy_rgba_pixels(), draw_rgba_pixels(), interpolate_int_colors(), large_point(), line(), NAME(), pixel_point(), shade_texture_span(), smooth_point(), sprite_point(), and zoom_span().
#define SPAN_XY 0x08 |
array.x[], y[] valid?
Definition at line 53 of file s_span.h.
Referenced by _swrast_Bitmap(), _swrast_depth_bounds_test(), _swrast_depth_test_span(), _swrast_get_dest_rgba(), _swrast_stencil_and_ztest_span(), _swrast_write_rgba_span(), clip_span(), large_point(), line(), NAME(), pixel_point(), stipple_polygon_span(), and zoom_span().
#define SPAN_Z 0x02 |
interpMask and arrayMask
Definition at line 51 of file s_span.h.
Referenced by _swrast_span_default_attribs(), _swrast_span_interpolate_z(), _swrast_write_rgba_span(), copy_depth_pixels(), draw_depth_pixels(), large_point(), line(), NAME(), pixel_point(), smooth_point(), sprite_point(), and zoom_span().