[Libreoffice-bugs] [Bug 97137] Slow and different rendering of SVG graphics in attached document

2016-01-20 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=97137

--- Comment #9 from V Stuart Foote  ---
(In reply to Tor Lillqvist from comment #6)
> Note that the pictures might have been SVG initially, but there is no SVG in
> the .odt file, as far as I see.

Your right, very sorry I missed that there were no SVGs as claimed in the
summary.

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 97137] Slow and different rendering of SVG graphics in attached document

2016-01-20 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=97137

--- Comment #8 from Tor Lillqvist  ---
So clearly the slowness is related to polylines in the VCL metafiles embedded
in the document being rendered as polypolygons, using all the required
complexities, subdivision into trapezoids etc, to get proper nesting behaviour.
One potential way to start unraveling this might be to change the related APIs
to pass around some kind of level-of-detail information so that the code
doesn't pointlessly spend lots of time on calculating sub-pixel rendering
details.

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 97137] Slow and different rendering of SVG graphics in attached document

2016-01-20 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=97137

--- Comment #7 from Tor Lillqvist  ---
Sample backtrace during the slowness:

msvcr120.dll!malloc(unsigned int size) Line 92C
msvcr120.dll!operator new(unsigned int size) Line 59C++
basegfxlo.dll!std::_Allocate >(unsigned int _Count,
std::_List_node * __formal)
Line 28C++
basegfxlo.dll!std::allocator >::allocate(unsigned int _Count) Line 578C++
basegfxlo.dll!std::_Wrap_alloc > >::allocate(unsigned int _Count) Line 848C++
basegfxlo.dll!std::_List_alloc<0,std::_List_base_types
> >::_Buynode0(std::_List_node
* _Next, std::_List_node *
_Prev) Line 782C++
basegfxlo.dll!std::_List_buy
>::_Buynode(std::_List_node * _Next, std::_List_node *
_Prev, basegfx::trapezoidhelper::TrDeEdgeEntry && <_Val_0>) Line 830C++
basegfxlo.dll!std::list
>::_Insert(std::_List_unchecked_const_iterator
>,std::_Iterator_base0> _Where, basegfx::trapezoidhelper::TrDeEdgeEntry &&
<_Val_0>) Line 1062C++
basegfxlo.dll!std::list
>::push_back(basegfx::trapezoidhelper::TrDeEdgeEntry && _Val) Line 1024C++
basegfxlo.dll!basegfx::trapezoidhelper::TrapezoidSubdivider::TrapezoidSubdivider(const
basegfx::B2DPolyPolygon & rSourcePolyPolygon) Line 572C++
basegfxlo.dll!basegfx::tools::trapezoidSubdivide(std::vector
> & ro_Result, const basegfx::B2DPolyPolygon & rSourcePolyPolygon) Line 953   
C++
vcllo.dll!OpenGLSalGraphicsImpl::DrawPolyPolygon(const basegfx::B2DPolyPolygon
& rPolyPolygon, bool blockAA) Line 987C++
vcllo.dll!OpenGLSalGraphicsImpl::drawPolyPolygon(const basegfx::B2DPolyPolygon
& rPolyPolygon, double fTransparency) Line 1509C++
vcllo.dll!WinSalGraphics::drawPolyPolygon(const basegfx::B2DPolyPolygon &
rPolyPolygon, double fTransparency) Line 32C++
vcllo.dll!SalGraphics::DrawPolyPolygon(const basegfx::B2DPolyPolygon &
i_rPolyPolygon, double i_fTransparency, const OutputDevice * i_pOutDev) Line
480C++
vcllo.dll!OutputDevice::drawLine(basegfx::B2DPolyPolygon aLinePolyPolygon,
const LineInfo & rInfo) Line 264C++
vcllo.dll!OutputDevice::drawPolyLine(const tools::Polygon & rPoly, const
LineInfo & rLineInfo) Line 254C++
vcllo.dll!OutputDevice::DrawPolyLine(const basegfx::B2DPolygon & rB2DPolygon,
double fLineWidth, basegfx::B2DLineJoin eLineJoin,
com::sun::star::drawing::LineCap eLineCap) Line 223C++
vcllo.dll!OutputDevice::DrawPolyLine(const tools::Polygon & rPoly, const
LineInfo & rLineInfo) Line 120C++
vcllo.dll!MetaPolyLineAction::Execute(OutputDevice * pOut) Line 789C++
vcllo.dll!GDIMetaFile::Play(OutputDevice * pOut, unsigned int nPos) Line 371   
C++
vcllo.dll!GDIMetaFile::Play(OutputDevice * pOut, const Point & rPos, const Size
& rSize, unsigned int nPos) Line 586C++

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 97137] Slow and different rendering of SVG graphics in attached document

