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

Dmitry Kazakov <dimul...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Latest Commit|                            |https://invent.kde.org/grap
                   |                            |hics/krita/commit/885bff93e
                   |                            |c7765d7592583b89b8dfd4f4c75
                   |                            |5f76
         Resolution|---                         |FIXED
             Status|REPORTED                    |RESOLVED

--- Comment #1 from Dmitry Kazakov <dimul...@gmail.com> ---
Git commit 885bff93ec7765d7592583b89b8dfd4f4c755f76 by Dmitry Kazakov, on
behalf of Bip Boop.
Committed on 12/07/2022 at 11:35.
Pushed by dkazakov into branch 'master'.

Reduce idle cpu usage when a selection is active

I made it so that when a canvas widget receives a show/hide event 
it notifies its decorations accordingly. This reduces idle cpu 
usage when the application is minimized and a selection is active
because it prevents the ant animation from updating.

M  +3    -0    libs/ui/canvas/kis_canvas_decoration.cc
M  +2    -0    libs/ui/canvas/kis_canvas_decoration.h
M  +6    -1    libs/ui/canvas/kis_canvas_widget_base.cpp
M  +1    -0    libs/ui/canvas/kis_canvas_widget_base.h
M  +12   -0    libs/ui/canvas/kis_qpainter_canvas.cpp
M  +3    -1    libs/ui/canvas/kis_qpainter_canvas.h
M  +8    -0    libs/ui/kis_selection_decoration.cc
M  +2    -0    libs/ui/kis_selection_decoration.h
M  +12   -1    libs/ui/opengl/kis_opengl_canvas2.cpp
M  +3    -0    libs/ui/opengl/kis_opengl_canvas2.h

https://invent.kde.org/graphics/krita/commit/885bff93ec7765d7592583b89b8dfd4f4c755f76

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

Reply via email to