Lines Matching defs:span

312    SWspan span;
314 INIT_SPAN(span, GL_BITMAP);
315 span.arrayMask = SPAN_Z;
316 _swrast_span_default_attribs(ctx, &span);
332 span.array->z[i] = zSrc[i];
333 span.x = x;
334 span.y = y + row;
335 span.end = width;
336 _swrast_write_rgba_span(ctx, &span);
352 memcpy(span.array->z, zSrc, width * sizeof(GLuint));
357 span.array->z[col] = zSrc[col] >> shift;
359 span.x = x;
360 span.y = y + row;
361 span.end = width;
362 _swrast_write_rgba_span(ctx, &span);
374 ASSERT(span.end <= SWRAST_MAX_WIDTH);
384 span.x = x + skipPixels;
385 span.y = y + row;
386 span.end = spanWidth;
389 GL_UNSIGNED_INT, span.array->z, depthMax,
392 _swrast_write_zoomed_depth_span(ctx, x, y, &span);
395 _swrast_write_rgba_span(ctx, &span);
419 SWspan span;
429 INIT_SPAN(span, GL_BITMAP);
430 _swrast_span_default_attribs(ctx, &span);
431 span.arrayMask = SPAN_RGBA;
432 span.arrayAttribs = FRAG_BIT_COL0; /* we're fill in COL0 attrib values */
448 const GLbitfield interpMask = span.interpMask;
449 const GLbitfield arrayMask = span.arrayMask;
453 /* use span array for temp color storage */
454 GLfloat *rgba = (GLfloat *) span.array->attribs[FRAG_ATTRIB_COL0];
456 /* if the span is wider than SWRAST_MAX_WIDTH we have to do it in chunks */
473 span.array->ChanType = GL_FLOAT;
474 span.x = x + skipPixels;
475 span.y = y + row;
476 span.end = spanWidth;
477 span.arrayMask = arrayMask;
478 span.interpMask = interpMask;
480 _swrast_write_zoomed_rgba_span(ctx, imgX, imgY, &span, rgba);
483 _swrast_write_rgba_span(ctx, &span);
493 span.array->ChanType = CHAN_TYPE;