[Libreoffice-bugs] [Bug 138068] When there are a lot of pictures, typing the text is very slow (macOS/GTK3/GDI)

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Wed Feb 10 16:33:49 UTC 2021


https://bugs.documentfoundation.org/show_bug.cgi?id=138068

--- Comment #32 from Luboš Luňák <l.lunak at collabora.com> ---
(In reply to Armin Le Grand from comment #30)
> Main problem seems to be that I preferred DrawTransformBitmapExDirect in 
> vcl/source/outdev/bitmap.cxx cmpared to ther versions, that is the only
> thing that can influence stuff besides cairo.

I confirm, it's really just this part that causes the performance problem. So
https://gerrit.libreoffice.org/c/core/+/110716 should be enough for this
bugreport.

(In reply to Noel Grandin from comment #31)
> For reference, the Caolan caching I was talking about was commit
> 9f3926df5c2828ad3e8cfce2b4444b1c84352cf4, tdf#123165, which is pretty much
> the same bug as this one

That's not a Writer cache though, that's a cache for the best quality
BitmapEx::Scale() algorithm. So I assume what's happened was that Armin's patch
made DrawTransformBitmapExDirect() preferred to DrawBitmapEx() that does
BitmapEx::Scale() internally, but all backend implementations for
DrawTransformBitmapExDirect() except the Skia one use uncached and possibly
slow platform API for the scaling, hence the slowdown.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20210210/39a913a1/attachment-0001.htm>


More information about the Libreoffice-bugs mailing list