Lines Matching refs:packing

110       /* For blit-based ReadPixels packing, the clamping is done automatically
119 /* For CPU-based ReadPixels packing, the clamping must always be done
152 * cannot be used for ReadPixels packing.
199 const struct gl_pixelstore_attrib *packing)
217 packing->SwapBytes, NULL)) {
231 const struct gl_pixelstore_attrib *packing)
239 if (!readpixels_can_use_memcpy(ctx, format, type, packing)) {
243 dstStride = _mesa_image_row_stride(packing, width, format, type);
244 dst = (GLubyte *) _mesa_image_address2d(packing, pixels, width, height,
282 const struct gl_pixelstore_attrib *packing )
292 if (packing->SwapBytes)
306 dstStride = _mesa_image_row_stride(packing, width, GL_DEPTH_COMPONENT, type);
307 dst = (GLubyte *) _mesa_image_address2d(packing, pixels, width, height,
329 const struct gl_pixelstore_attrib *packing )
348 read_uint_depth_pixels(ctx, x, y, width, height, type, pixels, packing)) {
352 dstStride = _mesa_image_row_stride(packing, width, GL_DEPTH_COMPONENT, type);
353 dst = (GLubyte *) _mesa_image_address2d(packing, pixels, width, height,
369 _mesa_pack_depth_span(ctx, width, dst, type, depthValues, packing);
393 const struct gl_pixelstore_attrib *packing )
419 dest = _mesa_image_address2d(packing, pixels, width, height,
422 _mesa_pack_stencil_span(ctx, width, type, dest, stencil, packing);
444 const struct gl_pixelstore_attrib *packing )
467 dst_stride = _mesa_image_row_stride(packing, width, format, type);
471 dst = (GLubyte *) _mesa_image_address2d(packing, pixels, width, height,
633 if (packing->SwapBytes) {
634 _mesa_swap_bytes_2d_image(format, type, packing,
688 * re-packing.
754 const struct gl_pixelstore_attrib *packing,
801 depthVals, stencilVals, packing);
832 const struct gl_pixelstore_attrib *packing )
841 dst = (GLubyte *) _mesa_image_address2d(packing, pixels,
845 dstStride = _mesa_image_row_stride(packing, width,
850 !scaleOrBias && !stencilTransfer && !packing->SwapBytes) {
861 type, packing,
875 const struct gl_pixelstore_attrib *packing,
881 pixels = _mesa_map_pbo_dest(ctx, packing, pixels);
886 pixels, packing)) {
887 _mesa_unmap_pbo_dest(ctx, packing);
895 packing);
899 packing);
903 packing);
908 packing);
911 _mesa_unmap_pbo_dest(ctx, packing);