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

--- Comment #2 from Dave Gilbert <[email protected]> ---
Adding some debug, I'm seeing a useful amount of time in
RenderFillGraphicPrimitive2DImpl iterating over the space using the tiny 2x2
(or 1x1) tiles; I think calling the devices DrawBitmapEx for each one.

I see with some debug added:
RenderFillGraphicPrimitive2DImpl PreScaled=1 size: 2 x 2
RenderFillGraphicPrimitive2DImpl nOffsetX: 0 nOffsetY: 0 nBTop: -1 nBLeft: -1
nBHeight: 2 nBWidth: 2 nOTop:0 nOLeft: 0 nOHeight:452 nOWidth:539
RenderFillGraphicPrimitive2DImpl bottom true exit 1711246
RenderFillGraphicPrimitive2DImpl PreScaled=1 size: 2 x 2
RenderFillGraphicPrimitive2DImpl nOffsetX: 0 nOffsetY: 0 nBTop: -1 nBLeft: -1
nBHeight: 2 nBWidth: 2 nOTop:0 nOLeft: 0 nOHeight:452 nOWidth:539
RenderFillGraphicPrimitive2DImpl bottom true exit 1763805
RenderFillGraphicPrimitive2DImpl PreScaled=1 size: 2 x 2
RenderFillGraphicPrimitive2DImpl nOffsetX: 0 nOffsetY: 0 nBTop: -1 nBLeft: -1
nBHeight: 2 nBWidth: 2 nOTop:0 nOLeft: 0 nOHeight:452 nOWidth:539
RenderFillGraphicPrimitive2DImpl bottom true exit 1846516
RenderFillGraphicPrimitive2DImpl PreScaled=1 size: 1 x 1
RenderFillGraphicPrimitive2DImpl nOffsetX: 0 nOffsetY: 0 nBTop: 0 nBLeft: 0
nBHeight: 1 nBWidth: 1 nOTop:0 nOLeft: 1 nOHeight:213 nOWidth:254
RenderFillGraphicPrimitive2DImpl bottom true exit 1586536
RenderFillGraphicPrimitive2DImpl PreScaled=1 size: 2 x 2
RenderFillGraphicPrimitive2DImpl nOffsetX: 0 nOffsetY: 0 nBTop: -1 nBLeft: -1
nBHeight: 2 nBWidth: 2 nOTop:0 nOLeft: 0 nOHeight:452 nOWidth:539
RenderFillGraphicPrimitive2DImpl bottom true exit 1890982
RenderFillGraphicPrimitive2DImpl PreScaled=1 size: 1 x 1
RenderFillGraphicPrimitive2DImpl nOffsetX: 0 nOffsetY: 0 nBTop: 0 nBLeft: 0
nBHeight: 1 nBWidth: 1 nOTop:1 nOLeft: 0 nOHeight:20 nOWidth:24
RenderFillGraphicPrimitive2DImpl bottom true exit 2241
RenderFillGraphicPrimitive2DImpl PreScaled=1 size: 2 x 2
RenderFillGraphicPrimitive2DImpl nOffsetX: 0 nOffsetY: 0 nBTop: -1 nBLeft: -1
nBHeight: 2 nBWidth: 2 nOTop:0 nOLeft: 0 nOHeight:452 nOWidth:539
RenderFillGraphicPrimitive2DImpl bottom true exit 1804904
RenderFillGraphicPrimitive2DImpl PreScaled=1 size: 2 x 2
RenderFillGraphicPrimitive2DImpl nOffsetX: 0 nOffsetY: 0 nBTop: -1 nBLeft: -1
nBHeight: 2 nBWidth: 2 nOTop:0 nOLeft: 0 nOHeight:452 nOWidth:539
RenderFillGraphicPrimitive2DImpl bottom true exit 1880210
RenderFillGraphicPrimitive2DImpl PreScaled=1 size: 2 x 2
RenderFillGraphicPrimitive2DImpl nOffsetX: 0 nOffsetY: 0 nBTop: -1 nBLeft: -1
nBHeight: 2 nBWidth: 2 nOTop:0 nOLeft: 0 nOHeight:452 nOWidth:539
RenderFillGraphicPrimitive2DImpl bottom true exit 1827428
RenderFillGraphicPrimitive2DImpl PreScaled=1 size: 2 x 2
RenderFillGraphicPrimitive2DImpl nOffsetX: 0 nOffsetY: 0 nBTop: -1 nBLeft: -1
nBHeight: 2 nBWidth: 2 nOTop:0 nOLeft: 0 nOHeight:452 nOWidth:539
RenderFillGraphicPrimitive2DImpl bottom true exit 1822608
RenderFillGraphicPrimitive2DImpl PreScaled=1 size: 2 x 2
RenderFillGraphicPrimitive2DImpl nOffsetX: 0 nOffsetY: 0 nBTop: -1 nBLeft: -1
nBHeight: 2 nBWidth: 2 nOTop:0 nOLeft: 0 nOHeight:452 nOWidth:539
RenderFillGraphicPrimitive2DImpl bottom true exit 1811949
RenderFillGraphicPrimitive2DImpl PreScaled=1 size: 2 x 2
RenderFillGraphicPrimitive2DImpl nOffsetX: 0 nOffsetY: 0 nBTop: -1 nBLeft: -1
nBHeight: 2 nBWidth: 2 nOTop:0 nOLeft: 0 nOHeight:452 nOWidth:539
RenderFillGraphicPrimitive2DImpl bottom true exit 1805552
RenderFillGraphicPrimitive2DImpl PreScaled=1 size: 2 x 2
RenderFillGraphicPrimitive2DImpl nOffsetX: 0 nOffsetY: 0 nBTop: -1 nBLeft: -1
nBHeight: 2 nBWidth: 2 nOTop:0 nOLeft: 0 nOHeight:452 nOWidth:539
RenderFillGraphicPrimitive2DImpl bottom true exit 1776656

here the number after 'exit' is GetMonotonicTicks() difference from entry, so I
think that's about ~1.8s each time!

I also see 135510 calls to BaseProcessor2D::process (const BasePrimitive2D&)
which is a heck of a lot!

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

Reply via email to