diff options
author | Noel Grandin <noelgrandin@gmail.com> | 2024-11-19 17:55:08 +0200 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2024-11-20 07:08:06 +0100 |
commit | c5834bcfacba768fb361ae273534f1eac63f546f (patch) | |
tree | 217972a98e1b0fc2561377a7b3907ce9b258670a /vcl/inc/salgdi.hxx | |
parent | 3746195ff989a4596afc456d53010d8860bd7b64 (diff) |
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 <noel.grandin@collabora.co.uk>
Tested-by: Jenkins
Diffstat (limited to 'vcl/inc/salgdi.hxx')
-rw-r--r-- | vcl/inc/salgdi.hxx | 3 |
1 files changed, 2 insertions, 1 deletions
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 * |