[Scummvm-tracker] [ScummVM] #10113: TITANIC: Optimization improvements for low-end systems
dafioram
trac at scummvm.org
Sun Aug 27 17:11:48 CEST 2017
#10113: TITANIC: Optimization improvements for low-end systems
-------------------------------+-----------------------------
Reporter: dafioram | Owner: (none)
Type: enhancement | Status: new
Priority: normal | Component: Engine: Titanic
Resolution: | Keywords:
Game: Starship Titanic |
-------------------------------+-----------------------------
Comment (by dafioram):
I ran both versions on my linux VM in release mode. Both ran smoothly so I
will need to run on RP3, next, to see if there is a visual difference.
I was talking to the bellbot a lot so that is why there are so many
TTscriptMappings::load() calls. I did that because talking to the bellbot
has him animate, so the TTscriptMappings::load() calls can be ignored,
although that might be an area to improve also.
Graphics::ManagedSurface::blitFrom went from the 5th top item to the 6th
and it takes about 80% as long as it did before (50 msecs shorter).
Titanic::CVideoSurface::transBlitRect was called about the same number of
times in both, but it takes about twice as long in the blit changed one
(230 msecs vs. 390 msecs). So maybe inlining
Titanic::CVideoSurface::transBlitRect would help.
--
Ticket URL: <https://bugs.scummvm.org/ticket/10113#comment:9>
ScummVM <https://bugs.scummvm.org>
ScummVM
More information about the Scummvm-tracker
mailing list