diff options
author | Luboš Luňák <l.lunak@collabora.com> | 2020-04-06 17:10:20 +0200 |
---|---|---|
committer | Luboš Luňák <l.lunak@collabora.com> | 2020-04-07 11:54:13 +0200 |
commit | 81edf0ceef264dbbb338d2ed91378baa59b7a3bf (patch) | |
tree | 24195f6909f720a16afe393064a128a95cdc490a /svx/uiconfig/ui/sidebarpossize.ui | |
parent | 2fcfbd73768b69ba58607a054e7f851be2942992 (diff) |
optimize SkiaSalGraphicsImpl area copying
SkSurface::draw() can avoid copies if it detects the source and
destination are the same surface. This can especially make
a difference on Windows with raster, because RasterWindowContext_win
shares the surface's pixel data with BITMAPINFO, which resets
SkSurface's fWeOwnThePixels, making even makeImageSnapshot()
do copies.
Can be seen in the profile e.g. for tdf#131408.
Change-Id: I08d08974c4725824e05c5644549b920f69b9ce64
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/91773
Tested-by: Jenkins
Reviewed-by: Luboš Luňák <l.lunak@collabora.com>
Diffstat (limited to 'svx/uiconfig/ui/sidebarpossize.ui')
0 files changed, 0 insertions, 0 deletions