D28031: scene: Pass non-trivial classes by const&
Aleix Pol Gonzalez <[email protected]>
| Newsgroups | gmane.comp.kde.devel.kwin |
|---|---|
| Message-ID | <[email protected]> |
apol created this revision. apol added a reviewer: KWin. Herald added a project: KWin. Herald added a subscriber: kwin. apol requested review of this revision. REVISION SUMMARY This will save the copy of some objects, especially PaintData classes that are not copy-on-write. It also follows the practice on other parts of the system. TEST PLAN Running it right now REPOSITORY R108 KWin BRANCH master REVISION DETAIL https://phabricator.kde.org/D28031 AFFECTED FILES plugins/scenes/opengl/scene_opengl.cpp plugins/scenes/opengl/scene_opengl.h plugins/scenes/qpainter/scene_qpainter.cpp plugins/scenes/qpainter/scene_qpainter.h plugins/scenes/xrender/scene_xrender.cpp plugins/scenes/xrender/scene_xrender.h scene.cpp scene.h To: apol, #kwin Cc: kwin, Orage, cacarry, LeGast00n, The-Feren-OS-Dev, cblack, 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