D25737: Avoid texture bleed rendering X11 window - New version

Vlad Zahorodnii noreply at phabricator.kde.org
Wed Jan 8 09:59:43 GMT 2020


zzag accepted this revision.
zzag added a comment.
This revision is now accepted and ready to land.


  Don't quite like it, but I don't see any other alternative options at the moment.

INLINE COMMENTS

> scene_opengl.cpp:1407
> +            traits |= ShaderTrait::ClampTexture;
> +        };
>  

stray semicolon

> scene_opengl.cpp:1421
>  
> -    GLenum filter;
> -    if (waylandServer()) {
> -        filter = GL_LINEAR;
> -    } else {
> -        const bool isTransformed = mask & (Effect::PAINT_WINDOW_TRANSFORMED |
> -                                           Effect::PAINT_SCREEN_TRANSFORMED);
> -        if (isTransformed && options->glSmoothScale() != 0) {
> -            filter = GL_LINEAR;
> -        } else {
> -            filter = GL_NEAREST;
> -        }
> -    }
> +
>  

stray whitespace

REPOSITORY
  R108 KWin

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

To: davidedmundson, #kwin, zzag
Cc: zzag, jgrulich, kwin, LeGast00n, The-Feren-OS-Dev, jraleigh, zachus, fbampaloukas, GB_2, mkulinski, ragreen, jackyalcine, iodelay, crozbo, bwowk, ZrenBot, ngraham, alexeymin, himcesjf, lesliezhai, ali-mohamed, hardening, romangg, jensreuterberg, abetts, sebas, apol, ahiemstra, mart
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kwin/attachments/20200108/cd261fc2/attachment.html>


More information about the kwin mailing list