The post just about sums it up, but here are the particulars:
I am rendering into a fullscreen 16 bit single-buffered Windows window
using OpenGL 1.1 calls. I would like to quickly copy the pixel data
into a specific array of words after the image is rendered. Using
OpenGL, I could save the screen data to an array, but it uses 24 bits
per pixel. (OpenGL 1.2 fixes this, but that revision isn't included in
If I had to, I could transform the 24 bit data into 16 bits, but speed
is of the utmost importance here.
Given the hDC, the hWND, yada, yada, what is the quickest method of
copying that pixel data (in 16 bit 555 format) into an array of words?
Any help is greatly appreciated.
Sent via Deja.com