1. 15 Apr, 2021 8 commits
  2. 14 Apr, 2021 2 commits
  3. 10 Apr, 2021 1 commit
  4. 09 Apr, 2021 2 commits
    • Dmitry Kazakov's avatar
    • Dmitry Kazakov's avatar
      Fix range of Smudge Radius option · 0229395c
      Dmitry Kazakov authored
      After the commit noted below the smudge radius value showed in
      the GUI was multiplied by 100. That is, to get smudge radius
      100%, the user had to select value 10000%.
      
      Since the bug seems to have been introduced 6 years ago, I'm
      not sure we can "just fix" it. So now the new presets will have
      a 'SmudgeRadiusVersion' tag. If the tag is not found, then the
      smudge radius value will be divided by 100.
      
      The patch also introduces the logic of changing the range of
      smudge radius. Old algorithm has range of 0...300%, and the
      now one has a shorter range 0...100%. It happens because the
      new algorithm uses the brush as weights for the samples, so we
      cannot sample outside the brush bounds.
      
      graphics/krita@8d8e7335
      0229395c
  5. 08 Apr, 2021 1 commit
  6. 07 Apr, 2021 5 commits
  7. 03 Apr, 2021 3 commits
  8. 29 Mar, 2021 2 commits
    • Dmitry Kazakov's avatar
      Implement optimized blending modes for Color Smudge paintop · a529e8a3
      Dmitry Kazakov authored
      The patch implements several things:
      
      1) Adds U16 versions of Over and AlphaDarken composite ops.
         The basic memory access is taken from Mathias Wein's (!584)
         patch
      
      2) Adds implementation of Copy composite op for U8, U16 and F32
         color spaces. This composite op is used a lot in colorsmudge.
      
      3) The patch makes F32 and U16 (and U8 for "copy") composite ops
         to reuse the same codebase.
      
      In comparison to !584 this patch has two things "not implemented
      yet":
      
      1) No optimization for alpha-locked state
      2) No optimization for separate read/demangle of the alpha channel
         value
      
      Both these optimizations can be added later.
      
      Test Plan
      ---------
      
      1) Try to paint with normal brush in "wash" mode with low opacity/flow
         values. There should be no artifacts visible
      
      2) Try to paint with ColorSmudge brush in the following modes:
      
         * Smear Alpha is on/off
      
         * Inherit Alpha is on/off
      
         * Any selection is on/off
      
         * Some color channels of the layer are off
      a529e8a3
    • Dmitry Kazakov's avatar
      aa8d3263
  9. 24 Mar, 2021 2 commits
  10. 18 Mar, 2021 1 commit
  11. 17 Mar, 2021 2 commits
  12. 16 Mar, 2021 1 commit
  13. 09 Mar, 2021 1 commit
  14. 03 Mar, 2021 3 commits
  15. 02 Mar, 2021 3 commits
  16. 01 Mar, 2021 1 commit
    • Dmitry Kazakov's avatar
      Implement interstroke data support · c5b14585
      Dmitry Kazakov authored
      Now brushes can attrach some temporary data to the device and use
      it for different strokes. The data is removes when incompatible
      stroke the first incompatible is started.
      c5b14585
  17. 26 Feb, 2021 2 commits