2016-01-20 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=97137

--- Comment #6 from Tor Lillqvist  ---
Note that the pictures might have been SVG initially, but there is no SVG in
the .odt file, as far as I see.

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 97137] Slow and different rendering of SVG graphics in attached document

2016-01-16 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=97137

--- Comment #5 from Jan-Marek Glogowski  ---
Very strange. Maybe the result also depends on system libraries.

Now I've tested 
 * LO 5.2 master, 64bit Ubuntu 14.04 trusty chroot
 * LO 4.1.6 + lhm patches,  32bit Ubuntu 12.04 precise chroot
 * LO 4.1.6.2, 64bit Ubuntu 14.04 trusty chroot from releases-bibisect
 * OOo 3.2.1, 64bit Ubuntu 14.04 trusty chroot

I'm running LO instances via remote X ssh. No OpenGL is involved AFAIK.

 * 5.2 master: happens instantly, as attached image
 * 4.1.6 + lhm: doesn't happen instantly. On load the graphs are correct, but
if I move them out of view and then scroll them in again, they break.
 * 4.1.6.2: scrolling works correct too, but the 2nd graph on page 3 is always
broken.
 * 3.2.1: everything looks correct and additionally it scrolls fast

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 97137] Slow and different rendering of SVG graphics in attached document

2016-01-14 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=97137

--- Comment #4 from V Stuart Foote  ---
Jan-Marek,

would you please confirm the version this first goes bad for you, 4.1.6.2 seems
early. Thanks.

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 97137] Slow and different rendering of SVG graphics in attached document

2016-01-14 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=97137

V Stuart Foote  changed:

   What|Removed |Added

 Status|UNCONFIRMED |NEW
 CC||vstuart.fo...@utsa.edu
 Blocks||93529
 Ever confirmed|0   |1

--- Comment #3 from V Stuart Foote  ---
Confirmed, however this is OpenGL dependent. When OpenGL is disabled rendering
of graphs become correct, and the scrolling/paging becomes functional.

@Michael another for bug 93529, but seem to have an OK test document.

tested at 5.0.4.2 (2b9802c1994aa0b7dc6079e128979269cf95bc78)
and current master (c71b5b4d2ec76c0a204f9515dece1e0e0689ce3c) correct rendering
in both with OpenGL disabled.

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 97137] Slow and different rendering of SVG graphics in attached document

2016-01-14 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=97137

--- Comment #1 from Jan-Marek Glogowski  ---
Created attachment 121936
  --> https://bugs.documentfoundation.org/attachment.cgi?id=121936&action=edit
First page rendered in OOo 3.2.1

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 97137] Slow and different rendering of SVG graphics in attached document

2016-01-14 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=97137

Jan-Marek Glogowski  changed:

   What|Removed |Added

   Keywords||filter:svgInsert,
   ||regression

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 97137] Slow and different rendering of SVG graphics in attached document

2016-01-14 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=97137

--- Comment #2 from Jan-Marek Glogowski  ---
Created attachment 121937
  --> https://bugs.documentfoundation.org/attachment.cgi?id=121937&action=edit
First page rendered in LO 5.2 master build

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs