[Differential] [Commented On] D3502: Provide scale offset to WindowVertex calculation

graesslin (Martin Gräßlin) noreply at phabricator.kde.org
Fri Nov 25 15:55:34 UTC 2016


graesslin added a comment.


  In https://phabricator.kde.org/D3502#65291, @davidedmundson wrote:
  
  > > What about using a textureMatrix and do the mapping in the shader?
  >
  > In an earlier version I did have
  >
  >   Scene::renderWindow
  >   if (node == ContentLeaf) {    setScale(topLevel->scale);  }
  >   
  >
  > which I think is effectively what you're suggesting?
  
  
  no, I suggest using a TextureMatrix and do the scaling through the matrix. We used to have a texture matrix by default in the shaders, but seems we don't use it any more.

REPOSITORY
  rKWIN KWin

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

EMAIL PREFERENCES
  https://phabricator.kde.org/settings/panel/emailpreferences/

To: davidedmundson, #plasma, graesslin
Cc: graesslin, plasma-devel, kwin, lesliezhai, ali-mohamed, hardening, jensreuterberg, abetts, sebas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20161125/c771bb98/attachment-0001.html>


More information about the Plasma-devel mailing list