D4963: Add scaling support into BlurEffect::doBlur

Fredrik Höglund noreply at phabricator.kde.org
Tue Mar 7 17:22:47 UTC 2017


fredrik added a comment.


  The blur shader is not designed to blur and scale simultaneously.
  
  The sampled offsets are computed so that the shader samples between pixels, and the kernel weights are the sums of the gaussian function for the interpolated pixel values at each offset.
  
  This only works when the source and destinations have the same scale.

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

To: davidedmundson, #plasma
Cc: fredrik, plasma-devel, progwolff, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20170307/a67c4551/attachment.html>


More information about the Plasma-devel mailing list