diff options
author | Luboš Luňák <l.lunak@collabora.com> | 2019-12-20 12:43:40 +0100 |
---|---|---|
committer | Luboš Luňák <l.lunak@collabora.com> | 2020-01-15 11:48:50 +0100 |
commit | 891e89004b227326b6fae4c4a2a90dce741dc7aa (patch) | |
tree | 77ba43dbd998f1a62031aa91c7c17990e6ed07d2 /svx/source/svdraw/svdcrtv.cxx | |
parent | 5a211ba9f5f465c8c898ebce4cc37fa30581acac (diff) |
avoid needless copy by SkSurface::makeImageSnapshot(rect)
It seems to make data copy if the given rectangle is a subset of the size,
so rather use the whole rectangle and specify the subset in drawImageRect().
Change-Id: I42f1da533dbf4334ec538e478131901b2d7ed7b2
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/86775
Tested-by: Jenkins
Reviewed-by: Luboš Luňák <l.lunak@collabora.com>
Diffstat (limited to 'svx/source/svdraw/svdcrtv.cxx')
0 files changed, 0 insertions, 0 deletions