summaryrefslogtreecommitdiff
path: root/vcl/inc
diff options
context:
space:
mode:
authorTomaž Vajngerl <tomaz.vajngerl@collabora.co.uk>2021-12-29 15:47:42 +0900
committerTomaž Vajngerl <quikee@gmail.com>2022-01-05 04:35:45 +0100
commit86fdd581a832c7476d7556f3f4fb7d83f5de4d8b (patch)
treed6244e506a96a5483d52ab3ccbae1b3fac508a75 /vcl/inc
parent5a7cdbfbd3cbf3ea92c38e78a3b159fdffed7740 (diff)
vcl: move tryToUse{Source,Mask}Buffer to BitmapHelper
Change-Id: I9352aec388db56596fef3f5f323244b1df26cdcb Reviewed-on: https://gerrit.libreoffice.org/c/core/+/127979 Tested-by: Jenkins Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
Diffstat (limited to 'vcl/inc')
-rw-r--r--vcl/inc/headless/BitmapHelper.hxx5
1 files changed, 5 insertions, 0 deletions
diff --git a/vcl/inc/headless/BitmapHelper.hxx b/vcl/inc/headless/BitmapHelper.hxx
index da5e417a4e9f..cffa0b21d50b 100644
--- a/vcl/inc/headless/BitmapHelper.hxx
+++ b/vcl/inc/headless/BitmapHelper.hxx
@@ -73,4 +73,9 @@ public:
virtual sal_Int64 estimateUsageInBytes() const override;
};
+VCL_DLLPUBLIC void tryToUseSourceBuffer(const SalBitmap& rSourceBitmap,
+ std::shared_ptr<BitmapHelper>& rSurface);
+VCL_DLLPUBLIC void tryToUseMaskBuffer(const SalBitmap& rMaskBitmap,
+ std::shared_ptr<MaskHelper>& rMask);
+
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */