Lines Matching defs:packing

106       /* For blit-based ReadPixels packing, the clamping is done automatically
115 /* For CPU-based ReadPixels packing, the clamping must always be done
141 * cannot be used for ReadPixels packing.
188 const struct gl_pixelstore_attrib *packing)
206 packing->SwapBytes, NULL)) {
220 const struct gl_pixelstore_attrib *packing)
228 if (!readpixels_can_use_memcpy(ctx, format, type, packing)) {
232 dstStride = _mesa_image_row_stride(packing, width, format, type);
233 dst = (GLubyte *) _mesa_image_address2d(packing, pixels, width, height,
271 const struct gl_pixelstore_attrib *packing )
281 if (packing->SwapBytes)
295 dstStride = _mesa_image_row_stride(packing, width, GL_DEPTH_COMPONENT, type);
296 dst = (GLubyte *) _mesa_image_address2d(packing, pixels, width, height,
318 const struct gl_pixelstore_attrib *packing )
337 read_uint_depth_pixels(ctx, x, y, width, height, type, pixels, packing)) {
341 dstStride = _mesa_image_row_stride(packing, width, GL_DEPTH_COMPONENT, type);
342 dst = (GLubyte *) _mesa_image_address2d(packing, pixels, width, height,
358 _mesa_pack_depth_span(ctx, width, dst, type, depthValues, packing);
382 const struct gl_pixelstore_attrib *packing )
408 dest = _mesa_image_address2d(packing, pixels, width, height,
411 _mesa_pack_stencil_span(ctx, width, type, dest, stencil, packing);
433 const struct gl_pixelstore_attrib *packing )
456 dst_stride = _mesa_image_row_stride(packing, width, format, type);
460 dst = (GLubyte *) _mesa_image_address2d(packing, pixels, width, height,
622 if (packing->SwapBytes) {
623 _mesa_swap_bytes_2d_image(format, type, packing,
677 * re-packing.
743 const struct gl_pixelstore_attrib *packing,
790 depthVals, stencilVals, packing);
821 const struct gl_pixelstore_attrib *packing )
830 dst = (GLubyte *) _mesa_image_address2d(packing, pixels,
834 dstStride = _mesa_image_row_stride(packing, width,
839 !scaleOrBias && !stencilTransfer && !packing->SwapBytes) {
850 type, packing,
864 const struct gl_pixelstore_attrib *packing,
870 pixels = _mesa_map_pbo_dest(ctx, packing, pixels);
875 pixels, packing)) {
876 _mesa_unmap_pbo_dest(ctx, packing);
884 packing);
888 packing);
892 packing);
897 packing);
900 _mesa_unmap_pbo_dest(ctx, packing);