Results from copies from outside the window, or from regions of the window that are not exposed, are hardware dependant and undefined. Both width and height must not be negative. Several parameters control the processing of the pixel data while it is being copied. This reference page describes the effect on glCopyPixels of most, but not all, of the parameters specified by these three commands. This pixel is said to be the i th pixel in the j th row.
Pixels are copied in row order from the lowest to the highest row, left to right in each row.
If the GL is in color index mode, each index that is read from this buffer is converted to a fixed-point format with an unspecified number of bits to the right of the binary point. In either case, zero bits fill otherwise unspecified bit locations in the result. If the GL is in RGBA mode, the red, green, blue and alpha components of each pixel that is read are converted to an internal floating-point format with unspecified precision. The conversion maps the largest representable component value to 1.0 and component value zero to 0.0. These pixel fragments are then treated just like the fragments generated by rasterizing points, lines, or polygons.