[kwin] [Bug 385924] SubSurface rendering results in flickering if window stacked above

2017-11-25 Thread Martin Flöser
https://bugs.kde.org/show_bug.cgi?id=385924

--- Comment #9 from Martin Flöser  ---
Please report as a new bug report, so that we can properly track.

-- 
You are receiving this mail because:
You are watching all bug changes.

[kwin] [Bug 385924] SubSurface rendering results in flickering if window stacked above

2017-11-25 Thread Rainer Finke
https://bugs.kde.org/show_bug.cgi?id=385924

Rainer Finke  changed:

   What|Removed |Added

 CC||m...@rainer-finke.de

--- Comment #8 from Rainer Finke  ---
I know this bug has been closed, so I might miss some updates, but I still have
this issue at least with Kmail on Wayland in the following cases:
1.) Open fullscreen Kmail and move the mouse up and down in the menu e.g. in
Files => flickering of the menu window
2.) Open fullscreen Kmail and then afterwards another fullscreen application
e.g. Kate. Then either move the mouse e.g. into certain areas of the plasma
panel or near the close button (not always the same), or just open in Kate e.g.
the Files menu then you will see Kmail instead of Kate. => flickering and wrong
application surface

Plasma 5.11.3
KDE Frameworks 5.40
KDE Applications 17.11.80
Qt 5.10 beta 4 (compiled with 5.9.2)
Arch Linux 4.14

For reference I opened some time ago the bug
https://bugs.kde.org/show_bug.cgi?id=385678, but I didn't get any response. If
I should open another bug report for kwin, please let me know. Thanks

-- 
You are receiving this mail because:
You are watching all bug changes.

[kwin] [Bug 385924] SubSurface rendering results in flickering if window stacked above

2017-10-31 Thread Martin Flöser
https://bugs.kde.org/show_bug.cgi?id=385924

Martin Flöser  changed:

   What|Removed |Added

 Status|UNCONFIRMED |RESOLVED
  Latest Commit||https://commits.kde.org/kwi
   ||n/d71792378e9aa9c99874092fd
   ||a151bc66efa3df8
   Version Fixed In||5.11.3
 Resolution|--- |FIXED

--- Comment #7 from Martin Flöser  ---
Git commit d71792378e9aa9c99874092fda151bc66efa3df8 by Martin Flöser.
Committed on 31/10/2017 at 09:35.
Pushed by graesslin into branch 'Plasma/5.11'.

Fix rendering issues of subsurfaces by using proper clipping

Summary:
Rendering subsurfaces in the OpenGL compositor has always resulted in
flickering when a subsurface gets repainted and there is a window on top
of it. Looking at the code this is rather obvious: the clipping of the
main window is ignored and the complete subsurface is rendered as is and
thus also rendering above windows where it should not render.

This change passes the clip region and whether hardware clipping is used
to the rendering of subsurfaces which in turn uses it for rendering the
texture.
FIXED-IN: 5.11.3

Test Plan:
Opened systemsettings, went to decoration KCM, put a window
partially above and scrolled. Without change: strong flicker, with change:
no flicker.

Reviewers: #kwin, #plasma

Subscribers: plasma-devel, kwin

Tags: #kwin

Differential Revision: https://phabricator.kde.org/D8369

M  +4-4scene_opengl.cpp

https://commits.kde.org/kwin/d71792378e9aa9c99874092fda151bc66efa3df8

-- 
You are receiving this mail because:
You are watching all bug changes.

[kwin] [Bug 385924] SubSurface rendering results in flickering if window stacked above

2017-10-19 Thread Martin Flöser
https://bugs.kde.org/show_bug.cgi?id=385924

Martin Flöser  changed:

   What|Removed |Added

  Component|wayland-generic |scene-opengl
Summary|Plasma Wayland: Nothing |SubSurface rendering
   |renders correctly above the |results in flickering if
   |KMail window|window stacked above

-- 
You are receiving this mail because:
You are watching all bug changes.

[kwin] [Bug 385924] SubSurface rendering results in flickering if window stacked above

2017-10-19 Thread Martin Flöser
https://bugs.kde.org/show_bug.cgi?id=385924

Martin Flöser  changed:

   What|Removed |Added

URL||https://phabricator.kde.org
   ||/D8369
  Flags||ReviewRequest+

--- Comment #6 from Martin Flöser  ---
Possible patch at: https://phabricator.kde.org/D8369

I spent days on this issue in the past without seeing the obvious m(

-- 
You are receiving this mail because:
You are watching all bug changes.