From c5834bcfacba768fb361ae273534f1eac63f546f Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Tue, 19 Nov 2024 17:55:08 +0200 Subject: use default implementation for hasFastDrawTransformedBitmap so only the one that implements it needs to override it Change-Id: I1acffb4796d95d75edc4507f533d9b1f8987972b Reviewed-on: https://gerrit.libreoffice.org/c/core/+/176790 Reviewed-by: Noel Grandin Tested-by: Jenkins --- vcl/inc/salgdi.hxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'vcl/inc/salgdi.hxx') diff --git a/vcl/inc/salgdi.hxx b/vcl/inc/salgdi.hxx index 5c4356e5bf62..6b2c35a35e36 100644 --- a/vcl/inc/salgdi.hxx +++ b/vcl/inc/salgdi.hxx @@ -571,7 +571,8 @@ protected: /// (for example, some OutputDevice optimizations could try access the pixels, which /// would make performance worse for GPU-backed backends). /// See also tdf#138068. - virtual bool hasFastDrawTransformedBitmap() const = 0; + /// Only currently true for SkiaSalGraphicsImpl + virtual bool hasFastDrawTransformedBitmap() const { return false; } /** Render solid rectangle with given transparency * -- cgit