[Scummvm-tracker] [ScummVM :: Bugs] #11075: Get rid of the hideous and slow stretch200To240 for SDL backends
ScummVM :: Bugs
trac at scummvm.org
Tue Aug 13 06:12:33 CEST 2019
#11075: Get rid of the hideous and slow stretch200To240 for SDL backends
----------------------------------+----------------------
Reporter: rsn8887 | Owner: (none)
Type: enhancement | Status: new
Priority: normal | Component: Graphics
Keywords: aspect correction SDL | Game:
----------------------------------+----------------------
SurfaceSdlGraphicsManager is already scaling whenever the various stretch
and fit modes are used. I think on most if not all platforms that use it,
this employs hardware scaling via SDL.
So if hardware scaling works fine, with the user selected filtering etc.,
then why is there still this kludge called "stretch200To240", an ugly and
slow software scaler that is used to do aspect ratio correction in
SurfaceSDLGraphicsManager, see here:
https://github.com/scummvm/scummvm/blob/0fd412ca16a1458540cf0f1f0271a29a0e002432/backends/graphics/surfacesdl
/surfacesdl-graphics.cpp#L1326
This should be implemented by simply adjusting _activeArea to have the
correct aspect ratio.
--
Ticket URL: <https://bugs.scummvm.org/ticket/11075>
ScummVM :: Bugs <https://bugs.scummvm.org>
ScummVM
More information about the Scummvm-tracker
mailing list