Opened 18 years ago
Closed 18 years ago
Last modified 5 years ago
#8450 closed patch
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.
Change History (4)
by , 18 years ago
comment:1 by , 18 years ago
|Status:||new → closed|
comment:2 by , 18 years ago
Applied, after aquadran okayed it.
comment:3 by , 5 years ago
Patch against an August 12 CVS snapshot