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

New commits:
commit 89d8208c50ebf5ab5dc07d73a65a59bb549749b8
Author:     Noel Grandin <[email protected]>
AuthorDate: Thu Jun 26 13:12:41 2025 +0200
Commit:     Christian Lohmaier <[email protected]>
CommitDate: Fri Jun 27 13:04:11 2025 +0200

    tdf#167135 Transparency setting page style area for image background
    
    regression from
        commit 1f61a2ec4e252d2eeccabd65a10650c8ee231a1b
        Author: Noel Grandin <[email protected]>
        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 <[email protected]>
    Tested-by: Jenkins
    (cherry picked from commit 9c8368955b8f512d75268e7ed89e692fa9d1c930)
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/187064
    Reviewed-by: Christian Lohmaier <[email protected]>

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