Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Re: Screenshots
#2
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.

Worth playing: 1 | 2 | 3
Reply


Messages In This Thread
Re: Screenshots - by XTF - 08.09.2011, 22:13:36
RE: Re: Screenshots - by DCoder - 09.09.2011, 06:41:01
RE: Screenshots - by XTF - 09.09.2011, 10:28:20
RE: Re: Screenshots - by DCoder - 09.09.2011, 18:53:27
RE: Screenshots - by XTF - 10.09.2011, 14:48:15
RE: Re: Screenshots - by XTF - 13.09.2011, 15:15:41
RE: Re: Screenshots - by DCoder - 13.09.2011, 19:04:15



Users browsing this thread: 1 Guest(s)