diff options
author | Luboš Luňák <l.lunak@collabora.com> | 2022-09-13 18:15:17 +0200 |
---|---|---|
committer | Luboš Luňák <l.lunak@collabora.com> | 2022-09-14 08:05:18 +0200 |
commit | 20de4e3ca38e177ea61e818b32d82008758b8caa (patch) | |
tree | a76e8ccdd2926278df9004e36cfbafc3168489aa /vcl/inc/skia | |
parent | 0bd72fe60dea0d14bec4b79fdfbeb8cc7a4004b1 (diff) |
do not check and refcount Info access to Skia bitmaps (tdf#150817)
VclCanvasBitmap keeps one around for no good reason, and I don't
feel like digging into it. Since there's no pixel data involved
in that case, let's assume the reader knows that the info about
the bitmap will not change. Making this difference is actually
what I suggested in 0e5b473a63409da2cdae4f4c60a91fcc93755ba5.
Change-Id: I302a9c2c63c8b9474a541a963928933e223f4b45
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/139873
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 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/inc/skia/salbmp.hxx b/vcl/inc/skia/salbmp.hxx index 05e489643f88..e79fb1cc101d 100644 --- a/vcl/inc/skia/salbmp.hxx +++ b/vcl/inc/skia/salbmp.hxx @@ -211,7 +211,7 @@ private: // Erase() is delayed, just sets these two instead of filling the buffer. bool mEraseColorSet = false; Color mEraseColor; - int mAnyAccessCount = 0; // number of any kind of AcquireAccess() that have not been released + int mReadAccessCount = 0; // number of read AcquireAccess() that have not been released #ifdef DBG_UTIL int mWriteAccessCount = 0; // number of write AcquireAccess() that have not been released #endif |