Date: prev next · Thread: first prev next last
2020 Archives by date, by thread · List index


On 23/04/2020 11:46, Miklos Vajna wrote:
In short, I would like to hear what others think about using clang(-cl)
for building skia.

Why? See this video from Lubos, showing skia raster performance on
Windows: <https://youtu.be/iSo4wVtGQ2A>. Above is clang-cl, below is
MSVC. The reason for the difference is that skia developers focus on
good performance with clang, so building their codebase with gcc or msvc
works, but the result is not as great as it could be. This would be the
benefit.

FYI, <https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/message/HWBXFXPFNNPZSB3OYW6DUKZUDSSGZJ7H/> "Re: Fedora 33 System-Wide Change proposal: CompilerPolicy Change": "If I understand the LO case, it is just that LO sometimes uses the Skia library which is written by Google and Google likes compiler monoculture and is using heavily #ifdef __clang__ in it and using the clang variants of the generic vectors guarded by that, and as fallback just doesn't use simd. I believe Honza Hubicka had quite some changes for Skia, not sure if they went
upstream already or not."

So at least for GCC the performance degradation when building skia with anything but Clang might eventually get addressed.


Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.