https://bugs.documentfoundation.org/show_bug.cgi?id=138068
Luboš Luňák <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |[email protected]
--- Comment #21 from Luboš Luňák <[email protected]> ---
The document from comment #4 spends its time in DrawTransformedBitmap(). The
problem is that if scaling is involved, it is left to Cairo to do it, and that
is done by the CPU, thus relatively slow, and moreover each redraw needs that
again and again. I don't know why the cache from Armin's change doesn't cache
it, Skia code manages to cache it just fine. Either that cache needs to get
fixed, or at least for the simple "at most translate+scale but no shear or
rotate" case the scaling should be done manually using BitmapEx::Scale(), which
should get cached. Skia's SkiaSalGraphicsImpl::drawTransformedBitmap() can be
used as an inspiration for that case.
--
You are receiving this mail because:
You are the assignee for the bug._______________________________________________
Libreoffice-bugs mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs