kwin/libkwineffects
Vlad Zagorodniy e02573263f [libkwineffects] Introduce timeline redirect modes
Summary:
The redirect modes control behavior of the timeline when its direction
is changed at the start or target position. For example, consider the
following piece of code:

    TimeLine timeLine(1000ms, TimeLine::Forward);
    timeLine.setDirection(TimeLine::Backward);

What should happen when the direction of the timeline was changed to go
backward? Should the current value of the timeline go from 1 to 0, or
should the timeline stop its "execution"?

In the relaxed mode, the timeline will go from 1 to 0.
In the strict mode, the timeline will stop its execution.

Different effects may prefer different modes for source and target
positions. For example, most C++ effect would prefer relaxed mode for
source position, and strict mode for target position. On the other side,
scripted effects(AnimationEffect) would prefer strict mode for source
position, and relaxed mode for target position(because of set).

Reviewers: #kwin, graesslin

Reviewed By: #kwin, graesslin

Subscribers: kwin

Tags: #kwin

Differential Revision: https://phabricator.kde.org/D16447
2018-11-17 13:43:39 +02:00
..
anidata.cpp [libkwineffects] Gracefully release previous window pixmap 2018-11-12 12:51:08 +02:00
anidata_p.h [libkwineffects] Gracefully release previous window pixmap 2018-11-12 12:51:08 +02:00
CMakeLists.txt Bump libkwineffects SO version for 5.15 2018-10-04 00:57:44 +03:00
kwinanimationeffect.cpp [libkwineffects] Gracefully release previous window pixmap 2018-11-12 12:51:08 +02:00
kwinanimationeffect.h [effects/dialogparent] Fix flickering of parent windows 2018-10-10 18:34:12 +03:00
kwinconfig.h.cmake
kwineffects.cpp [libkwineffects] Introduce timeline redirect modes 2018-11-17 13:43:39 +02:00
kwineffects.h [libkwineffects] Introduce timeline redirect modes 2018-11-17 13:43:39 +02:00
kwinglobals.h Fix minor EBN issues 2018-08-29 21:02:16 +03:00
kwinglplatform.cpp Fix the build on armhf/aarch64 2018-03-06 09:25:33 +05:30
kwinglplatform.h
kwingltexture.cpp don't override m_canUseMipmaps 2018-03-14 04:37:44 +02:00
kwingltexture.h Remove Qt module declarations in includes 2018-06-05 18:07:23 +01:00
kwingltexture_p.h [libkwineffects] Try fixing compile error with clang 2017-10-01 09:54:12 +02:00
kwinglutils.cpp [libkwineffects] Push render targets more efficiently in GLRenderTarget::pushRenderTargets 2018-07-03 12:33:04 +03:00
kwinglutils.h Updated the blur method to use the more efficient dual kawase blur algorithm. 2018-01-26 02:31:45 +09:00
kwinglutils_funcs.cpp
kwinglutils_funcs.h
kwinxrenderutils.cpp
kwinxrenderutils.h
logging.cpp
logging_p.h
Mainpage.dox
Messages.sh