D4950: Scaling support in ColorPicker effect

David Edmundson noreply at phabricator.kde.org
Mon Mar 6 00:32:18 UTC 2017


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

REVISION SUMMARY
  glReadPixels needs the correct location relative to the 
  framebuffer so we need to factor in the scale as well as translation
  when going from compositor space.

TEST PLAN
  Ran the plasma colour picker plasmoid in windowed mode
  Clicked on multiple parts of a window
  It was right every time

REPOSITORY
  R108 KWin

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

AFFECTED FILES
  effects/colorpicker/colorpicker.cpp

To: davidedmundson, #plasma
Cc: plasma-devel, kwin, #kwin, progwolff, lesliezhai, ali-mohamed, hardening, jensreuterberg, abetts, sebas, apol
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20170306/1e3b5ecb/attachment.html>


More information about the Plasma-devel mailing list