<table><tr><td style="">zzag created this revision.<br />Herald added a project: KWin.<br />Herald added a subscriber: kwin.<br />zzag requested review of this revision.
</td><a style="text-decoration: none; padding: 4px 8px; margin: 0 8px 8px; float: right; color: #464C5C; font-weight: bold; border-radius: 3px; background-color: #F7F7F9; background-image: linear-gradient(to bottom,#fff,#f1f0f1); display: inline-block; border: 1px solid rgba(71,87,120,.2);" href="https://phabricator.kde.org/D26863">View Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><p>Currently we have two signals that are emitted when the Toplevel's geometry<br />
changes - geometryShapeChanged() and geometryChanged(). The former signal<br />
is used primarily to invalidate cached window quads and the latter is<br />
sort of emitted when the frame geometry changes. But it's not that easy. We<br />
have a bunch of connects that link those signals together...</p>
<p>The worst part about all of this is that the window quads cache gets<br />
invalidated each time a geometry update occurs, for example when user<br />
moves a window around on the screen.</p>
<p>This change introduces a new signal and deprecates the existing geometryChanged<br />
signal. frameGeometryChanged has similar semantics as geometryChanged<br />
except that it is emitted when an _actual_ geometry change has occurred.</p>
<p>We do still emit geometryShapeChanged signal. However, in long term, we<br />
need to get rid of this signal or come up with something that makes sense<br />
and doesn't require us to waste computational resources.</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R108 KWin</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D26863">https://phabricator.kde.org/D26863</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>abstract_client.cpp<br />
abstract_client.h<br />
autotests/integration/activation_test.cpp<br />
autotests/integration/effects/maximize_animation_test.cpp<br />
autotests/integration/maximize_test.cpp<br />
autotests/integration/move_resize_window_test.cpp<br />
autotests/integration/quick_tiling_test.cpp<br />
autotests/integration/xdgshellclient_rules_test.cpp<br />
autotests/integration/xdgshellclient_test.cpp<br />
decorations/decoratedclient.cpp<br />
events.cpp<br />
internal_client.cpp<br />
pointer_input.cpp<br />
shadow.cpp<br />
toplevel.cpp<br />
toplevel.h<br />
touch_input.cpp<br />
unmanaged.cpp<br />
x11client.cpp<br />
xdgshellclient.cpp</div></div></div><br /><div><strong>To: </strong>zzag<br /><strong>Cc: </strong>kwin, Orage, LeGast00n, The-Feren-OS-Dev, jraleigh, zachus, fbampaloukas, GB_2, mkulinski, ragreen, jackyalcine, iodelay, crozbo, bwowk, ZrenBot, ngraham, alexeymin, himcesjf, lesliezhai, ali-mohamed, hardening, romangg, jensreuterberg, abetts, sebas, apol, ahiemstra, mart<br /></div>