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

Caolán McNamara <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #10 from Caolán McNamara <[email protected]> ---
This .gif is an 8 bit 1920x1080 animated gif with 382 frames in it, and indeed
on my debugging master LibreOffice when it is rendering "top" reports...

  PID USER      PR  NI    VIRT    RES    SHR S  %CPU %MEM     TIME+ COMMAND
16063 caolan    20   0 4843764 3.580g 174440 S  30.3 11.4   0:27.83 soffice.bin

some debugging shows that in
drawinglayer/source/primitive2d/graphicprimitivehelper2d.cxx when we have an
animated gif we render each frame into a separate BitmapEx and create a
BitmapPrimitive2D for each one and the size balloons once rendering starts and
generates 382 of those.

With my proposed fix of https://gerrit.libreoffice.org/25671 to add a custom
AnimationFrameBitmapPrimitive2D which shares a virtual device among the frames
of a animated gif and moves the BitmapEx generation around to become on-demand
I then get those numbers down to...

  PID USER      PR  NI    VIRT    RES    SHR S  %CPU %MEM     TIME+ COMMAND
15438 caolan    20   0 1733572 569528 174276 R  82.2  1.7   0:24.75 soffice.bin

-- 
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

Reply via email to