drawinglayer/source/processor2d/vclprocessor2d.cxx |    7 +++++++
 1 file changed, 7 insertions(+)

New commits:
commit 9c8368955b8f512d75268e7ed89e692fa9d1c930
Author:     Noel Grandin <noel.gran...@collabora.co.uk>
AuthorDate: Thu Jun 26 13:12:41 2025 +0200
Commit:     Noel Grandin <noel.gran...@collabora.co.uk>
CommitDate: Thu Jun 26 14:41:00 2025 +0200

    tdf#167135 Transparency setting page style area for image background
    
    regression from
        commit 1f61a2ec4e252d2eeccabd65a10650c8ee231a1b
        Author: Noel Grandin <noelgran...@gmail.com>
        Date:   Mon May 26 13:26:19 2025 +0200
        tdf#166715 speed up transparent fill operation
    
    where I mistook "hasTransparency" to mean "does the bitmap have an alpha 
layer", instead of "there is an __additional__ alpha value applied to this 
bitmap"
    
    Change-Id: If89d95103fc13e7ce78e7056d0a53aa40d48cde2
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/187034
    Reviewed-by: Noel Grandin <noel.gran...@collabora.co.uk>
    Tested-by: Jenkins

diff --git a/drawinglayer/source/processor2d/vclprocessor2d.cxx 
b/drawinglayer/source/processor2d/vclprocessor2d.cxx
index da2d667db513..73e3d8adbac9 100644
--- a/drawinglayer/source/processor2d/vclprocessor2d.cxx
+++ b/drawinglayer/source/processor2d/vclprocessor2d.cxx
@@ -553,6 +553,13 @@ void VclProcessor2D::RenderFillGraphicPrimitive2D(
         return;
     }
 
+    if (rFillBitmapCandidate.hasTransparency())
+    {
+        // cannot handle yet, use decomposition
+        process(rFillBitmapCandidate);
+        return;
+    }
+
     bool bPrimitiveAccepted = 
RenderFillGraphicPrimitive2DImpl(rFillBitmapCandidate);
 
     if (!bPrimitiveAccepted)

Reply via email to