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