vcl/inc/skia/salbmp.hxx |    3 +++
 1 file changed, 3 insertions(+)

New commits:
commit a8ea76779f8c0ab52f0200249a4a5cc279b914b3
Author:     Luboš Luňák <l.lu...@collabora.com>
AuthorDate: Thu Nov 11 15:21:29 2021 +0100
Commit:     Luboš Luňák <l.lu...@collabora.com>
CommitDate: Fri Nov 12 11:08:55 2021 +0100

    log also whether SkiaSalBitmap has a pixel buffer
    
    Change-Id: Ib78c661ec82456386d79680f106b6d14b66f450f
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/125058
    Tested-by: Jenkins
    Reviewed-by: Luboš Luňák <l.lu...@collabora.com>

diff --git a/vcl/inc/skia/salbmp.hxx b/vcl/inc/skia/salbmp.hxx
index bb8ae16f1c2e..91b11ab6255b 100644
--- a/vcl/inc/skia/salbmp.hxx
+++ b/vcl/inc/skia/salbmp.hxx
@@ -147,6 +147,7 @@ private:
         // I/i - has SkImage (on GPU/CPU),
         // A/a - has alpha SkImage (on GPU/CPU)
         // E - has erase color
+        // B - has pixel buffer
         stream << static_cast<const void*>(bitmap) << " " << bitmap->GetSize() 
<< "x"
                << bitmap->GetBitCount();
         if (bitmap->GetBitCount() <= 8 && 
!bitmap->Palette().IsGreyPalette8Bit())
@@ -158,6 +159,8 @@ private:
             stream << (bitmap->mAlphaImage->isTextureBacked() ? "A" : "a");
         if (bitmap->mEraseColorSet)
             stream << "E" << bitmap->mEraseColor;
+        if (bitmap->mBuffer)
+            stream << "B";
         return stream;
     }
 

Reply via email to