D29192: Improve Overlay Rendering

Hy Murveit <[email protected]>
Newsgroups gmane.comp.kde.devel.education
Message-ID <4de8300ca6ff5cd0ffc802ebcf24ad9e__36838.3522656345$1587852571$gmane$org@localhost.localdomain>
murveit created this revision.
murveit added a reviewer: mutlaqja.
Herald added a project: KDE Edu.
Herald added a subscriber: kde-edu.
murveit requested review of this revision.

REVISION SUMMARY
  Previous PR to reduce fitsview zoom memory use created pixelated rendering for some overlays
  with large amount of zoom--e.g. when using a small view (e.g. around a focus view with subframe enabled.
  Here we employ a different rendering strategy when the view has a smaller number of pixels (and thus
  memory use shouldn't be as much of an issue) so that the rendering is smoother.

TEST PLAN
  Load fits images, try all the overlays, zoom in and out.
  Overlays should not change with images greater than a megapixel.
  Try this with various views with subframing (e.g. focus), and the rendering should be less pixelated.

REPOSITORY
  R321 KStars

BRANCH
  improve-overlay-rendering (branched from master)

REVISION DETAIL
  https://phabricator.kde.org/D29192

AFFECTED FILES
  kstars/ekos/align/alignview.cpp
  kstars/ekos/align/alignview.h
  kstars/fitsviewer/fitsview.cpp
  kstars/fitsviewer/fitsview.h

To: murveit, mutlaqja
Cc: kde-edu, narvaez, apol
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.