View Single Post
Old 01-27-2008, 04:44 PM   #79
shillingworth
A Predatory Creeper
 
Join Date: Dec 2002
Server: Bertoxxulous
Posts: 251
Interface Author - Click to view interfaces
Default

Is good to be back. Things go slower without having the vast knowledge of the internet at my fingertips, though if I looked up a compression algorithm I doubt the snapshot would be nearly as efficient as it is having built one from scratch. The first couple weeks of messing with getting DirectX fully operational was a major PITA.

I use two monitors so it was important to be able to move the window to the second monitor while debugging, which just gives ya a black screen if you don't set DirectX up properly for multi-monitor support. Having virtually no documentation on the process of moving a DirectX surface from one monitor to the other without losing buffers, I had to play with it until figuring it out. I kinda cheated though, I keep a copy of the Texture buffer in system memory and just duplicate that copy to the video memory when the device is lost and recreated.
__________________

"Computers are like Air Conditioners, they stop working properly when you open Windows."
shillingworth is offline   Reply With Quote