D13575: [scenes/opengl] Pad decoration parts

Fredrik Höglund <[email protected]>
Newsgroups gmane.comp.kde.devel.kwin
Message-ID <[email protected]>
fredrik added a comment.


  In D13575#366344 <https://phabricator.kde.org/D13575#366344>, @zzag wrote:
  
  > So, if I understand you correctly, we could have either WindowQuadShadow/WindowQuadContents/WindowQuadDecoration/WindowQuadSubSurface or WindowQuadComposite(which is the union of the previously mentioned quads), depending on what an effect would like to do, right?
  
  
  I think all quad types need to be present in the quad list, but:
  
  - Effects are only allowed to transform WindowQuadComposite quads.
  - If the window or screen is transformed in any way (except for translations), or if the window has sub-surfaces, the WindowQuadComposite quads will be used to render the window. Otherwise the normal quads are used.
  
  We could also add a flag to force the use of the composite quad type.

REPOSITORY
  R108 KWin

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

To: zzag, #kwin, davidedmundson, fredrik, graesslin
Cc: kwin, fvogt, mkulinski, ragreen, jackyalcine, Pitel, iodelay, bwowk, ZrenBot, lesliezhai, ali-mohamed, hardening, jensreuterberg, abetts, sebas, apol, mart
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.