kwin/effects
Igor Poboiko 6408e0ba60 [effects/cube] Fix animation and reflection issues
The main problem was that inside the effect there was manualVerticalAngle,
which did not represent the actual rotation angle of the cube during the
animation, but used to calculate the position of the reflection. The actual
angle was calculated on-the-fly and was not exposed outside.

Brief description of what the code does:

- variables currentAngle and verticalCurrentAngle now always represent the
current position of the cube. They are updated when one uses the mouse and
inside the rotateCube() method, which is called in prePaintScreen().
- two queues, animations (used for Start / Stop / Left / Right) and
verticalAnimations (used for Up / Down) are used for scheduling the animations
if i.e. user presses several keys in a row. The code checks whether the last
animation has finished (and thus we need to start a new one) inside
prePaintScreen() and postPaintScreen()
 - when the animation starts, code saves the starting position of the cube
inside startAngle, startFrontDesktop and verticalStartAngle variables, which
are used to calculate the actual cube position during the animation later.
This is done by startAnimation() and startVerticalAnimation(), which also
calculates the QTimeLine curves needed for animation

BUG: 213599
BUG: 373101

Differential Revision: https://phabricator.kde.org/D9860
2018-06-01 18:32:27 +03:00
..
backgroundcontrast [effects/backgroundcontrast] Calculate correct y-coord of the copy rect 2018-05-17 02:51:50 -07:00
blur [effects/blur] Check for blitting support 2018-06-01 12:18:50 +02:00
colorpicker
coverswitch [effects/coverswitch] Fix broken reflection on multi-monitor setup 2018-03-26 18:57:25 +02:00
cube [effects/cube] Fix animation and reflection issues 2018-06-01 18:32:27 +03:00
desktopgrid [effects/desktopgrid] Enable blur behind windows 2018-05-01 23:01:55 +02:00
dialogparent
diminactive
dimscreen
eyeonscreen
fade
fadedesktop
fallapart
flipswitch SVN_SILENT made messages (.desktop file) - always resolve ours 2018-02-12 07:04:02 +01:00
frozenapp [effects/frozenapp] Delete debug prints 2018-05-31 12:08:39 +03:00
glide
highlightwindow
invert SVN_SILENT made messages (.desktop file) - always resolve ours 2018-02-12 07:04:02 +01:00
kscreen [KScreen Effect] Fix fade to black 2018-04-26 11:15:38 +02:00
login SVN_SILENT made messages (.desktop file) - always resolve ours 2018-05-18 05:45:28 +02:00
logout SVN_SILENT made messages (.desktop file) - always resolve ours 2018-02-12 07:04:02 +01:00
lookingglass
magiclamp [effects/magiclamp] Don't reset timeline 2018-04-20 21:10:47 +03:00
magnifier
maximize [effects/maximize] Use more verbose name for WindowForceBlurRole instead of an integer 2018-05-31 12:11:06 +03:00
minimizeanimation [effects/minimizeanimation] Don't reset timeline 2018-04-20 21:16:09 +03:00
morphingpopups Merge branch 'Plasma/5.12' 2018-04-30 23:50:35 +02:00
mouseclick SVN_SILENT made messages (.desktop file) - always resolve ours 2017-12-25 04:44:28 +01:00
mousemark SVN_SILENT made messages (.desktop file) - always resolve ours 2017-12-25 04:44:28 +01:00
presentwindows [effects/presentwindows] Enable blur behind windows 2018-05-01 22:59:08 +02:00
resize
scalein
screenedge
screenshot
sheet
showfps
showpaint
slide [effects/slide] Const-ify variables 2018-05-31 12:09:14 +03:00
slideback [effects/slideback] Enable blur behind windows 2018-05-01 23:08:10 +02:00
slidingpopups Honor animationsSupported in minimize, slide and sliding popups effects 2017-11-23 10:34:06 +01:00
snaphelper
startupfeedback
thumbnailaside
touchpoints
trackmouse SVN_SILENT made messages (.desktop file) - always resolve ours 2017-12-25 04:44:28 +01:00
translucency
windowaperture SVN_SILENT made messages (.desktop file) - always resolve ours 2018-03-26 07:01:20 +02:00
windowgeometry [effects] Delay creation of EffectFrames in WindowGeometryEffect 2017-11-21 19:28:00 +01:00
wobblywindows
zoom Remove "move zoomed area" shortcuts by default 2018-03-20 17:23:04 -06:00
CMakeLists.txt [effects/slide] Add 'Duration' option 2018-01-01 16:54:02 +02:00
effect_builtins.cpp [effects] replace old slide effect with a new one 2018-02-16 06:09:27 +02:00
effect_builtins.h
kwineffect.desktop
logging.cpp
Messages.sh
shaders.qrc Removed the "fastblur" path 2018-02-03 19:04:11 +01:00