From 86fdd581a832c7476d7556f3f4fb7d83f5de4d8b Mon Sep 17 00:00:00 2001 From: Tomaž Vajngerl Date: Wed, 29 Dec 2021 15:47:42 +0900 Subject: vcl: move tryToUse{Source,Mask}Buffer to BitmapHelper MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I9352aec388db56596fef3f5f323244b1df26cdcb Reviewed-on: https://gerrit.libreoffice.org/c/core/+/127979 Tested-by: Jenkins Reviewed-by: Tomaž Vajngerl --- vcl/inc/headless/BitmapHelper.hxx | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'vcl/inc') 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& rSurface); +VCL_DLLPUBLIC void tryToUseMaskBuffer(const SalBitmap& rMaskBitmap, + std::shared_ptr& rMask); + /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ -- cgit