RESIDUAL: Decreasining SMUSH CPU load
|Reported by:||eriktorbjorn||Owned by:|
Currently, Residual's SMUSH player will redraw frames ever after they have been drawn once. The only thing that keeps it from eating all available CPU time is that there's a small delay in the main loop. On my computer this can sometimes cause problems with stuttering audio. I think I've seen the movie lag behind a couple of times as well.
This patch should ensure that each frame is drawn only once. I've tried it with the software renderer, where it appears to work well.
I haven't really tried it with the OpenGL renderer, since it's currently not working for me. My computer starts swapping around the time Manny appears in the intro movie, and runs out of memory well before the movie ends. I don't think that has anything to do with my patch, though.
Ticket imported from: #1258241. Ticket imported from: patches/555.