Lines Matching refs:width
54 GLsizei width, GLsizei height,
59 _mesa_image_address2d(unpack, pixels, width,
61 const GLint srcRowStride = _mesa_image_row_stride(unpack, width,
67 ctx->Driver.MapRenderbuffer(ctx, rb, x, y, width, height,
82 for (j = 0; j < width; j++) {
101 GLsizei width, GLsizei height,
106 _mesa_image_address2d(unpack, pixels, width,
109 _mesa_image_row_stride(unpack, width, GL_RGBA, GL_UNSIGNED_BYTE);
114 ctx->Driver.MapRenderbuffer(ctx, rb, x, y, width, height,
129 for (j = 0; j < width; j++) {
149 GLsizei width, GLsizei height,
155 _mesa_image_address2d(unpack, pixels, width,
158 _mesa_image_row_stride(unpack, width, format, type);
159 const GLint rowLength = width * _mesa_get_format_bytes(rb->Format);
164 ctx->Driver.MapRenderbuffer(ctx, rb, x, y, width, height,
193 GLsizei width, GLsizei height,
219 if (!_mesa_clip_drawpixels(ctx, &x, &y, &width, &height, &unpack)) {
228 fast_draw_rgb_ubyte_pixels(ctx, rb, x, y, width, height,
237 fast_draw_rgba_ubyte_pixels(ctx, rb, x, y, width, height,
244 fast_draw_generic_pixels(ctx, rb, x, y, width, height,
260 GLsizei width, GLsizei height,
270 values = (GLubyte *) malloc(width * sizeof(GLubyte));
278 width, height,
281 _mesa_unpack_stencil_span(ctx, width, destType, values,
285 _swrast_write_zoomed_stencil_span(ctx, x, y, width,
289 _swrast_write_stencil_span(ctx, width, x, y, values);
304 GLsizei width, GLsizei height,
322 && width <= SWRAST_MAX_WIDTH
328 _mesa_image_address2d(unpack, pixels, width, height,
331 for (i = 0; i < width; i++)
335 span.end = width;
342 && width <= SWRAST_MAX_WIDTH
349 _mesa_image_address2d(unpack, pixels, width, height,
352 memcpy(span.array->z, zSrc, width * sizeof(GLuint));
356 for (col = 0; col < width; col++)
361 span.end = width;
370 /* in case width > SWRAST_MAX_WIDTH do the copy in chunks */
371 while (skipPixels < width) {
372 const GLint spanWidth = MIN2(width - skipPixels, SWRAST_MAX_WIDTH);
377 pixels, width, height,
410 GLsizei width, GLsizei height,
422 if (fast_draw_rgba_pixels(ctx, x, y, width, height, format, type,
451 = _mesa_image_row_stride(unpack, width, format, type);
457 while (skipPixels < width) {
458 const GLint spanWidth = MIN2(width - skipPixels, SWRAST_MAX_WIDTH);
461 width, height, format,
490 } /* while skipPixels < width */
510 GLsizei width, GLsizei height,
523 src = _mesa_image_address2d(unpack, pixels, width, height,
525 srcRowStride = _mesa_image_row_stride(unpack, width, format, type);
531 _mesa_pack_uint_24_8_depth_stencil_row(rb->Format, width,
550 GLsizei width, GLsizei height, GLenum type,
564 if (!_mesa_clip_drawpixels(ctx, &x, &y, &width, &height,
584 fast_draw_depth_stencil(ctx, x, y, width, height,
595 zValues = (GLuint *) malloc(width * sizeof(GLuint));
603 _mesa_image_address2d(&clippedUnpack, pixels, width, height,
607 _mesa_unpack_depth_span(ctx, width,
615 _swrast_write_zoomed_z_span(ctx, imgX, imgY, width, x,
620 _mesa_pack_uint_z_row(depthRb->Format, width, zValues, dst);
627 _mesa_unpack_stencil_span(ctx, width, stencilType, stencilValues,
631 _swrast_write_zoomed_stencil_span(ctx, imgX, imgY, width,
634 _swrast_write_stencil_span(ctx, width, x, y + i, stencilValues);
650 GLsizei width, GLsizei height,
689 draw_stencil_pixels( ctx, x, y, width, height, type, unpack, pixels );
694 draw_depth_pixels( ctx, x, y, width, height, type, unpack, pixels );
699 draw_depth_stencil_pixels(ctx, x, y, width, height, type, unpack, pixels);
704 draw_rgba_pixels(ctx, x, y, width, height, format, type, unpack, pixels);