09.09.2011, 06:41:01
No, the game has its own ideas about which surfaces go into which memory. In Ares we added code to force all surfaces into system memory, and rewrote the screenshot function to write 16 bit BMPs. This makes the lock itself cheap, and the screenshot writer only needs to copy data from the surface without recompressing it in any way. It still feels slow to me, but that might be because I'm running 1920x1080.
Search for Game_MakeScreenshot in http://svn.renegadeprojects.com/filedeta...rfaces.cpp for how it was done.
Search for Game_MakeScreenshot in http://svn.renegadeprojects.com/filedeta...rfaces.cpp for how it was done.