[krita] [Bug 411352] Improve performance of assisstant tools rendered on canvas.

2021-10-03 Thread Tiar
https://bugs.kde.org/show_bug.cgi?id=411352

Tiar  changed:

   What|Removed |Added

  Latest Commit|https://invent.kde.org/grap |https://invent.kde.org/grap
   |hics/krita/commit/00f86a7e5 |hics/krita/commit/0cd2ea87b
   |540464a9c4e3a6c5a0300e41edb |0719cb8a496fd0a96de2434a909
   |43f6|ae10

--- Comment #9 from Tiar  ---
Git commit 0cd2ea87b0719cb8a496fd0a96de2434a909ae10 by Agata Cacko.
Committed on 03/10/2021 at 16:27.
Pushed by tymond into branch 'krita/5.0'.

Move Perspective assistant drawing to drawAssistant from drawCache

Before this commit, the grid of the Perspective Assistant was drawn
in the drawCache, which caused performance issues when using
the perspective assistant and zooming in a lot.
(test method: zoom in a lot, so it's around 1600%, and then zoom in
and out very quickly using your mouse wheel. It's instant with this
patch, but slow without the patch. Note that if the Configure Krita ->
Display -> Canvas Acceleration is off, it's still super slow).

This commit does two things:
- crops the drawn lines to the viewport
- moves the whole drawing action to drawAssistant
Note: just cropping the drawn lines, but still using the cache,
didn't improve the assistants performance that much.
There must be some inherent issue with this caching method.

M  +42   -32   plugins/assistants/Assistants/PerspectiveAssistant.cc

https://invent.kde.org/graphics/krita/commit/0cd2ea87b0719cb8a496fd0a96de2434a909ae10

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

[krita] [Bug 411352] Improve performance of assisstant tools rendered on canvas.

2021-10-03 Thread Tiar
https://bugs.kde.org/show_bug.cgi?id=411352

Tiar  changed:

   What|Removed |Added

  Latest Commit||https://invent.kde.org/grap
   ||hics/krita/commit/00f86a7e5
   ||540464a9c4e3a6c5a0300e41edb
   ||43f6
 Resolution|--- |FIXED
 Status|ASSIGNED|RESOLVED

--- Comment #8 from Tiar  ---
Git commit 00f86a7e5540464a9c4e3a6c5a0300e41edb43f6 by Agata Cacko.
Committed on 03/10/2021 at 13:22.
Pushed by tymond into branch 'master'.

Move Perspective assistant drawing to drawAssistant from drawCache

Before this commit, the grid of the Perspective Assistant was drawn
in the drawCache, which caused performance issues when using
the perspective assistant and zooming in a lot.
(test method: zoom in a lot, so it's around 1600%, and then zoom in
and out very quickly using your mouse wheel. It's instant with this
patch, but slow without the patch. Note that if the Configure Krita ->
Display -> Canvas Acceleration is off, it's still super slow).

This commit does two things:
- crops the drawn lines to the viewport
- moves the whole drawing action to drawAssistant
Note: just cropping the drawn lines, but still using the cache,
didn't improve the assistants performance that much.
There must be some inherent issue with this caching method.

M  +42   -32   plugins/assistants/Assistants/PerspectiveAssistant.cc

https://invent.kde.org/graphics/krita/commit/00f86a7e5540464a9c4e3a6c5a0300e41edb43f6

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

[krita] [Bug 411352] Improve performance of assisstant tools rendered on canvas.

2021-09-21 Thread Bug Janitor Service
https://bugs.kde.org/show_bug.cgi?id=411352

Bug Janitor Service  changed:

   What|Removed |Added

 Status|CONFIRMED   |ASSIGNED

--- Comment #7 from Bug Janitor Service  ---
A possibly relevant merge request was started @
https://invent.kde.org/graphics/krita/-/merge_requests/1064

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

[krita] [Bug 411352] Improve performance of assisstant tools rendered on canvas.

2020-12-30 Thread Halla Rempt
https://bugs.kde.org/show_bug.cgi?id=411352

Halla Rempt  changed:

   What|Removed |Added

 CC||b...@valdyas.org
Summary|[Wishlist] Improve  |Improve performance of
   |performance of assisstant   |assisstant tools rendered
   |tools rendered on canvas.   |on canvas.

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