Opened 19 years ago

Closed 19 years ago

Last modified 5 years ago

#8450 closed patch

RESIDUAL: Decreasining SMUSH CPU load

Reported by: eriktorbjorn Owned by:
Priority: normal Component: ResidualVM
Version: Keywords:
Cc: Game:

Description

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.

Attachments (1)

residual-smush.diff (2.2 KB ) - added by eriktorbjorn 19 years ago.
Patch against an August 12 CVS snapshot

Download all attachments as: .zip

Change History (4)

by eriktorbjorn, 19 years ago

Attachment: residual-smush.diff added

Patch against an August 12 CVS snapshot

comment:1 by eriktorbjorn, 19 years ago

Status: newclosed

comment:2 by eriktorbjorn, 19 years ago

Applied, after aquadran okayed it.

comment:3 by digitall, 5 years ago

Component: ResidualVM
Note: See TracTickets for help on using tickets.