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

            Bug ID: 160345
           Summary: Slow rendering of filled polygon
           Product: LibreOffice
           Version: unspecified
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: graphics stack
          Assignee: libreoffice-bugs@lists.freedesktop.org
          Reporter: freedesk...@treblig.org

Created attachment 193278
  --> https://bugs.documentfoundation.org/attachment.cgi?id=193278&action=edit
A problematic polygon

Attached is a (modified) single polygon extracted from the 3rd party external
pdf referenced in tdf#113050;  I've cut it down to a single polygon and tweaked
it a bit, so hopefully that's OK.

It's a single, 125 point, polygon with a tiled image fill with an especially
tiny image; it's taking VclProcessor2D::RenderMaskPrimitive2DPixel about 1.6s
to render that on my Linux box (Radeon 540 GPU, 4k display, X under xfce)
The original document has 3 of these polygons overlayed with a bunch of other
smaller ones, so taking ~10 seconds to render the page (and then another 10 to
render the thumbnail and by the time you're done ~50 seconds for it to settle
after load).

I suspect this is the slow paths that 6b8c157a0b4f3 avoids in some case.

Maybe there's an opportunity to improve this for our case; it's got a complex
boundary but because of the vast number of image repetitions, most of the
images are entirely contained within the shape so probably don't need the
clever processing of anything intersecting the boundary.

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

Reply via email to