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

            Bug ID: 436731
           Summary: Huge brush tip images unnecessarily slow down Krita on
                    every start of the stroke
           Product: krita
           Version: git master (please specify the git hash!)
          Platform: Mint (Ubuntu based)
                OS: Linux
            Status: REPORTED
          Severity: wishlist
          Priority: NOR
         Component: General
          Assignee: krita-bugs-n...@kde.org
          Reporter: tamtamy.tym...@gmail.com
  Target Milestone: ---

SUMMARY
If you have the same brush (in Pixel Engine) with the same brush tips options
and the same size, and you only change whether it's a huge brush tip image -
for example 3.000x3.000, or a small brush tip image - 100x100, you'll see a big
difference in speed of starting the line. 

Since the result size of the brush is the same in both cases, it shouldn't
cause much slowdown - maybe only a bit to scale down the brush tip, but it
shouldn't happen before every stroke.

I marked it as a bug since I can see there is some KisSharedQImagePyramid used
for brush tips so I believe it must not be intentional that Krita scales it
down every time the stroke starts.

Note that "every start of the stroke" does include strokes in the brush editor,
which makes the brush editor very laggy if you try to edit a brush preset like
this.


STEPS TO REPRODUCE
1. Have a Pixel Engine brush, preferably without Size dynamics.
2. Have two identical brush tips, just one should be 3.000x3.000, and the other
one scaled down to 100x100.
3. Try to paint with one brush tip, and then the other.

OBSERVED RESULT
Slowdown in the brush editor and at the beginning of every stroke on the
canvas.


EXPECTED RESULT
Slowdown, if necessary, only on the first stroke.


SOFTWARE/OS VERSIONS
Krita 3241355287

Krita

 Version: 5.0.0-prealpha (git 3241355)
 Languages: pl, pl_PL, pl
 Hidpi: true

Qt

  Version (compiled): 5.12.8
  Version (loaded): 5.12.8

OS Information

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

Reply via email to