Summary: | Animation speed on presentation mode slow Skia Raster | ||
---|---|---|---|
Product: | LibreOffice | Reporter: | Telesto <telesto> |
Component: | Impress | Assignee: | Not Assigned <libreoffice-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | l.lunak |
Priority: | medium | ||
Version: | 7.1.0.3 release | ||
Hardware: | All | ||
OS: | All | ||
See Also: |
https://bugs.documentfoundation.org/show_bug.cgi?id=136244 https://bugs.documentfoundation.org/show_bug.cgi?id=146094 |
||
Whiteboard: | target:7.4.0 | ||
Crash report or crash signature: | Regression By: | ||
Bug Depends on: | |||
Bug Blocks: | 129062 | ||
Attachments: | Bibisect log |
Description
Telesto
2021-12-07 13:46:11 UTC
Created attachment 176763 [details] Bibisect log Initial slowdown started with author Luboš Luňák <l.lunak@collabora.com> 2020-09-05 07:05:16 +0200 committer Luboš Luňák <l.lunak@collabora.com> 2020-09-07 15:19:32 +0200 commit 717ce6838b7ef0add1f9a9655e2b8c0bf60203f0 (patch) tree 0b887e4a06120dea3fff1788a337365d427441e8 parent 23762a704133051184850fc711e44bc9a112f59a (diff) avoid temporary SkImage when merging bitmaps in Skia (tdf#136244) The original idea was to create a temporary SkImage in order to first merge the bitmap and its alpha bitmap, otherwise scaling already while merging them could introduce artefacts because of smoothscaling the alpha. But SkShader use blends the bitmap and alpha values before the scaling, so this is actually not necessary. There might be a second commit making this even worse.. it's really really bad in 7.3 Presentation mode to launch since 2021-10-11 (bug 146094) Adding CC: to Luboš Luňák It's actually fine if the Skia image cache size is increased in expert settings. What happens is that the animated frames (both in the presentation and in the edit mode, since they both run) create so much data in one loop that it overflows the default 64MiB cache. Luboš Luňák committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/commit/2c86b79e87bc8579f5213708954d5c85fe231407 cache Skia drawing based on checksum of bitmap content (tdf#146095) It will be available in 7.4.0. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback. |