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

--- Comment #7 from Dmitry Kazakov <dimul...@gmail.com> ---
Git commit fa31e27fb1e7579e64f84e4b32a47308a67eef21 by Dmitry Kazakov.
Committed on 08/06/2022 at 08:03.
Pushed by dkazakov into branch 'krita/5.1'.

Remove explicit setting of the channel flags on every canvas update

Channel flags change in a blocking operation guarded by mutex, so
it is very expensive to execute. The switch should be handled by a
separate method KisOpenGLCanvasRenderer::channelSelectionChanged().

M  +1    -1    libs/ui/canvas/kis_abstract_canvas_widget.h
M  +1    -1    libs/ui/canvas/kis_canvas2.cpp
M  +1    -3    libs/ui/canvas/kis_qpainter_canvas.cpp
M  +1    -1    libs/ui/canvas/kis_qpainter_canvas.h
M  +1    -2    libs/ui/opengl/KisOpenGLCanvasRenderer.cpp
M  +1    -1    libs/ui/opengl/KisOpenGLCanvasRenderer.h
M  +2    -2    libs/ui/opengl/kis_opengl_canvas2.cpp
M  +1    -1    libs/ui/opengl/kis_opengl_canvas2.h

https://invent.kde.org/graphics/krita/commit/fa31e27fb1e7579e64f84e4b32a47308a67eef21

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

Reply via email to