diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2023-06-30 15:02:16 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2023-07-02 16:57:46 +0200 |
commit | 72f2de04a23680fcb75cf5bc89b3422f9e89cdef (patch) | |
tree | b0ddebb861c6d25196cad38098ecfafdeee95ae1 /vcl/inc/skia | |
parent | 13f3ccd125e42cc01a7f262434ae935adbe5e192 (diff) |
optimised Skia Invert() operation
which is not that important right now, but my upcoming
transparency->alpha patch will make more heavy use of Invert(),
and this change will reduce the cost of that
Change-Id: I53d8dfbf153f16f4d94022527c71d70d08392dfc
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/153857
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'vcl/inc/skia')
-rw-r--r-- | vcl/inc/skia/salbmp.hxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/vcl/inc/skia/salbmp.hxx b/vcl/inc/skia/salbmp.hxx index 8a974f08566c..3c8b1a964806 100644 --- a/vcl/inc/skia/salbmp.hxx +++ b/vcl/inc/skia/salbmp.hxx @@ -64,6 +64,7 @@ public: virtual bool ConvertToGreyscale() override; virtual bool Erase(const Color& color) override; virtual bool AlphaBlendWith(const SalBitmap& rSalBmp) override; + virtual bool Invert() override; #if defined MACOSX || defined IOS virtual CGImageRef CreateWithMask(const SalBitmap& rMask, int nX, int nY, int nWidth, int nHeight) const override; |