summaryrefslogtreecommitdiff
path: root/drawinglayer/source/primitive2d/graphicprimitivehelper2d.cxx
diff options
context:
space:
mode:
authorLuboš Luňák <l.lunak@collabora.com>2020-06-30 10:19:34 +0200
committerLuboš Luňák <l.lunak@collabora.com>2020-07-01 07:36:39 +0200
commitd1fcc9053f98cc4afb52498b40a836884bb5ec6f (patch)
tree1bc3fed7ffc3972ad051f1a46f759825eeb82690 /drawinglayer/source/primitive2d/graphicprimitivehelper2d.cxx
parent8663d81828541072999b26451f7d6e6bfcb5f951 (diff)
optimize Bitmap::Erase() for Skia by delaying the erase (tdf#134363)
Tdf#134363 causes OutputDevice::DrawTransformBitmapExDirect() to create a huge 1bpp bitmap as mask, and Skia code then tries to convert all the bits to a format Skia would understand. Which is wasteful, as SkShader with the color given will do the same task much more efficiently. Change-Id: If0bba16f56fed9c3720be801b25a1e703054ed8d Reviewed-on: https://gerrit.libreoffice.org/c/core/+/97488 Tested-by: Jenkins Reviewed-by: Luboš Luňák <l.lunak@collabora.com>
Diffstat (limited to 'drawinglayer/source/primitive2d/graphicprimitivehelper2d.cxx')
0 files changed, 0 insertions, 0 deletions