Bug 285775 - KisOutlineGenerator makes a copy of the whole selection
Summary: KisOutlineGenerator makes a copy of the whole selection
Status: RESOLVED FIXED
Alias: None
Product: krita
Classification: Applications
Component: General (show other bugs)
Version: unspecified
Platform: Unlisted Binaries Linux
: NOR normal
Target Milestone: ---
Assignee: Halla Rempt
URL:
Keywords:
Depends on:
Blocks: 273860
  Show dependency treegraph
 
Reported: 2011-11-04 19:57 UTC by Halla Rempt
Modified: 2011-12-27 12:42 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Halla Rempt 2011-11-04 19:57:20 UTC
If KisOutlineGenerator is used to make an outline for a selection, it's fed a byte-by-byte copy of the whole selection in one array. This makes it impossible to create selections on a big image.

KisOutlineGenerator should use paint devices optionally.
Comment 1 Halla Rempt 2011-12-27 12:42:46 UTC
Git commit 574e0e2e0bc9038c2248cda1ae7dda732db9559c by Boudewijn Rempt.
Committed on 27/12/2011 at 13:17.
Pushed by rempt into branch 'master'.

Make the outline generator work directly with paint devices
Related: bug 285775

M  +147  -5    krita/image/kis_outline_generator.cpp
M  +27   -16   krita/image/kis_outline_generator.h
M  +1    -14   krita/image/kis_pixel_selection.cpp

http://commits.kde.org/calligra/574e0e2e0bc9038c2248cda1ae7dda732db9559c