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

Patrick (volunteer) <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Assignee|[email protected] |[email protected]
                   |desktop.org                 |
             Status|NEW                         |ASSIGNED

--- Comment #14 from Patrick (volunteer) <[email protected]> ---
(In reply to Patrick (volunteer) from comment #13)
> So, when I get some some time, I will try another approach: defer removal of
> an image from the Skia image cache if that image has been drawn within the
> last N seconds. My hope is that N can be a short period of time (e.g. 5 - 10
> seconds) which would allow temporary increase in the cache size but the
> temporary increase won't grow so high as it does in the patch.

I finally had some time and implemented this approach. I picked 5 seconds for
the minimum amount of time that an image must remain in the cache before it is
removed. I only needed to set it to 2 seconds on my machine so 5 seconds seemed
like a reasonable number to start.

Anyway, the following patch allows a temporary increase in the size of the Skia
image cache. It is basically a roundabout way to prevent frames in an
animations from being removed from the Skia image cache in each animation
cylce:

https://gerrit.libreoffice.org/c/core/+/187790

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to