drawinglayer/source/processor2d/vclprocessor2d.cxx | 7 ------- 1 file changed, 7 deletions(-)
New commits: commit 1f61a2ec4e252d2eeccabd65a10650c8ee231a1b Author: Noel Grandin <[email protected]> AuthorDate: Mon May 26 13:26:19 2025 +0200 Commit: Noel Grandin <[email protected]> CommitDate: Mon May 26 15:09:42 2025 +0200 tdf#166715 speed up transparent fill operation Transparent bitmapex drawing works fine these days, so we dont need this fallback path anymore. Dramatically speeds up rendering on most backends (the cairo drawinglayer renderer already has an optimised path here). Change-Id: Ic66a4f2d76a6815d1cb3a439e416f1235be7a544 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/185795 Tested-by: Jenkins Reviewed-by: Noel Grandin <[email protected]> diff --git a/drawinglayer/source/processor2d/vclprocessor2d.cxx b/drawinglayer/source/processor2d/vclprocessor2d.cxx index 73e3d8adbac9..da2d667db513 100644 --- a/drawinglayer/source/processor2d/vclprocessor2d.cxx +++ b/drawinglayer/source/processor2d/vclprocessor2d.cxx @@ -553,13 +553,6 @@ void VclProcessor2D::RenderFillGraphicPrimitive2D( return; } - if (rFillBitmapCandidate.hasTransparency()) - { - // cannot handle yet, use decomposition - process(rFillBitmapCandidate); - return; - } - bool bPrimitiveAccepted = RenderFillGraphicPrimitive2DImpl(rFillBitmapCandidate); if (!bPrimitiveAccepted)
