[Differential] [Request, 40 lines] D3058: Pass the current output geometry to ScreenPaintData

graesslin (Martin Gräßlin) noreply at phabricator.kde.org
Fri Oct 14 13:52:45 UTC 2016


graesslin created this revision.
graesslin added reviewers: KWin, Plasma on Wayland.
Restricted Application added subscribers: kwin, plasma-devel.
Restricted Application added projects: Plasma on Wayland, KWin.

REVISION SUMMARY
  On Wayland per output rendering is performed and paintScreen is invoked
  for every output. Some effects need the information which output is
  currently being rendered as otherwise e.g. FBO access could fail.
  
  This change adds the current output geometry to ScreenPaintData. On X11
  (all outputs one geometry) this information is not set and a null rect
  is returned. That way the effects can also easily check which rendering
  mode is used.

REPOSITORY
  rKWIN KWin

BRANCH
  screen-paint-data-current-output

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

AFFECTED FILES
  autotests/test_screen_paint_data.cpp
  libkwineffects/kwineffects.cpp
  libkwineffects/kwineffects.h
  scene.cpp
  scene.h
  scene_opengl.cpp

EMAIL PREFERENCES
  https://phabricator.kde.org/settings/panel/emailpreferences/

To: graesslin, #kwin, #plasma_on_wayland
Cc: plasma-devel, kwin, lesliezhai, ali-mohamed, hardening, jensreuterberg, abetts, sebas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20161014/c8509ceb/attachment.html>


More information about the Plasma-devel mailing list