Lines Matching refs:unpack

57                            const struct gl_pixelstore_attrib *unpack,
62 _mesa_image_address2d(unpack, pixels, width,
64 const GLint srcRowStride = _mesa_image_row_stride(unpack, width,
106 const struct gl_pixelstore_attrib *unpack,
111 _mesa_image_address2d(unpack, pixels, width,
114 _mesa_image_row_stride(unpack, width, GL_RGBA, GL_UNSIGNED_BYTE);
157 const struct gl_pixelstore_attrib *unpack,
162 _mesa_image_address2d(unpack, pixels, width,
165 _mesa_image_row_stride(unpack, width, format, type);
209 struct gl_pixelstore_attrib unpack;
225 unpack = *userUnpack;
228 if (!_mesa_clip_drawpixels(ctx, &x, &y, &width, &height, &unpack)) {
238 &unpack, pixels, fb->FlipY);
247 &unpack, pixels, fb->FlipY);
254 format, type, &unpack, pixels,
272 const struct gl_pixelstore_attrib *unpack,
287 const GLvoid *source = _mesa_image_address2d(unpack, pixels,
292 type, source, unpack,
316 const struct gl_pixelstore_attrib *unpack,
333 && !unpack->SwapBytes) {
338 _mesa_image_address2d(unpack, pixels, width, height,
353 && !unpack->SwapBytes) {
359 _mesa_image_address2d(unpack, pixels, width, height,
386 const GLvoid *zSrc = _mesa_image_address2d(unpack,
400 type, zSrc, unpack);
422 const struct gl_pixelstore_attrib *unpack,
432 unpack, pixels)) {
475 unpack,
486 } else if (unpack->SwapBytes) {
492 int imageStride = _mesa_image_image_stride(unpack, width, height, format, type);
500 _mesa_swap_bytes_2d_image(format, type, unpack,
508 = _mesa_image_row_stride(unpack, width, format, type);
514 = (const GLubyte *) _mesa_image_address2d(unpack, pixels,
593 const struct gl_pixelstore_attrib *unpack,
605 src = _mesa_image_address2d(unpack, pixels, width, height,
607 srcRowStride = _mesa_image_row_stride(unpack, width, format, type);
632 const struct gl_pixelstore_attrib *unpack,
642 struct gl_pixelstore_attrib clippedUnpack = *unpack;
733 const struct gl_pixelstore_attrib *unpack,
758 pixels = _mesa_map_pbo_source(ctx, unpack, pixels);
770 draw_stencil_pixels( ctx, x, y, width, height, type, unpack, pixels );
775 draw_depth_pixels( ctx, x, y, width, height, type, unpack, pixels );
780 draw_depth_stencil_pixels(ctx, x, y, width, height, type, unpack, pixels);
785 draw_rgba_pixels(ctx, x, y, width, height, format, type, unpack, pixels);
790 _mesa_unmap_pbo_source(ctx, unpack);