diff options
author | Caolán McNamara <caolanm@redhat.com> | 2021-08-19 13:01:33 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2021-08-20 16:32:40 +0200 |
commit | 1727fe82330dcf67eeece4eacfd4907f85714b0f (patch) | |
tree | 6b621ea2a26ea1e2ea6e7b45a1a7505a3041249c /vcl/headless | |
parent | af1b02ede015e21cdad9ad98f8f042db4f31c4ce (diff) |
tdf#142394 return to using CAIRO_OPERATOR_SOURCE in drawBitmap
since
commit cd09fc9451897e6efedbf9f5e1d5b9bd96e65cb5
Date: Mon Mar 22 19:06:15 2021 +0100
do not enable mbSupportsBitmap32 for headless (tdf#141171)
turned back off the mbSupportsBitmap32 support experiemented with in
commit 86ea64f216819696cd86d1926aff0a138ace2baf
Date: Fri Feb 15 13:14:32 2019 +0100
Support for native 32bit Bitmap in VCL and SVP (cairo) backend
Change-Id: I818c3f11d0334278a65a0e45b61141327669121d
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/120709
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Jenkins
Diffstat (limited to 'vcl/headless')
-rw-r--r-- | vcl/headless/svpgdi.cxx | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/vcl/headless/svpgdi.cxx b/vcl/headless/svpgdi.cxx index 926ef9fe1f6d..2a5d1ba350ad 100644 --- a/vcl/headless/svpgdi.cxx +++ b/vcl/headless/svpgdi.cxx @@ -2168,7 +2168,12 @@ void SvpSalGraphics::drawBitmap(const SalTwoRect& rTR, const SalBitmap& rSourceB return; } +#if 0 // LO code is not yet bitmap32-ready. + // if m_bSupportsBitmap32 becomes trye for Svp revisit this copyWithOperator(rTR, source, CAIRO_OPERATOR_OVER); +#else + copyWithOperator(rTR, source, CAIRO_OPERATOR_SOURCE); +#endif } void SvpSalGraphics::drawBitmap(const SalTwoRect& rTR, const BitmapBuffer* pBuffer, cairo_operator_t eOp) |