https://bugs.kde.org/show_bug.cgi?id=449681

Vlad Zahorodnii <vlad.zahorod...@kde.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Latest Commit|                            |https://invent.kde.org/plas
                   |                            |ma/kwin/commit/bb935aa5de87
                   |                            |ffdac45cacb226de8ed7d4e635c
                   |                            |1
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |FIXED

--- Comment #2 from Vlad Zahorodnii <vlad.zahorod...@kde.org> ---
Git commit bb935aa5de87ffdac45cacb226de8ed7d4e635c1 by Vlad Zahorodnii.
Committed on 07/02/2022 at 11:45.
Pushed by vladz into branch 'master'.

Fix decoration rendering with scale factor < 1

QPainter won't let paint with a device pixel ratio less than 1. There
are used to be workarounds to force a device pixel ratio of 1, but they
were removed with fractional scaling corner fix.

This change makes sure that the decoration renderer forces a device
pixel ratio of 1 if the output's scale factor is less than 1 so
calculated texture coordinates match where window borders are rendered
in the texture atlas.

M  +8    -2    src/decorationitem.cpp
M  +1    -0    src/decorationitem.h
M  +16   -14   src/scenes/opengl/scene_opengl.cpp
M  +1    -1    src/scenes/opengl/scene_opengl.h
M  +2    -2    src/scenes/qpainter/scene_qpainter.cpp
M  +0    -5    src/utils/common.cpp
M  +0    -9    src/utils/common.h

https://invent.kde.org/plasma/kwin/commit/bb935aa5de87ffdac45cacb226de8ed7d4e635c1

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to