PDA

View Full Version : Getting the pixel data from HDC



vunry
01-03-2006, 04:38 AM
I have the HDC of the desktop. But what is the quickest way to get the pixel data from the HDC and place it onto a quad?

I need it fast because i'll be taking alot of screenshots of the desktop so you can see it in motion. Any help would be greatly appreciated.

Ehsan Kamrani
01-09-2006, 12:35 AM
I'm not sure. But i think that one of th solutions is to use from the FBO-Frame Buffer Object- and attach a texture to the FBO. then you can draw to this texture and attach this texture to the quad surfaces.
-Ehsan-