Is there a method for accessing the display image that can be run at a high framerate, i.e. 30 fps or higher? I want to write a small application that records a video of the game I am playing. I can handle raw DIB etc.
Is there a method for accessing the display image that can be run at a high framerate, i.e. 30 fps or higher? I want to write a small application that records a video of the game I am playing. I can handle raw DIB etc.
Sorry, perhaps I'm not reading very well, but do you mean "read back what's on the screen" or "display something on the screen"?
--
Mats
Compilers can produce warnings - make the compiler programmers happy: Use them!
Please don't PM me for help - and no, I don't do help over instant messengers.
Read back whats on the screen of course, good lord im not a total noob
I found this so far.
The code in that link looks about right. You probably won't get overlays/video/cursor in the bitmap. Unfortunately, reading back from the framebuffer isn't exactly the fastest thing you can do, but it should work. Of course, you wan't to set a timer for 33ms to capture 30 fps. Should be doable, I think.
--
Mats
Compilers can produce warnings - make the compiler programmers happy: Use them!
Please don't PM me for help - and no, I don't do help over instant messengers.