kwin/tests
Martin Gräßlin 941c02a60f Introduce cross-fading with previous pixmap
Cross fading with previous pixmap is achieved by referencing the old
window pixmap. WindowPaintData has a cross-fade-factor which interpolates
between 0.0 (completely old pixmap) to 1.0 (completely new pixmap).

If a cross fading factor is set and a previous pixmap is valid this one
is rendered on top of the current pixmap with opacity adjusted. This
results in a smoother fading.

To simplify the setup the AnimationEffect is extended and also takes care
about correctly (un)referencing the previous window pixmap. The maximize
effect is adjusted to make use of this new capabilities.

Unfortunately this setup has a huge problem with the case that the window
decoration gets smaller (e.g. from normal to maximized state). In this
situation it can happen that the old window is rendered with parts outside
the content resulting in video garbage being shown. To prevent this a set
of new WindowQuads is generated with normalized texture coordinates in
the safe area which contains real content.

For OpenGL2Window a PreviousContentLeaf is added which is only set up in
case the crass fading factor is set.

REVIEW: 110578
2013-06-05 08:18:28 +02:00
..
CMakeLists.txt Support for cursor change tracking in KWin::Cursor 2013-05-28 08:02:59 +02:00
test_client_machine.cpp Remove mocked getStringProperty for test_client_machine 2013-05-13 09:33:50 +02:00
test_screen_paint_data.cpp Remove not needed includes from kwineffect header files 2013-03-06 10:23:09 +01:00
test_update_kwin_49.cpp KConf Update script for KWin 4.9 2012-05-24 19:02:48 +02:00
test_virtual_desktops.cpp normalize signal/slot 2013-05-11 14:09:15 +02:00
test_window_paint_data.cpp Introduce cross-fading with previous pixmap 2013-06-05 08:18:28 +02:00
test_xcb_window.cpp Light-weight wrapper class for an xcb_window_t 2013-02-04 08:47:46 +01:00
test_xcb_wrapper.cpp Do not use a shared pointer for the Xcb::Wrapper 2013-01-25 08:51:38 +01:00
testutils.h Do not use a shared pointer for the Xcb::Wrapper 2013-01-25 08:51:38 +01:00