Project

General

Profile

Enhancement #22

Do not paint windows behind an opaque window

Added by Arnaud Fontaine about 6 years ago. Updated almost 6 years ago.

Status:
New
Priority:
Normal
Category:
Core
Target version:
Start date:
01/05/2012
Due date:
% Done:

0%


Description

For performance reasons, any windows behind an opaque one should not be painted at all. This should greatly improved performances when using for example the max layout of Awesome.

Associated revisions

Revision 0791eda9 (diff)
Added by Arnaud Fontaine almost 6 years ago

If a window is opaque, avoid painting occluded area (refs #22).

This is a naive implementation because the background is still painted
needlessly and this function should not even be called if the window is
completely occluded (but that would require managing regions on the
client-side)...

Revision 89cc73e9 (diff)
Added by Arnaud Fontaine almost 6 years ago

Revert "If a window is opaque, avoid painting occluded area (refs #22)." (closes #32, #33).

This reverts commit 0791eda9be829668cb806ea9c9fc80beef8d2310 which is
completely wrong as the windows are painted from the bottom to the top of the
stack.

History

#1 Updated by Arnaud Fontaine almost 6 years ago

  • Priority changed from High to Normal
  • % Done changed from 0 to 30

#2 Updated by Arnaud Fontaine almost 6 years ago

  • % Done changed from 30 to 0

#3 Updated by Arnaud Fontaine almost 6 years ago

  • Target version changed from 0.3 to 0.4

Also available in: Atom PDF