When your application issues a glDrawPixels () command, several state values affect how OpenGL interprets and displays the pixel rectangle.
The section 'Drawing Pixel Rectangles with glDrawPixels()' later in this chapter covers the glDrawPixels () command in greater detail. The next section, 'The Current Raster Position,' explains how to set the current raster position and how OpenGL transforms it into window space. OpenGL places the pixel rectangle's bottom-left corner at the current raster position.
glDrawPixels () copies pixel data from an address in application-addressable memory to the framebuffer. OpenGL allows applications to render pixel rectangles to the framebuffer with the glDrawPixels () command.