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


Kohei Yoshida wrote:
I'm just wondering, whether our anti-aliasing is done strictly at software
level, or via hardware, and if former, what it would take to do it via
hardware so that we can take advantage of GPU to speed it up if it's there.

On Linux, we use cairo, and XRender directly in vcl, so in theory that
trapezoid rendering should be hw-accelerated. There were some
unfortunate impedance mismatches though between cairo and gpu
semantics, so at times this will fallback to software rendering.

On Windows, we use gdiplus, which is notoriously slow. Optionally
using WPF there might speed things up a bit, haven't looked any closer
yet, though.

If you want to look into offloading things to the GPU, using platform
API that might use accelerated paths in the background appears most
economic to me; beyond that, the most promising area is image scaling
and filtering for anything that goes directly to the hw...

Cheers,

-- Thorsten

Attachment: signature.asc
Description: Digital signature


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.