[Differential] [Request, 1 line] D3155: Call GLRenderTarget::setVirtualScreenGeometry prior to self test

graesslin (Martin Gräßlin) noreply at phabricator.kde.org
Tue Oct 25 07:32:42 UTC 2016


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

REVISION SUMMARY
  The shader self test uses GLRenderTarget and restores the viewport. Due
  to the setVirtualScreenGeometry not being set the calculated viewport is
  incorrect and any rendering breaks. This is a regression introduced with
  https://phabricator.kde.org/rKWIN1708278a451e6dab92549f9cabe6ad13ea3b4ba2 which only affects Wayland
  backends which do not perform per screen rendering.
  
  The glxbackend was not affected as it sets the viewport on screen
  geometry change.

REPOSITORY
  rKWIN KWin

BRANCH
  fix-viewport-after-self-test

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

AFFECTED FILES
  scene_opengl.cpp

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

To: graesslin, #kwin, #plasma_on_wayland, bshah
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/20161025/b1cac343/attachment.html>


More information about the Plasma-devel mailing list