diff options
author | Luboš Luňák <l.lunak@collabora.com> | 2021-11-11 15:21:29 +0100 |
---|---|---|
committer | Luboš Luňák <l.lunak@collabora.com> | 2021-11-12 11:08:55 +0100 |
commit | a8ea76779f8c0ab52f0200249a4a5cc279b914b3 (patch) | |
tree | 67ca575e992239a386af77939f93342b94cd1d31 /vcl/inc/skia | |
parent | 1008f2a06e43c19b7d8b95427198bd691eed5992 (diff) |
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.lunak@collabora.com>
Diffstat (limited to 'vcl/inc/skia')
-rw-r--r-- | vcl/inc/skia/salbmp.hxx | 3 |
1 files changed, 3 insertions, 0 deletions
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; } |