Bug 61899 - SVG: sample .svg very slow on resize or scale
Summary: SVG: sample .svg very slow on resize or scale
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: graphics stack (show other bugs)
Version: 4.0.2.1 rc
Hardware: x86 (IA32) Linux (All)
: high major
Assignee: Not Assigned
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-03-06 11:40 UTC by Caolán McNamara
Modified: 2013-11-08 22:01 UTC (History)
4 users (show)

See Also:
i915 platform:
i915 features:


Attachments
sample svg (753.88 KB, image/svg+xml)
2013-03-06 11:40 UTC, Caolán McNamara
Details

Description Caolán McNamara 2013-03-06 11:40:41 UTC
Created attachment 76011 [details]
sample svg

Attach .svg is incredibly slow to resize and rescale. Appears to me to be much faster in 3.6.5
Comment 1 Caolán McNamara 2013-03-08 15:06:55 UTC
caolanm->thb: any suggestions ?
Comment 2 Thorsten Behrens 2013-03-10 21:37:22 UTC
Getting lots of 

#5  0x00007ffff0dbbce1 in XGetImage () from /usr/lib64/libX11.so.6
#6  0x00007fffe6378691 in X11SalBitmap::ImplCreateDIB(unsigned long, SalX11Screen, long, long, long, long, long, bool) () from /build/tdf/libo-work/solver/unxlngx6.pro/installation/opt/program/libvclplug_genlo.so
#7  0x00007fffe6379241 in X11SalBitmap::AcquireBuffer(bool) () from /build/tdf/libo-work/solver/unxlngx6.pro/installation/opt/program/libvclplug_genlo.so
#8  0x00007ffff363b371 in BitmapReadAccess::ImplCreate(Bitmap&) () from /build/tdf/libo-work/solver/unxlngx6.pro/installation/opt/program/libvcllo.so
#9  0x00007ffff363b6b4 in BitmapReadAccess::BitmapReadAccess(Bitmap&) () from /build/tdf/libo-work/solver/unxlngx6.pro/installation/opt/program/libvcllo.so
#10 0x00007ffff3631319 in Bitmap::AcquireReadAccess() () from /build/tdf/libo-work/solver/unxlngx6.pro/installation/opt/program/libvcllo.so
#11 0x00007ffff3623a7d in Bitmap::ImplMakeGreyscales(unsigned short) () from /build/tdf/libo-work/solver/unxlngx6.pro/installation/opt/program/libvcllo.so
#12 0x00007ffff362599d in Bitmap::Convert(BmpConversion) () from /build/tdf/libo-work/solver/unxlngx6.pro/installation/opt/program/libvcllo.so
#13 0x00007ffff361bbac in AlphaMask::AlphaMask(Bitmap const&) () from /build/tdf/libo-work/solver/unxlngx6.pro/installation/opt/program/libvcllo.so
#14 0x00007ffff248a242 in drawinglayer::impBufferDevice::paint (this=0x7fffffff6580, fTrans=0) at /build/tdf/libo-work/drawinglayer/source/processor2d/vclhelperbufferdevice.cxx:301
#15 0x00007ffff249e33a in drawinglayer::processor2d::VclProcessor2D::RenderTransparencePrimitive2D (this=0x242eac0, rTransCandidate=...) at /build/tdf/libo-work/drawinglayer/source/processor2d/vclprocessor2d.cxx:1050

here - all called from VclProcessor2D::RenderMaskPrimitive2DPixel. Rendering to a bitmap, then getting the content, converting it to an alpha mask. Extra-slow when going via X server...
Comment 3 Glutanimate 2013-03-16 12:59:28 UTC
I can confirm this bug on 4.0.2.1 pre-release / Ubuntu 12.04.2 LTS but not on LO 3.6.5.2.

General SVG display performance seems to have drastically decreased with 4.x. See here for a related bugreport:

https://bugassistant.libreoffice.org/show_bug.cgi?id=61230
Comment 4 ape 2013-03-20 11:35:13 UTC
(In reply to comment #0)
> Created attachment 76011 [details]
> sample svg
> 
> Attach .svg is incredibly slow to resize and rescale. Appears to me to be
> much faster in 3.6.5

Caolán,
Look at bug 62461 please
--
ape
Comment 5 A. Fakhouri 2013-04-17 20:12:44 UTC
I can confirm this issue with 4.0.1.2 on Fedora i686.
The performance of svg, as well as other images (especially big-size images and/or when they are in big documents) is very poor.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.