Lines Matching defs:span
186 * Apply the current logic operator to a span of RGBA pixels.
192 SWspan *span)
196 ASSERT(span->end < SWRAST_MAX_WIDTH);
197 ASSERT(span->arrayMask & SPAN_RGBA);
199 rbPixels = _swrast_get_dest_rgba(ctx, rb, span);
201 if (span->array->ChanType == GL_UNSIGNED_BYTE) {
203 logicop_uint1(ctx, span->end,
204 (GLuint *) span->array->rgba8,
205 (const GLuint *) rbPixels, span->array->mask);
207 else if (span->array->ChanType == GL_UNSIGNED_SHORT) {
209 logicop_uint2(ctx, 2 * span->end,
210 (GLuint *) span->array->rgba16,
211 (const GLuint *) rbPixels, span->array->mask);
214 logicop_uint4(ctx, 4 * span->end,
215 (GLuint *) span->array->attribs[FRAG_ATTRIB_COL0],
216 (const GLuint *) rbPixels, span->array->mask);