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

Nate Graham <n...@kde.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
             Status|ASSIGNED                    |RESOLVED
      Latest Commit|                            |https://invent.kde.org/grap
                   |                            |hics/gwenview/commit/726c52
                   |                            |998c50252fe2ce74c1ba63e52c3
                   |                            |355a18a

--- Comment #12 from Nate Graham <n...@kde.org> ---
Git commit 726c52998c50252fe2ce74c1ba63e52c3355a18a by Nate Graham, on behalf
of Arjen Hiemstra.
Committed on 11/05/2021 at 15:24.
Pushed by ngraham into branch 'master'.

Use a simple QGraphicsItem subclass for drawing raster images

RasterImageView was using a custom implementation that would use two
QPixmaps to do double buffered rendering. However, since Qt already
renders things double buffered, we are doing duplicate work. So drop
that and use a simple QGraphicsItem subclass that paints the loaded
image directly. This simplifies things a lot and removes a fair amount
of difficult to follow custom code.

M  +146  -248  lib/documentview/rasterimageview.cpp
M  +2    -4    lib/documentview/rasterimageview.h

https://invent.kde.org/graphics/gwenview/commit/726c52998c50252fe2ce74c1ba63e52c3355a18a

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

Reply via email to