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#366246 <https://phabricator.kde.org/D13575#366246>, @zzag wrote:
  
  > Another way to fix this problem is to render an untransformed window into an off-screen texture, then map it on the screen. The problem with this method is that we probably would need to get rid of different window quad types (e.g. WindowQuadShadow, WindowQuadDecoration, etc), which might break some effects, like the Screenshot. This would probably also fix T4441 <https://phabricator.kde.org/T4441>. We could maybe introduce different flags to control what parts of windows(e.g. shadows, etc) are rendered.
  >
  > Difficult.
  
  
  I don't think we need to get rid of anything, but we would need to add a WindowQuadComposite type that would be a union of all the other quads.
  The texture coordinates in these quads would be coordinates in the offscreen texture.
  Effects that transform quads (wobbly windows, etc.) would need to be changed to split and transform only the composite quads.

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.