D8363: Try all supported Compositor Types of the current Platform

Martin Flöser noreply at phabricator.kde.org
Wed Oct 18 20:02:09 UTC 2017


graesslin created this revision.
graesslin added reviewers: KWin, Plasma.
Restricted Application added a project: KWin.
Restricted Application added subscribers: kwin, plasma-devel.

REVISION SUMMARY
  The Compositor now tries to create a Scene not just once but every
  type supported by the Platform till it finds one which works. The user's
  configuration is only used as a preferred hint and tried first if the
  platform supports it.
  
  This brings as an advantage that on platforms such as framebuffer the
  user does not need to specify which compositor to use: KWin uses QPainter
  automatically.
  
  Also we don't need to do the "translation" from XRender to QPainter any
  more. XRender is not supported by any platform using QPainter, so the
  user configuration is ignored anyway.
  
  BUG: 350159
  FIXED-IN: 5.12.0

TEST PLAN
  Run on framebuffer, verified debug output.

REPOSITORY
  R108 KWin

BRANCH
  try-all-platforms

REVISION DETAIL
  https://phabricator.kde.org/D8363

AFFECTED FILES
  composite.cpp
  options.cpp

To: graesslin, #kwin, #plasma
Cc: plasma-devel, kwin, bwowk, ZrenBot, progwolff, lesliezhai, ali-mohamed, hardening, jensreuterberg, abetts, sebas, apol, mart
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20171018/c57c88dc/attachment-0001.html>


More information about the Plasma-devel mailing list