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 |https://invent.kde.org/plas
                   |ma/kwin/commit/bb935aa5de87 |ma/kwin/commit/9e9bb6c6deaf
                   |ffdac45cacb226de8ed7d4e635c |76834340b9359d0e19fc7ccee8c
                   |1                           |d

--- Comment #3 from Vlad Zahorodnii <vlad.zahorod...@kde.org> ---
Git commit 9e9bb6c6deaf76834340b9359d0e19fc7ccee8cd by Vlad Zahorodnii.
Committed on 07/02/2022 at 11:50.
Pushed by vladz into branch 'Plasma/5.24'.

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.


(cherry picked from commit bb935aa5de87ffdac45cacb226de8ed7d4e635c1)

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/9e9bb6c6deaf76834340b9359d0e19fc7ccee8cd

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

Reply via email to