kwin/autotests/integration/effects
Vlad Zahorodnii 15af09c70a Introduce Toplevel::frameGeometryChanged signal
Summary:
Currently we have two signals that are emitted when the Toplevel's geometry
changes - geometryShapeChanged() and geometryChanged(). The former signal
is used primarily to invalidate cached window quads and the latter is
sort of emitted when the frame geometry changes. But it's not that easy. We
have a bunch of connects that link those signals together...

The worst part about all of this is that the window quads cache gets
invalidated every time a geometry update occurs, for example when user
moves a window around on the screen.

This change introduces a new signal and deprecates the existing geometryChanged
signal. frameGeometryChanged is similar to geometryChanged except that it is
emitted when an _actual_ geometry change has occurred.

We do still emit geometryShapeChanged signal. However, in long term, we
need to get rid of this signal or come up with something that makes sense
and doesn't require us to waste computational resources.

Reviewers: #kwin, davidedmundson

Reviewed By: #kwin, davidedmundson

Subscribers: davidedmundson, romangg, kwin

Tags: #kwin

Differential Revision: https://phabricator.kde.org/D26863
2020-02-12 10:52:26 +02:00
..
scripts
CMakeLists.txt [autotests] Test maximize animation 2019-02-01 13:50:40 +02:00
desktop_switching_animation_test.cpp Update my email address 2020-01-14 18:17:18 +02:00
fade_test.cpp Rename ShellClient to XdgShellClient 2019-09-23 17:28:56 +03:00
maximize_animation_test.cpp Introduce Toplevel::frameGeometryChanged signal 2020-02-12 10:52:26 +02:00
minimize_animation_test.cpp Update my email address 2020-01-14 18:17:18 +02:00
popup_open_close_animation_test.cpp Update my email address 2020-01-14 18:17:18 +02:00
scripted_effects_test.cpp Use URL with transport encryption 2019-11-26 19:39:20 +02:00
slidingpopups_test.cpp Rename Client to X11Client 2019-09-25 21:11:37 +03:00
toplevel_open_close_animation_test.cpp Update my email address 2020-01-14 18:17:18 +02:00
translucency_test.cpp Rename geometry property to frameGeometry 2019-10-02 11:46:37 +03:00
windowgeometry_test.cpp Rename ShellClient to XdgShellClient 2019-09-23 17:28:56 +03:00
wobbly_shade_test.cpp Rename Client to X11Client 2019-09-25 21:11:37 +03:00