[Scummvm-tracker] [ScummVM :: Bugs] #11075: BACKENDS: Get rid of the hideous and slow stretch200To240 function for surface SDL backend

ScummVM :: Bugs trac at scummvm.org
Tue Aug 13 22:23:32 CEST 2019


#11075: BACKENDS: Get rid of the hideous and slow stretch200To240 function for
surface SDL backend
--------------------------+-----------------------------------
  Reporter:  rsn8887      |      Owner:  (none)
      Type:  enhancement  |     Status:  new
  Priority:  normal       |  Component:  Graphics
Resolution:               |   Keywords:  aspect correction SDL
      Game:               |
--------------------------+-----------------------------------

Comment (by criezy):

 Getting rid of the stretch200To240 was on my list of things to do (at
 least when using SDL2) as part of my work to improve the way aspect ratio
 correction is handled (see [https://github.com/scummvm/scummvm/pull/1132
 Pull Request #1132]). There are several reasons to do it:
  - Letting SDL handle the scaling means that it might indeed be done in
 hardware and be faster.
  - It would also be able to do it in a single pass at the same time it
 stretches the window (as is done in the OpenGL graphics manager) instead
 of doing it in two passes and smearing artefacts of the aspect ratio
 correction during the stretch.
  - It would allow using correction different from the 6:5 correction that
 is currently always applied. See the pull request link above as to why we
 want this.

 Sadly the work in that pull request has stalled more than a year ago,
 before I could get to that point, due to burnout. However in the past few
 months I have slowly been coming back to my list of pending work, and this
 specific task is near the top of the list. So there is some hope. But of
 course anybody else is also welcome to take a stab at this.

-- 
Ticket URL: <https://bugs.scummvm.org/ticket/11075#comment:2>
ScummVM :: Bugs <https://bugs.scummvm.org>
ScummVM


More information about the Scummvm-tracker mailing list