<table><tr><td style="">davidedmundson added a comment.
</td><a style="text-decoration: none; padding: 4px 8px; margin: 0 8px 8px; float: right; color: #464C5C; font-weight: bold; border-radius: 3px; background-color: #F7F7F9; background-image: linear-gradient(to bottom,#fff,#f1f0f1); display: inline-block; border: 1px solid rgba(71,87,120,.2);" href="https://phabricator.kde.org/D18005">View Revision</a></tr></table><br /><div><div><blockquote style="border-left: 3px solid #a7b5bf; color: #464c5c; font-style: italic; margin: 4px 0 12px 0; padding: 4px 12px; background-color: #f8f9fc;"><p><a href="https://phabricator.kde.org/p/filipf/" style="
              border-color: #f1f7ff;
              color: #19558d;
              background-color: #f1f7ff;
                border: 1px solid transparent;
                border-radius: 3px;
                font-weight: bold;
                padding: 0 4px;">@filipf</a> That looks about right!</p></blockquote>

<p>It's not. That's only within 5.x.</p>

<p>This code has been around since at least <a href="https://phabricator.kde.org/R524:ede349f8f2db9930c96ab4e56f9440ba82c24cb7" style="background-color: #e7e7e7;
          border-color: #e7e7e7;
          border-radius: 3px;
          padding: 0 4px;
          font-weight: bold;
          color: black;text-decoration: none;">ede349f8f2db9930c96ab4e56f9440ba82c24cb7</a> on kde-workspace which was before KDE 4.2</p>

<blockquote style="border-left: 3px solid #a7b5bf; color: #464c5c; font-style: italic; margin: 4px 0 12px 0; padding: 4px 12px; background-color: #f8f9fc;"><p>Reading through that bug report, it looks like we do some magic to avoid storing huge pixmaps in memory</p></blockquote>

<p><a href="http://doc.qt.io/qt-5/qml-qtquick-image.html#sourceSize-prop" class="remarkup-link" target="_blank" rel="noreferrer">http://doc.qt.io/qt-5/qml-qtquick-image.html#sourceSize-prop</a></p>

<p>Effectively it's a resize before the texture upload, rather than being done in the shader every frame.<br />
Only the resized version will be in memory, but it will be the uncropped version which is why you sometimes still see a tiny increase.</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R131 Plasma Wallpapers</div></div></div><br /><div><strong>BRANCH</strong><div><div>keep-only-largest-size (branched from master)</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D18005">https://phabricator.kde.org/D18005</a></div></div><br /><div><strong>To: </strong>ngraham, VDG, Plasma, ndavis<br /><strong>Cc: </strong>rikmills, filipf, davidedmundson, cfeck, ndavis, plasma-devel, kvanton, jraleigh, GB_2, ragreen, Pitel, ZrenBot, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, mart<br /></div>