D28031: scene: Pass non-trivial classes by const&

Aleix Pol Gonzalez noreply at phabricator.kde.org
Fri Mar 13 16:42:20 GMT 2020


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kwin/attachments/20200313/0ea2eb5a/attachment-0001.html>


More information about the kwin mailing list