From f57872d2da23c8a3f90c67b6ad4a3ad0f699a276 Mon Sep 17 00:00:00 2001 From: Luboš Luňák Date: Fri, 19 Feb 2021 15:06:14 +0100 Subject: simply use drawTransformedBitmap() MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit At least with Skia this is faster than GraphicObject trying to handle it manually, even in raster mode. Change-Id: If77d108751f5621878d4ea87a996c2ea0253d111 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/111246 Tested-by: Jenkins Reviewed-by: Luboš Luňák --- vcl/headless/svpgdi.cxx | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'vcl/headless') diff --git a/vcl/headless/svpgdi.cxx b/vcl/headless/svpgdi.cxx index ab28f158be0a..5c713657d755 100644 --- a/vcl/headless/svpgdi.cxx +++ b/vcl/headless/svpgdi.cxx @@ -829,6 +829,11 @@ bool SvpSalGraphics::drawTransformedBitmap( return true; } +bool SvpSalGraphics::hasFastDrawTransformedBitmap() const +{ + return false; +} + void SvpSalGraphics::clipRegion(cairo_t* cr, const vcl::Region& rClipRegion) { RectangleVector aRectangles; -- cgit