#100850 - HotChilli - Thu Aug 31, 2006 3:00 am
Hi!
I try make some effect-based game or demo. I.e. smoke, optical effects or visual effects like in MediaPlayer or WinAmp. But... Here is a problem....
I use static arrays (as backbuffers) for both screens but they copy to v-memory too slow! Copying (through "dmaCopy") from static array performs 5,1 ms. For 60fps i must perform all operations in 16 ms. 16 - 2*5,1 = 5ms! Too small for effect logic, game logic or something else. :(
My question is - can i redraw background (256*192 pixels) in less than 5 ms?
I try make some effect-based game or demo. I.e. smoke, optical effects or visual effects like in MediaPlayer or WinAmp. But... Here is a problem....
I use static arrays (as backbuffers) for both screens but they copy to v-memory too slow! Copying (through "dmaCopy") from static array performs 5,1 ms. For 60fps i must perform all operations in 16 ms. 16 - 2*5,1 = 5ms! Too small for effect logic, game logic or something else. :(
My question is - can i redraw background (256*192 pixels) in less than 5 ms?