Summary: | SmudgeBrush and a Layer with TransparencyMask performance [BUG] | ||
---|---|---|---|
Product: | [Applications] krita | Reporter: | Paul Geraskin <paulgeraskin> |
Component: | Brush engines | Assignee: | Krita Bugs <krita-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | dimula73 |
Priority: | NOR | ||
Version: | git master (please specify the git hash!) | ||
Target Milestone: | --- | ||
Platform: | Other | ||
OS: | Linux | ||
Latest Commit: | http://commits.kde.org/calligra/148bc356a9f23ba1f1c9daee1f5885aca05637a4 | Version Fixed In: | |
Sentry Crash Report: |
Description
Paul Geraskin
2013-05-24 12:56:06 UTC
It must be some exactBounds() calculation problem. Because the bug happens only on layers with fully transparent default pixel, which is the condition of disabling fast-path branch in the calculation of KisPaintDevice::exactBounds(). Git commit bed45070e34608d950d02e1ff3ed2e440ff5e597 by Dmitry Kazakov. Committed on 24/12/2013 at 11:24. Pushed by dkazakov into branch 'master'. Fix speed regression when painting in BuildUp mode on a Transparent Layer with a Transparency Mask The KisSelectionDefaultBounds should not call exactBounds() every time, since it would result in constant boudns recalculation when the user paints in BuildUp mode (which is always the case for ColorSmudgeOp). M +1 -1 krita/image/kis_default_bounds.cpp M +0 -1 krita/image/kis_paint_device.cc http://commits.kde.org/calligra/bed45070e34608d950d02e1ff3ed2e440ff5e597 Git commit 148bc356a9f23ba1f1c9daee1f5885aca05637a4 by Dmitry Kazakov. Committed on 24/12/2013 at 11:24. Pushed by dkazakov into branch 'calligra/2.8'. Fix speed regression when painting in BuildUp mode on a Transparent Layer with a Transparency Mask The KisSelectionDefaultBounds should not call exactBounds() every time, since it would result in constant boudns recalculation when the user paints in BuildUp mode (which is always the case for ColorSmudgeOp). M +1 -1 krita/image/kis_default_bounds.cpp M +0 -1 krita/image/kis_paint_device.cc http://commits.kde.org/calligra/148bc356a9f23ba1f1c9daee1f5885aca05637a4 |