Lines Matching refs:packing
58 const struct gl_pixelstore_attrib *packing ) in fast_read_depth_pixels() argument
68 if (packing->SwapBytes) in fast_read_depth_pixels()
86 dstStride = _mesa_image_row_stride(packing, width, GL_DEPTH_COMPONENT, type); in fast_read_depth_pixels()
87 dst = (GLubyte *) _mesa_image_address2d(packing, pixels, width, height, in fast_read_depth_pixels()
114 const struct gl_pixelstore_attrib *packing ) in read_depth_pixels() argument
132 if (fast_read_depth_pixels(ctx, x, y, width, height, type, pixels, packing)) in read_depth_pixels()
135 dstStride = _mesa_image_row_stride(packing, width, GL_DEPTH_COMPONENT, type); in read_depth_pixels()
136 dst = (GLubyte *) _mesa_image_address2d(packing, pixels, width, height, in read_depth_pixels()
152 _mesa_pack_depth_span(ctx, width, dst, type, depthValues, packing); in read_depth_pixels()
176 const struct gl_pixelstore_attrib *packing ) in read_stencil_pixels() argument
202 dest = _mesa_image_address2d(packing, pixels, width, height, in read_stencil_pixels()
205 _mesa_pack_stencil_span(ctx, width, type, dest, stencil, packing); in read_stencil_pixels()
230 const struct gl_pixelstore_attrib *packing, in fast_read_rgba_pixels_memcpy() argument
265 dstStride = _mesa_image_row_stride(packing, width, format, type); in fast_read_rgba_pixels_memcpy()
266 dst = (GLubyte *) _mesa_image_address2d(packing, pixels, width, height, in fast_read_rgba_pixels_memcpy()
323 const struct gl_pixelstore_attrib *packing, in slow_read_rgba_pixels() argument
334 dstStride = _mesa_image_row_stride(packing, width, format, type); in slow_read_rgba_pixels()
335 dst = (GLubyte *) _mesa_image_address2d(packing, pixels, width, height, in slow_read_rgba_pixels()
366 type, dst, packing, transferOps); in slow_read_rgba_pixels()
386 const struct gl_pixelstore_attrib *packing ) in read_rgba_pixels() argument
402 format, type, pixels, packing, in read_rgba_pixels()
408 format, type, pixels, packing, transferOps); in read_rgba_pixels()
523 const struct gl_pixelstore_attrib *packing, in slow_read_depth_stencil_pixels_separate() argument
570 depthVals, stencilVals, packing); in slow_read_depth_stencil_pixels_separate()
601 const struct gl_pixelstore_attrib *packing ) in read_depth_stencil_pixels() argument
610 dst = (GLubyte *) _mesa_image_address2d(packing, pixels, in read_depth_stencil_pixels()
614 dstStride = _mesa_image_row_stride(packing, width, in read_depth_stencil_pixels()
619 !scaleOrBias && !stencilTransfer && !packing->SwapBytes) { in read_depth_stencil_pixels()
630 type, packing, in read_depth_stencil_pixels()
644 const struct gl_pixelstore_attrib *packing, in _mesa_readpixels() argument
647 struct gl_pixelstore_attrib clippedPacking = *packing; in _mesa_readpixels()