Home | History | Annotate | Download | only in swrast

Lines Matching refs:width

52                 GLint width, GLint height,
57 if (srcx >= dstx + width || (srcx + width <= dstx)) {
72 if (srcx > (dstx + ((zoomX > 0.0F) ? (width * zoomX + 1.0F) : 0.0F))) {
76 else if (srcx + width + 1.0F < dstx + ((zoomX > 0.0F) ? 0.0F : (width * zoomX))) {
100 GLint width, GLint height, GLint destx, GLint desty)
115 overlapping = regions_overlap(srcx, srcy, destx, desty, width, height,
142 tmpImage = (GLfloat *) malloc(width * height * sizeof(GLfloat) * 4);
151 width, srcx, sy + row, p );
152 p += width * 4;
161 ASSERT(width < SWRAST_MAX_WIDTH);
169 memcpy(rgba, p, width * sizeof(GLfloat) * 4);
170 p += width * 4;
175 width, srcx, sy, rgba );
179 _mesa_apply_rgba_transfer_ops(ctx, transferOps, width,
186 span.end = width;
208 scale_and_bias_z(struct gl_context *ctx, GLuint width,
219 for (i = 0; i < width; i++) {
226 for (i = 0; i < width; i++) {
244 GLint width, GLint height,
266 overlapping = regions_overlap(srcx, srcy, destx, desty, width, height,
289 tmpImage = (GLfloat *) malloc(width * height * sizeof(GLfloat));
296 _swrast_read_depth_span_float(ctx, readRb, width, srcx, ssy, p);
297 p += width;
306 depth = (GLfloat *) malloc(width * sizeof(GLfloat));
315 memcpy(depth, p, width * sizeof(GLfloat));
316 p += width;
319 _swrast_read_depth_span_float(ctx, readRb, width, srcx, sy, depth);
323 scale_and_bias_z(ctx, width, depth, span.array->z);
328 span.end = width;
346 GLint width, GLint height,
363 overlapping = regions_overlap(srcx, srcy, destx, desty, width, height,
386 tmpImage = (GLubyte *) malloc(width * height * sizeof(GLubyte));
393 _swrast_read_stencil_span( ctx, rb, width, srcx, ssy, p );
394 p += width;
403 stencil = (GLubyte *) malloc(width * sizeof(GLubyte));
412 memcpy(stencil, p, width * sizeof(GLubyte));
413 p += width;
416 _swrast_read_stencil_span( ctx, rb, width, srcx, sy, stencil );
419 _mesa_apply_stencil_transfer_ops(ctx, width, stencil);
423 _swrast_write_zoomed_stencil_span(ctx, destx, desty, width,
427 _swrast_write_stencil_span( ctx, width, destx, dy, stencil );
445 GLint srcX, GLint srcY, GLsizei width, GLsizei height,
496 if (srcX < 0 || srcX + width > (GLint) srcFb->Width ||
498 dstX < dstFb->_Xmin || dstX + width > dstFb->_Xmax ||
504 widthInBytes = width * pixelBytes;
515 srcRb->Width, srcRb->Height,
543 width, height,
550 width, height,
610 0, 0, rb->Width, rb->Height,
624 GLint srcx, GLint srcy, GLsizei width, GLsizei height,
640 swrast_fast_copy_pixels(ctx, srcx, srcy, width, height, destx, desty,
651 copy_rgba_pixels( ctx, srcx, srcy, width, height, destx, desty );
654 copy_depth_pixels( ctx, srcx, srcy, width, height, destx, desty );
657 copy_stencil_pixels( ctx, srcx, srcy, width, height, destx, desty );
661 copy_depth_pixels(ctx, srcx, srcy, width, height, destx, desty);
662 copy_stencil_pixels(ctx, srcx, srcy, width, height, destx, desty);