1. 22 Apr, 2021 1 commit
  2. 03 Mar, 2021 1 commit
  3. 26 Feb, 2021 1 commit
  4. 15 Dec, 2020 1 commit
  5. 27 Nov, 2020 1 commit
  6. 03 Aug, 2020 1 commit
    • Peter Schatz's avatar
      Fix bug in Image Stamp brushes · b182a255
      Peter Schatz authored
      Gradient brush patch introduced an error in Image Stamp brushes, such that
      they could only draw in grayscale, even if the image had color.  This fixes
      the problem.
  7. 16 Jul, 2020 1 commit
    • Peter Schatz's avatar
      RGBA brushtips as gradient maps · eeff9d63
      Peter Schatz authored
      This adds the option to use a RGBA brushtips as gradient
      maps. This allows not only multi-colored brushes, but much
      more flexibility with stamp brushes.
      The patch implements the follwoing:
      1) Fixes issues with loading PNG brushes that are grayscale
         but have an alpha channel and should be loaded as RGBA brushes.
         Originally, if it saw it was grayscale, it would get rid of
         the alpha channel, but that means they can't be used with the
         new lightness and gradient modes.  This checks if the image
         uses alpha anywhere in the image, and sets it as an RGBA image
         if it does.
      2) Fixes a bug in KoCachedGradient where changing the
         stored gradient added colors to the end of the colorlist
         instead of clearing the original colors and replacing them.
      3) Adds the ability to change the colorspace of the cached
         colors in KoCachedGradient.
      NOTE: all the commit of the original branch has been squashed
            because it was impossible to rebase the work. And without
            rebase we wouldn't be able to port the code to master.
  8. 03 Jul, 2020 1 commit
  9. 11 Apr, 2019 1 commit
  10. 09 Apr, 2019 1 commit
    • Dmitry Kazakov's avatar
      Fix memory leaks caused by KisPaintDevice::convertTo() · 4bab45a2
      Dmitry Kazakov authored
      For years this method returned KUndoCommand and for years we
      forgot to delete this command, causing memory leaks.
      This patch refactors convertTo() call to not return anythingon heap,
      but just accepting optional parent command.
  11. 26 Oct, 2017 1 commit
  12. 21 Sep, 2017 1 commit
  13. 15 Sep, 2017 1 commit
  14. 13 Sep, 2017 1 commit
    • Dmitry Kazakov's avatar
      Refactor KisDabCache into two smaller classes · b5b456eb
      Dmitry Kazakov authored
      It is needed to make it work in multithreaded environment. Now we have
      a base class that encapsulates the decision whether to generate a new
      dab or use a cached version. And the cache class just stores the cached
      version and uses the base class to make a decision about caching.
      This base class will be reused in the threadable dabs queue.