• Home
  • Raw
  • Download

Lines Matching refs:span

130 zoom_span( struct gl_context *ctx, GLint imgX, GLint imgY, const SWspan *span,  in zoom_span()  argument
138 if (!compute_zoomed_bounds(ctx, imgX, imgY, span->x, span->y, span->end, in zoom_span()
155 assert((span->arrayMask & SPAN_XY) == 0); in zoom_span()
156 assert(span->primitive == GL_BITMAP); in zoom_span()
162 zoomed.array->ChanType = span->array->ChanType; in zoom_span()
170 COPY_4V(zoomed.attrStart[VARYING_SLOT_POS], span->attrStart[VARYING_SLOT_POS]); in zoom_span()
171 COPY_4V(zoomed.attrStepX[VARYING_SLOT_POS], span->attrStepX[VARYING_SLOT_POS]); in zoom_span()
172 COPY_4V(zoomed.attrStepY[VARYING_SLOT_POS], span->attrStepY[VARYING_SLOT_POS]); in zoom_span()
174 zoomed.attrStart[VARYING_SLOT_FOGC][0] = span->attrStart[VARYING_SLOT_FOGC][0]; in zoom_span()
175 zoomed.attrStepX[VARYING_SLOT_FOGC][0] = span->attrStepX[VARYING_SLOT_FOGC][0]; in zoom_span()
176 zoomed.attrStepY[VARYING_SLOT_FOGC][0] = span->attrStepY[VARYING_SLOT_FOGC][0]; in zoom_span()
180 zoomed.z = span->z; in zoom_span()
181 zoomed.zStep = span->zStep; in zoom_span()
183 zoomed.interpMask = span->interpMask & ~SPAN_RGBA; in zoom_span()
186 assert(span->arrayMask & SPAN_RGBA); in zoom_span()
190 zoomed.red = span->red; in zoom_span()
191 zoomed.green = span->green; in zoom_span()
192 zoomed.blue = span->blue; in zoom_span()
193 zoomed.alpha = span->alpha; in zoom_span()
194 zoomed.redStep = span->redStep; in zoom_span()
195 zoomed.greenStep = span->greenStep; in zoom_span()
196 zoomed.blueStep = span->blueStep; in zoom_span()
197 zoomed.alphaStep = span->alphaStep; in zoom_span()
199 zoomed.interpMask = span->interpMask & ~SPAN_Z; in zoom_span()
201 assert(span->arrayMask & SPAN_Z); in zoom_span()
214 GLint j = unzoom_x(ctx->Pixel.ZoomX, imgX, x0 + i) - span->x; in zoom_span()
216 assert(j < (GLint) span->end); in zoom_span()
224 GLint j = unzoom_x(ctx->Pixel.ZoomX, imgX, x0 + i) - span->x; in zoom_span()
226 assert(j < (GLint) span->end); in zoom_span()
234 GLint j = unzoom_x(ctx->Pixel.ZoomX, imgX, x0 + i) - span->x; in zoom_span()
236 assert(j < (GLint) span->end); in zoom_span()
246 GLint j = unzoom_x(ctx->Pixel.ZoomX, imgX, x0 + i) - span->x; in zoom_span()
248 assert(j < (GLint) span->end); in zoom_span()
259 GLint j = unzoom_x(ctx->Pixel.ZoomX, imgX, x0 + i) - span->x; in zoom_span()
261 assert(j < (GLint) span->end); in zoom_span()
272 GLint j = unzoom_x(ctx->Pixel.ZoomX, imgX, x0 + i) - span->x; in zoom_span()
274 assert(j < (GLint) span->end); in zoom_span()
286 GLint j = unzoom_x(ctx->Pixel.ZoomX, imgX, x0 + i) - span->x; in zoom_span()
288 assert(j < (GLint) span->end); in zoom_span()
332 const SWspan *span, const GLvoid *rgba) in _swrast_write_zoomed_rgba_span() argument
334 zoom_span(ctx, imgX, imgY, span, rgba, GL_RGBA); in _swrast_write_zoomed_rgba_span()
340 const SWspan *span, const GLvoid *rgb) in _swrast_write_zoomed_rgb_span() argument
342 zoom_span(ctx, imgX, imgY, span, rgb, GL_RGB); in _swrast_write_zoomed_rgb_span()
348 const SWspan *span) in _swrast_write_zoomed_depth_span() argument
350 zoom_span(ctx, imgX, imgY, span, in _swrast_write_zoomed_depth_span()
351 (const GLvoid *) span->array->z, GL_DEPTH_COMPONENT); in _swrast_write_zoomed_depth_span()