diff options
author | Tomaž Vajngerl <tomaz.vajngerl@collabora.co.uk> | 2019-04-30 00:53:37 +0900 |
---|---|---|
committer | Tomaž Vajngerl <quikee@gmail.com> | 2019-04-30 10:53:23 +0200 |
commit | 60095b481d9663f7bcfe8078d669030ab2bc6a05 (patch) | |
tree | 712228cc9896b0d3605e0f2c1a553cbf939aea05 /solenv | |
parent | 6a67ecd9b12e68031b5dbacb591955b59f476b86 (diff) |
tdf#125014 only use a fastpath if src. and dest. bitcount matches
It can happen that a bitmap is 32-bit (made from a VirtualDevice)
but we can't even create a 32-bit bitmap ourselves. In that case
we can only create a 24-bit, but now we can't use the fastpath
anymore as the bitdepth of source and destination is not the same.
Fix this by making sure the general scaler will be used when
source and destination bitmaps don't have the same bitcount.
Change-Id: Icdb974093558d618b7c056b29963b45ee31ce200
Reviewed-on: https://gerrit.libreoffice.org/71540
Tested-by: Jenkins
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
Diffstat (limited to 'solenv')
0 files changed, 0 insertions, 0 deletions