[Scummvm-tracker] [ScummVM :: Bugs] #15492: SCUMM: MONKEY2 (MAC): Slow rendering with Macintosh titles on OSX PPC in 2.9.0pre
ScummVM :: Bugs
trac at scummvm.org
Wed Nov 20 09:39:34 UTC 2024
#15492: SCUMM: MONKEY2 (MAC): Slow rendering with Macintosh titles on OSX PPC in
2.9.0pre
--------------------------------------------+------------------------------
Reporter: dwatteau | Owner: (none)
Type: defect | Status: new
Priority: normal | Component: Engine: SCUMM
Version: | Resolution:
Keywords: macintosh,performance,rendering | Game: Monkey Island 2
--------------------------------------------+------------------------------
Comment (by Torbjörn Andersson <eriktorbjorn@…>):
In [changeset:"97ced3166ce9da8afd2b2cf5e14860b459e682f5" 97ced31]:
{{{#!CommitTicketReference repository=""
revision="97ced3166ce9da8afd2b2cf5e14860b459e682f5"
SCUMM: MACGUI: Optimize Mac palette handling (bug #15492)
Previously, every palette change in a game get passed on to the Mac
Window Manager, which would then have to look up new colors for drawing
Mac GUI stuff. This was fine for some games, but later ones do a lot of
palette animations, which could slow things down.
Now the Mac Window Manager gets the new palette only when it's about to
draw the Mac menu, or when it's about to draw a dialog (since those can
be triggered outside of the menu).
Additionally, the Mac Window Manager now triggers the auto-opening of
the menu in the event handler, not in the drawing code. Otherwise the
menu would be drawn once before the SCUMM Mac GUI could notice that the
menu was visible, causing an ugly color glitch.
}}}
--
Ticket URL: <https://bugs.scummvm.org/ticket/15492#comment:4>
ScummVM :: Bugs <https://bugs.scummvm.org>
ScummVM
More information about the Scummvm-tracker
mailing list