Bug 443295

Summary: Reference image tanks canvas pan/zoom performance
Product: [Applications] krita Reporter: Alvin Wong <alvin>
Component: Tools/Reference ImagesAssignee: Krita Bugs <krita-bugs-null>
Status: CONFIRMED ---    
Severity: normal CC: halla, info
Priority: NOR    
Version First Reported In: nightly build (please specify the git hash!)   
Target Milestone: ---   
Platform: Microsoft Windows   
OS: Microsoft Windows   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Alvin Wong 2021-10-04 12:33:52 UTC
When reference images are visible, they severely affect the canvas panning/zooming performance. On my Surface Pro 2017 I get about 40-50fps normally but only 10-15fps with reference images visible.

Note that it does not really affect painting performance.

The cause is probably that reference images are drawn as decorations using QPainter instead of as OpenGL textures.

(Checked with Windows nightly e1569dee2f)
Comment 1 tomtomtomreportingin 2022-07-12 13:16:24 UTC
*** Bug 452528 has been marked as a duplicate of this bug. ***