Open humdingerb opened 1 year ago
It's probably worth looking into.
The canvas resize is likely smoother because there's far less code involved when there's no selection. Dealing with the selection is kind of a pain. I'm sure there are opportunities to improve the performance.
I've installed Slayer and watch ArtPaint's threads while doing scaling (translating and rotating show similar behaviour, but much less so).
I see up to ~8 "preview_render_threads" popping into existence, together with a single "ImageView thread". Resizing the whole canvas, there's only the "ImageView thread". The canvas resizing is also much smoother than the scaling of the Edit menu. I was wondering, if there's everything going as planned here...