| Summary: | Gradient map filter layer very slow. Maybe only for windows. | ||
|---|---|---|---|
| Product: | [Applications] krita | Reporter: | Hector <misha.bossmass> |
| Component: | Filter Layers | Assignee: | Krita Bugs <krita-bugs-null> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | halla |
| Priority: | NOR | ||
| Version First Reported In: | 4.4.0-beta2 | ||
| Target Milestone: | --- | ||
| Platform: | Microsoft Windows | ||
| OS: | Microsoft Windows | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
|
Description
Hector
2020-10-06 09:01:22 UTC
I have a 2000 x 2000, 8-bit layer. I click on add a layer filter with a gradient map already set. It starts to calculate the default gradient (forground to transparency). In beta2 on Windows, it takes 13.5 seconds to fully update the preview. On a Linux virtual machine 4 sec. After I can draw on a Linux virtual machine and the colors are immediately updated. In 16-bit, on Windows 1 min 15 sec. On Linux virtual machine 30 sec Testing Build #1138 (Nov 2, 2020 8:18:00 AM) https://binary-factory.kde.org/job/Krita_Nightly_Windows_Build/1138/ The same setting. 2000 x 2000, 8 bit. I choose a gradient in the filter layer. Now it takes ~3 seconds for a complete calculation. No lags, no freezes. The filter mask in the group is faster than the filter layer. There is still no real time. but turns on and off very quickly. The Gradient Map Brush(filter brush engine) is now freezing the app. The performance has improved. Yes, this was done in https://invent.kde.org/graphics/krita/-/merge_requests/560, commit 27ca01b463b778a3f1302ca6c9b36f549fe46f9e The brush engine needs a separate bug report, though. |