PDA

View Full Version : Accessing the 'Global' frame buffer



opcode
06-06-2004, 08:04 PM
I would like to read from the 'Global' frame buffer. At least, that is what I am calling it. Basically, the color buffer which holds the information for the whole screen.

As an example, when you hit 'print screen' you get the contents of all the visible pixels on the screen.

So, I guess I want to access a buffer which is not tied to a window.

Is there any way to do this?

ben harper
06-09-2004, 03:14 PM
If you're talking about capturing pixels from the screen, then this is not about opengl- in that case use GetDC( NULL );

Otherwise read the FAQ or a tutorial on fullscreen stuff.

opcode
06-10-2004, 09:24 PM
So this is a windows API thing?