1. 30 Jul, 2016 1 commit
    • Eugene Ingerman's avatar
      Add antialiasing to createThumbnailDevice · 2a1987a8
      Eugene Ingerman authored
      Summary:
      1. Added oversampling/antialising to createThumbnailDevice. Interpolation is done using KisTransformWorker with bilinear interpolation. Added parameter that controls oversampling ratio.
      2. Added benchmark for new thumbnail code. Results for 6Kx8K image turned into 640px thumbnail see below. About 2x hit in time for 2x oversampling. Quality with 2x oversampling is much better than no oversampling. 4x oversampling slightly better, but not dramatically. See below.
      3. Changed oversampling for overview widget to 2x.
      4. Fixed caching of oversampled thumbnails.
      5. Fixed up functions calls to createThumbnail.
      
      {F156583}
      No Oversampling
      
      {F156585}
      2x Oversampling
      
      {F156586}
      4x Oversampling
      
      PASS   : KisThumbnailBenchmark::benchmarkCreateThumbnail()
      RESULT : KisThumbnailBenchmark::benchmarkCreateThumbnail():
           161 msecs per iteration (total: 161, iterations: 1)
      PASS   : KisThumbnailBenchmark::benchmarkCreateThumbnailCached()
      RESULT : KisThumbnailBenchmark::benchmarkCreateThumbnailCached():
           0.000059 msecs per iteration (total: 62, iterations: 1048576)
      PASS   : KisThumbnailBenchmark::benchmarkCreateThumbnailHiQ()
      RESULT : KisThumbnailBenchmark::benchmarkCreateThumbnailHiQ():
           3,962 msecs per iteration (total: 3,962, iterations: 1)
      PASS   : KisThumbnailBenchmark::benchmarkCreateThumbnailHiQcreateThumbOversample2x()
      RESULT : KisThumbnailBenchmark::benchmarkCreateThumbnailHiQcreateThumbOversample2x():
           269 msecs per iteration (total: 269, iterations: 1)
      PASS   : KisThumbnailBenchmark::benchmarkCreateThumbnailHiQcreateThumbOversample3x()
      RESULT : KisThumbnailBenchmark::benchmarkCreateThumbnailHiQcreateThumbOversample3x():
           489 msecs per iteration (total: 489, iterations: 1)
      PASS   : KisThumbnailBenchmark::benchmarkCreateThumbnailHiQcreateThumbOversample4x()
      RESULT : KisThumbnailBenchmark::benchmarkCreateThumbnailHiQcreateThumbOversample4x():
           701 msecs per iteration (total: 701, iterations: 1)
      
      Test Plan: Run KisThumbnailBenchmark.
      
      Reviewers: rempt, dkazakov, woltherav
      
      Reviewed By: rempt, woltherav
      
      Subscribers: woltherav
      
      Differential Revision: https://phabricator.kde.org/D1979
      2a1987a8
  2. 06 Jul, 2016 1 commit
  3. 25 Jan, 2016 1 commit
    • Boudewijn Rempt's avatar
      Move kritaimage to libs · b46898a0
      Boudewijn Rempt authored
      This shows up a bunch of other problems with alien includes. Some
      tests have been disabled (marked "kisdoc") because they needed
      kritaui.
      b46898a0
  4. 26 Nov, 2015 1 commit
  5. 15 Sep, 2015 1 commit
  6. 03 Sep, 2015 1 commit
  7. 02 Sep, 2015 1 commit
  8. 03 Jun, 2015 1 commit
  9. 26 May, 2015 1 commit
    • Dmitry Kazakov's avatar
      Added built-in performance logging into Krita · 78bb7ed3
      Dmitry Kazakov authored
      Brief instructions:
      
      1) Add 'enablePerfLog=true' into your kritarc
      2) Start/restart Krita to enable it
      3) Choose your problematic image/preset
      4) Do as many strokes as you can. Of different speed and size
      5) You will get './log/' folder where the preset and the log are stored
      6) Run krita/sdk/plot_strokes_statistics to visualize the data
      
      Still TODO:
      1) Measure how much time is spent on openGL loading and updating part
         of pipeline.
      2) Write a detailed manual for users about how to generate this log
      3) Dump some hardware info, like CPU, GPU, dirver version and so on.
      
      CCMAIL:kimageshop@kde.org
      78bb7ed3