kwin/libkwineffects
Méven Car 66898e7f46 Wayland: Allow to take single screen screenshots using scale factor without loss
Summary:
The screenshot made on screens with scale factor were downscaled by their scale factor making them blurry.
It prevents taking screenshots of missing Hidpi related bugs showing the issues under Wayland.

This fix the case of a single screenshot, but not the rest:
Multiscreen screenshot downscales the screen using scale factor.
Spectacle rectangular selection screenshot is broken as soon as some scale factor different than 1 is used on any screen.

Test Plan:
Under Wayland with a scale factor on a screen, take a screenshot using spectacle.
The output image is not downscaled and has the same size as the screen resolution.

No other change to any other screenshot mode, or under X.

Reviewers: davidedmundson, #kwin

Reviewed By: davidedmundson, #kwin

Subscribers: kwin

Tags: #kwin

Differential Revision: https://phabricator.kde.org/D29010
2020-04-20 16:12:26 +02:00
..
anidata.cpp Update my email address 2020-01-14 18:17:18 +02:00
anidata_p.h Update my email address 2020-01-14 18:17:18 +02:00
CMakeLists.txt [libkwineffects] Introduce API to easily show a QtQuick scene in an effect 2019-09-27 16:11:05 +01:00
kwinanimationeffect.cpp Update my email address 2020-01-14 18:17:18 +02:00
kwinanimationeffect.h Update my email address 2020-01-14 18:17:18 +02:00
kwinconfig.h.cmake Move linking to DL_LIBRARY to x11standalone platform 2016-11-22 14:22:06 +01:00
kwineffectquickview.cpp Port DesktopGrid QtQuickWindow to EffectQuickView 2020-01-22 13:16:45 +00:00
kwineffectquickview.h [libkwineffects] Introduce API to easily show a QtQuick scene in an effect 2019-09-27 16:11:05 +01:00
kwineffects.cpp Wayland: Allow to take single screen screenshots using scale factor without loss 2020-04-20 16:12:26 +02:00
kwineffects.h Wayland: Allow to take single screen screenshots using scale factor without loss 2020-04-20 16:12:26 +02:00
kwinglobals.h [effects] Add effect to hold the desktop window static after plasmashell quits 2019-11-01 17:14:55 +00:00
kwinglplatform.cpp [kwineffects] Port GLPlatform to QRegularExpression 2020-03-30 16:00:46 +03:00
kwinglplatform.h [libkwineffects] Detect AMD Navi GPUs 2020-02-05 22:27:15 +02:00
kwingltexture.cpp Merge branch 'Plasma/5.17' 2019-11-18 12:27:17 +02:00
kwingltexture.h Merge branch 'Plasma/5.17' 2019-11-18 12:27:17 +02:00
kwingltexture_p.h KWin::GLTexture support external textures 2019-09-25 14:28:19 +01:00
kwinglutils.cpp [kwineffects] Drop KWIN_GL_DEBUG 2020-03-27 12:29:24 +02:00
kwinglutils.h [kwineffects] Drop KWIN_GL_DEBUG 2020-03-27 12:29:24 +02:00
kwinglutils_funcs.cpp Add some const & 2019-10-30 19:23:01 +01:00
kwinglutils_funcs.h Add some const & 2019-10-30 19:23:01 +01:00
kwinxrenderutils.cpp Port away from deprecated QImage::byteCount 2019-07-10 02:02:15 +03:00
kwinxrenderutils.h Use more traditional doxygen style 2019-07-29 22:06:19 +03:00
logging.cpp pedantic fixes 2016-07-16 13:14:44 -04:00
logging_p.h pedantic fixes 2016-07-16 13:14:44 -04:00
Mainpage.dox Move kwineffects library into own directory 2011-02-19 10:01:31 +01:00
Messages.sh Improve message extraction 2011-02-20 16:02:33 +01:00