kwin/effects/zoom
Vlad Zagorodniy e9fd57285f [effects/zoom] Set wrap mode for cursor texture
Summary:
With the Oxygen cursor theme, a visual glitch can appear in the
bottom-left corner of the cursor when the screen is zoomed in.

The reason for that is we're using GL_REPEAT for GL_TEXTURE_WRAP_S
and GL_TEXTURE_WRAP_T. So, when the linear filter samples neighboring
texels in the bottom, it can sample some texels from the top (because of
GL_REPEAT).

To fix that, we have to set the wrap mode to GL_CLAMP_TO_EDGE.

BUG: 338254
FIXED-IN: 5.14.0

Test Plan:
Before:
{F6303912}

After:
{F6303913}

Tried other cursor themes(Breeze and Adwaita), everything looks okay.

Reviewers: #kwin, davidedmundson

Reviewed By: #kwin, davidedmundson

Subscribers: davidedmundson, kwin

Tags: #kwin

Differential Revision: https://phabricator.kde.org/D15949
2018-10-04 21:40:49 +03:00
..
CMakeLists.txt Use SERVICE_TYPES parameter to kcoreaddons_desktop_to_json() 2015-12-09 23:42:45 +00:00
zoom.cpp [effects/zoom] Set wrap mode for cursor texture 2018-10-04 21:40:49 +03:00
zoom.h track cursorshape changes in zoom effect 2015-02-10 21:42:06 +01:00
zoom.kcfg [effects] Use arg="true" in the kcfg files 2017-04-15 10:03:34 +02:00
zoom_config.cpp Expose more default window management shortcuts 2018-03-16 17:18:55 -06:00
zoom_config.desktop SVN_SILENT made messages (.desktop file) - always resolve ours 2018-07-23 05:24:40 +02:00
zoom_config.h Use Q_SLOTS and Q_SIGNALS instead of slots and signals 2013-07-24 09:46:54 +02:00
zoom_config.ui Use KShortcutsEditor directly instead of subclass 2013-09-09 06:57:06 +02:00
zoomconfig.kcfgc Use KConfigXT in Zoom Effect 2012-09-14 10:39:28 +02:00