GNOME Bugzilla – Bug 701232
Painting tools still slow when used in Quick Mask mode
Last modified: 2018-05-24 13:43:44 UTC
Daniel Sabo asked for reporting this as a bug, for future TODO.
I've committed some babl conversions that should improve this, before it was going thought the slow reference paths for Y' u8 -> RGBA float -> Y' u8.
Hmmm I think it is slightly faster now, but change is not very noticeable so I'm not sure.
There have been further changes, does it still happen?
(In reply to comment #3) > There have been further changes, does it still happen? Yes, in quick mask mode painting tools are still much, much slower.
There are 2-3 things that cause this issue: 1. The gegl:opacity operation works on linear RGBA only (the same code would work on R'G'B' because it doesn't modify color data, I already have part of a better version around somewhere). 2. The gegl:color operation always outputs "RGBA float" data, we will probably have to add a "format" property. 3. (Optional) When OpenCL is enabled the gegl:opacity operation uses an OpenCL version, which will be very slow surrounded by CPU based operations.
This fixes the gegl:color part: commit e0c64a817dee23164f46046f82dfcc8edbcc8ce8 Author: Michael Natterer <mitch@gimp.org> Date: Fri Oct 18 01:01:26 2013 +0200 Bug 701232 - Painting tools still slow when used in Quick Mask mode Set the format of GimpChannel's gegl:color node depending on whether the buffer is linear or gamma-corrected. app/core/gimpchannel.c | 25 ++++++++++++++++++++++++- 1 file changed, 24 insertions(+), 1 deletion(-)
-- GitLab Migration Automatic Message -- This bug has been migrated to GNOME's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/gimp/issues/476.