mem_span.h 560 Bytes

/* mem_span.h */

/* image data */
struct MS_span_image {
	int base;		/* base address of image span */
	int size;		/* bytes of element (1,2,4) */
	} ;

/* subpixel coverage data */
struct MS_subpixel {
	int xi[AA_SP_COUNT];
	int xf[AA_SP_COUNT];
	int xv;			/* valid bit per subpixel span */
	} ;

/* span data */
struct MS_span_data {
	int left;
	int x_left;
	int x_right;
	struct MS_subpixel s_left;
	struct MS_subpixel s_right;
	struct MS_span_image color;
	struct MS_span_image depth;
	} ; 
/* double buffered span */
struct MS_span_data mem_span_data[2];