Lines Matching defs:span
56 SWspan span;
72 INIT_SPAN(span, GL_BITMAP);
73 span.end = width;
74 span.arrayMask = SPAN_XY;
75 _swrast_span_default_attribs(ctx, &span);
86 span.array->x[count] = px + col;
87 span.array->y[count] = py + row;
108 span.array->x[count] = px + col;
109 span.array->y[count] = py + row;
127 /* flush the span */
128 span.end = count;
129 _swrast_write_rgba_span(ctx, &span);
130 span.end = 0;
155 SWspan span;
165 INIT_SPAN(span, GL_BITMAP);
166 span.end = width;
167 span.arrayMask = SPAN_MASK;
168 _swrast_span_default_attribs(ctx, &span);
170 /*span.arrayMask |= SPAN_MASK;*/ /* we'll init span.mask[] */
171 span.x = px;
172 span.y = py;
173 /*span.end = width;*/
175 for (row=0; row<height; row++, span.y++) {
183 span.array->mask[col] = (*src & mask) ? GL_TRUE : GL_FALSE;
193 _swrast_write_rgba_span(ctx, &span);
203 span.array->mask[col] = (*src & mask) ? GL_TRUE : GL_FALSE;
213 _swrast_write_rgba_span(ctx, &span);