Lines Matching defs:span
40 * Apply the color mask to a span of rgba values.
44 SWspan *span, GLuint buf)
46 const GLuint n = span->end;
50 ASSERT(span->arrayMask & SPAN_RGBA);
52 rbPixels = _swrast_get_dest_rgba(ctx, rb, span);
56 * Note that we're not using span->array->mask[] here. We could...
58 if (span->array->ChanType == GL_UNSIGNED_BYTE) {
63 GLuint *src = (GLuint *) span->array->rgba8;
69 else if (span->array->ChanType == GL_UNSIGNED_SHORT) {
77 GLushort (*src)[4] = span->array->rgba16;
93 GLuint (*src)[4] = (GLuint (*)[4]) span->array->attribs[FRAG_ATTRIB_COL0];