D10251: [RFC] Use mipmap filtering in window thumbnails

Fredrik Höglund noreply at phabricator.kde.org
Fri Feb 2 15:36:26 UTC 2018


fredrik created this revision.
fredrik added reviewers: Plasma, VDG.
Restricted Application added projects: Plasma, Frameworks.
Restricted Application added subscribers: Frameworks, plasma-devel.
fredrik requested review of this revision.

REVISION SUMMARY
  Blit the contents of the window texture to a separate mipmap texture, and (re)generate the mipmaps on each damage event.
  
  The mipmap filter is the default linear filter, which results in soft images. Using a filter with a sharpening kernel, such as a cubic or a windowed sinc filter would produce better results, but this is still an improvement over not using a mipmap filter at all.
  
  The scaling is gamma-correct when desktop GL is used.
  
  Note that this patch only modifies the GLX path.

REPOSITORY
  R242 Plasma Framework (Library)

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

AFFECTED FILES
  src/declarativeimports/core/windowthumbnail.cpp
  src/declarativeimports/core/windowthumbnail.h

To: fredrik, #plasma, #vdg
Cc: plasma-devel, #frameworks, michaelh, ZrenBot, ngraham, progwolff, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, mart
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20180202/e5f36ec7/attachment.html>


More information about the Plasma-devel mailing list