#15347 closed defect (fixed)
HYPNO: Bad performance under Android in menu of Spider Man: Sinister Six
Reported by: | lephilousophe | Owned by: | eriktorbjorn |
---|---|---|---|
Priority: | high | Component: | Engine: Hypno |
Version: | Keywords: | ||
Cc: | Game: |
Description
With profiling, we can see that Hypno::HypnoEngine::changeCursor
is called very often.
This one spends many time opening files (using Android SAF which is slow) and decoding the image.
The cursor should only be decoded when it actually needs to be changed.
Attachments (1)
Change History (8)
by , 2 months ago
Attachment: | flamegraph_hypno.png added |
---|
comment:1 by , 8 weeks ago
Summary: | Bad performance under Android in menu of Spider Man: Sinsiter Six → HYPNO: Bad performance under Android in menu of Spider Man: Sinister Six |
---|
comment:2 by , 5 days ago
comment:3 by , 5 days ago
Priority: | normal → high |
---|
Would be good to resolve this for the 2.9.0 release.
comment:5 by , 3 days ago
Owner: | changed from | to
---|---|
Resolution: | → fixed |
Status: | new → closed |
comment:6 by , 3 days ago
This was tested on Linux desktop, but not in Android. Can someone confirm it works better there?
Note:
See TracTickets
for help on using tickets.
I've submitted a possible fix, but I have no way of testing it on Android: https://github.com/scummvm/scummvm/pull/6219