[Libreoffice-bugs] [Bug 80659] Non-accelerated / non-cached image scaling ...
https://bugs.documentfoundation.org/show_bug.cgi?id=80659 Buovjaga changed: What|Removed |Added Status|NEW |RESOLVED CC||todven...@suomi24.fi Resolution|--- |WORKSFORME --- Comment #53 from Buovjaga --- Make it three people who have said there is no slowness while scrolling past images in attachment 101791. Let's close. Arch Linux 64-bit Version: 6.3.0.0.alpha0+ Build ID: 8fbad2f600cd3ab81e7c1da0e4a2a71ebcac0553 CPU threads: 8; OS: Linux 4.20; UI render: default; VCL: gtk3; Locale: fi-FI (fi_FI.UTF-8); UI-Language: en-US Calc: threaded Built on 31 January 2019 -- You are receiving this mail because: You are the assignee for the bug.___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 80659] Non-accelerated / non-cached image scaling ...
https://bugs.documentfoundation.org/show_bug.cgi?id=80659 --- Comment #52 from Stéphane Aulery --- It seems also pretty good in Version: 6.0.6.2 (x64) Build ID: 0c292870b25a325b5ed35f6b45599d2ea4458e77 Threads CPU : 2; OS : Windows 6.1; UI Render : par défaut; Locale : fr-FR (fr_FR); Calc: group -- You are receiving this mail because: You are the assignee for the bug.___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 80659] Non-accelerated / non-cached image scaling ...
https://bugs.documentfoundation.org/show_bug.cgi?id=80659 Telesto changed: What|Removed |Added Blocks||116109 Referenced Bugs: https://bugs.documentfoundation.org/show_bug.cgi?id=116109 [Bug 116109] [META] Regressions introduced by unified Graphic processing to use GraphicPrimitive2D -- You are receiving this mail because: You are the assignee for the bug.___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 80659] Non-accelerated / non-cached image scaling ...
https://bugs.documentfoundation.org/show_bug.cgi?id=80659 Xisco Faulí changed: What|Removed |Added CC||xiscofa...@libreoffice.org --- Comment #51 from Xisco Faulí --- It seems pretty good in Version: 6.2.0.0.alpha0+ Build ID: 4d18cd6aad0daaefaca792e8eac173bea07f3750 CPU threads: 4; OS: Linux 4.13; UI render: default; VCL: gtk3; Locale: ca-ES (ca_ES.UTF-8); Calc: group threaded Could anyone else confirm ? -- You are receiving this mail because: You are the assignee for the bug.___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 80659] Non-accelerated / non-cached image scaling ...
https://bugs.documentfoundation.org/show_bug.cgi?id=80659 Telesto changed: What|Removed |Added See Also||https://bugs.documentfounda ||tion.org/show_bug.cgi?id=88 ||678 -- You are receiving this mail because: You are the assignee for the bug.___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 80659] Non-accelerated / non-cached image scaling ...
https://bugs.documentfoundation.org/show_bug.cgi?id=80659 Telesto changed: What|Removed |Added See Also||https://bugs.documentfounda ||tion.org/show_bug.cgi?id=96 ||143 -- You are receiving this mail because: You are the assignee for the bug.___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 80659] Non-accelerated / non-cached image scaling ...
https://bugs.documentfoundation.org/show_bug.cgi?id=80659 Telesto changed: What|Removed |Added See Also||https://bugs.documentfounda ||tion.org/show_bug.cgi?id=11 ||2568 -- You are receiving this mail because: You are the assignee for the bug.___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 80659] Non-accelerated / non-cached image scaling ...
https://bugs.documentfoundation.org/show_bug.cgi?id=80659 --- Comment #50 from Roland Baudin --- I see the same slowness when scrolling pictures of moderated size (10 cm x 10 cm, 200 dpi, PNG). Things can be improved a bit by using the maximum CPU frequency all the time. My system: Ubuntu 16.04.3 LTS LibreOffice 5.4.4.2 -- You are receiving this mail because: You are the assignee for the bug.___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 80659] Non-accelerated / non-cached image scaling ...
https://bugs.documentfoundation.org/show_bug.cgi?id=80659 Telesto changed: What|Removed |Added See Also||https://bugs.documentfounda ||tion.org/show_bug.cgi?id=10 ||4716 -- You are receiving this mail because: You are the assignee for the bug.___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 80659] Non-accelerated / non-cached image scaling ...
https://bugs.documentfoundation.org/show_bug.cgi?id=80659 Telesto changed: What|Removed |Added CC||o...@prosa.dk --- Comment #49 from Telesto --- *** Bug 113038 has been marked as a duplicate of this bug. *** -- You are receiving this mail because: You are the assignee for the bug.___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 80659] Non-accelerated / non-cached image scaling ...
https://bugs.documentfoundation.org/show_bug.cgi?id=80659 --- Comment #48 from Paul Menzel --- Reproduced with LibreOffice 6.0.1.1 on GNU/Linux with GTK 3.22.26. -- You are receiving this mail because: You are the assignee for the bug.___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 80659] Non-accelerated / non-cached image scaling ...
https://bugs.documentfoundation.org/show_bug.cgi?id=80659 Telesto changed: What|Removed |Added See Also||https://bugs.documentfounda ||tion.org/show_bug.cgi?id=79 ||334 -- You are receiving this mail because: You are the assignee for the bug.___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 80659] Non-accelerated / non-cached image scaling ...
https://bugs.documentfoundation.org/show_bug.cgi?id=80659 Telesto changed: What|Removed |Added CC||ra...@alton.at --- Comment #47 from Telesto --- *** Bug 86798 has been marked as a duplicate of this bug. *** -- You are receiving this mail because: You are the assignee for the bug.___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 80659] Non-accelerated / non-cached image scaling ...
https://bugs.documentfoundation.org/show_bug.cgi?id=80659 --- Comment #46 from Telesto --- *** Bug 104296 has been marked as a duplicate of this bug. *** -- You are receiving this mail because: You are the assignee for the bug.___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 80659] Non-accelerated / non-cached image scaling ...
https://bugs.documentfoundation.org/show_bug.cgi?id=80659 Clemens Eisserer changed: What|Removed |Added See Also||https://bugs.documentfounda ||tion.org/show_bug.cgi?id=11 ||5702 -- You are receiving this mail because: You are the assignee for the bug.___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 80659] Non-accelerated / non-cached image scaling ...
https://bugs.documentfoundation.org/show_bug.cgi?id=80659 Timur changed: What|Removed |Added See Also||https://bugs.documentfounda ||tion.org/show_bug.cgi?id=82 ||762 -- You are receiving this mail because: You are the assignee for the bug.___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 80659] Non-accelerated / non-cached image scaling ...
https://bugs.documentfoundation.org/show_bug.cgi?id=80659 Jean-Baptiste Faure changed: What|Removed |Added CC||sworddrag...@aol.com --- Comment #45 from Jean-Baptiste Faure --- *** Bug 114617 has been marked as a duplicate of this bug. *** -- You are receiving this mail because: You are the assignee for the bug.___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 80659] Non-accelerated / non-cached image scaling ...
https://bugs.documentfoundation.org/show_bug.cgi?id=80659 Yousuf Philips (jay) changed: What|Removed |Added Blocks||47148 Referenced Bugs: https://bugs.documentfoundation.org/show_bug.cgi?id=47148 [Bug 47148] [meta] image caching / management is utterly shambolic -- You are receiving this mail because: You are the assignee for the bug.___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 80659] Non-accelerated / non-cached image scaling ...
https://bugs.documentfoundation.org/show_bug.cgi?id=80659 Yousuf Philips (jay) changed: What|Removed |Added See Also||https://bugs.documentfounda ||tion.org/show_bug.cgi?id=96 ||880 -- You are receiving this mail because: You are the assignee for the bug.___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 80659] Non-accelerated / non-cached image scaling ...
https://bugs.documentfoundation.org/show_bug.cgi?id=80659 Yousuf Philips (jay) changed: What|Removed |Added See Also||https://bugs.documentfounda ||tion.org/show_bug.cgi?id=10 ||4037 -- You are receiving this mail because: You are the assignee for the bug.___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 80659] Non-accelerated / non-cached image scaling ...
https://bugs.documentfoundation.org/show_bug.cgi?id=80659 --- Comment #44 from Telesto --- For what it's worth: MacOS is also affected. Version: 5.3.0.0.alpha1+ Build ID: 6984fd5a756f1e01e94da14f01df5a0e20791630 CPU Threads: 4; OS Version: Mac OS X 10.12.1; UI Render: default; Layout Engine: new; TinderBox: MacOSX-x86_64@49-TDF, Branch:master, Time: 2016-11-05_02:01:59 Locale: en-US (en_US.UTF-8); Calc: group -- You are receiving this mail because: You are the assignee for the bug.___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 80659] Non-accelerated / non-cached image scaling ...
https://bugs.documentfoundation.org/show_bug.cgi?id=80659 Yousuf Philips (jay) changed: What|Removed |Added Blocks||103152 Referenced Bugs: https://bugs.documentfoundation.org/show_bug.cgi?id=103152 [Bug 103152] [META] Writer image bugs and enhancements -- You are receiving this mail because: You are the assignee for the bug.___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 80659] Non-accelerated / non-cached image scaling ...
https://bugs.documentfoundation.org/show_bug.cgi?id=80659 Aron Budea changed: What|Removed |Added Keywords||perf -- You are receiving this mail because: You are the assignee for the bug.___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 80659] Non-accelerated / non-cached image scaling ...
https://bugs.documentfoundation.org/show_bug.cgi?id=80659 --- Comment #43 from Armin Le Grand (CIB) --- Yes, it should be cached, but please not in the app (Writer) as it was in the elder days. The orig bm data has to be available in the render stack, so that hw scaling can use it if available. Thus there are two places to cache this: (a) In the primitive stack (b) in the sys-dependent part of GDI I would (of course) opt for (a) since I know that would work (sys-independent). In principle it is about: - Add a decomposition (the scaled bitmap or part of it) to the bitmap primitive - Use a even-more-lo-level Scaled/Buffered/Cahed/BitmapPrimitive to hold this - do intelligent caching (only needed stuff, re-use as long as cerain zoom did not change too much, flush when using too much mem, ...) - In a primitive renderer, use the bitmap primitive if HW scale is available, the (cached) decomposition else (sys-dependent flag?) - Make use of mechanisms supporting this in the primitive stack BTW: I checked and indeed even on Win still some paths go to sw-scaling - sigh - but that can be corrected. This is a argument to think about sys- and task-specific renderers, e.g. a *direct* GdiPlus-one for Win, *not* taking the path over VCL at all. Think about a big primitive renderer factory which you give info what you want (win and screen render) -> gives you the primitie renderer for GdiPlus and Win. Same for Linux, same for online, same for headless, same for PDF export (ah dreaming...) -- You are receiving this mail because: You are the assignee for the bug.___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 80659] Non-accelerated / non-cached image scaling ...
https://bugs.documentfoundation.org/show_bug.cgi?id=80659 Michael Meeks changed: What|Removed |Added CC||l...@lapont.dk --- Comment #42 from Michael Meeks --- *** Bug 78529 has been marked as a duplicate of this bug. *** -- You are receiving this mail because: You are the assignee for the bug.___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 80659] Non-accelerated / non-cached image scaling ...
https://bugs.documentfoundation.org/show_bug.cgi?id=80659 Michael Meeks changed: What|Removed |Added Summary|Non-accelerated image |Non-accelerated / |scaling under Linux ... |non-cached image scaling ||... --- Comment #41 from Michael Meeks --- Removing the Linux specific piece here - see bug#88302 - which appears to shows the same result on Windows ( I guess in the GDI fallback paths ). Also - AFAICS we really should consider caching the scaled images; most images are rendered only once, at one size - and at one zoom level - and relying on hardware to continuously do high quality interpolations is not great - even with GL acceleration - once we get to a largeish scale-factor, we have to do multi-pass scaling which is poorer quality and performance; IMHO we should be caching. I snip some hearsay / design bits from a friend: [snip] The best would be to cache the scaled down version somewhere around SwNoTextFrame::PaintPicture paintGraphicUsingPrimitivesHelper begins the chain of the slow path; and yet we are highlevel enough to have some good insight into the management of the bitmaps etc. Like, already here we know what outputdevice is targeted in the end, so we can do the scaling here (so that it fits the target outdev), and remember the scaled bitmap somewhere - probably directly in the pGrfNd (together with the information about the target outputdevice). And use the scaled-down version if the outputdevice has the same settings (like resolution and stuff) instead of calling drawinglayer with the verbatim pGrfNd [/snip] Would love feedback on that. -- You are receiving this mail because: You are the assignee for the bug.___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs