diff options
author | Luboš Luňák <l.lunak@collabora.com> | 2021-11-25 22:38:55 +0100 |
---|---|---|
committer | Luboš Luňák <l.lunak@collabora.com> | 2021-11-29 21:48:53 +0100 |
commit | 4a11c85baeb4998e12bc2ab45b0c23d7203bd5b0 (patch) | |
tree | 7afb38108114ea30bf455668a84d0d9a0de04a4d /vcl/inc/skia | |
parent | 7a2616501bba1225df3f6bc0225c3d5a7a692002 (diff) |
remove Skia kDifference workaround
I thought it was a driver problem, but now I'm actually not sure,
as I cannot reproduce it anymore and I don't know if it was a driver
update or Skia update. Either way, this works now.
Also switch to kExclusion, because the end result is the same,
but this formula is simpler (to understand primarily, the performance
is going to be probably the same).
Change-Id: I6ced098ca4a3361cf98d3f9b32968c128eb9f299
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/126050
Tested-by: Jenkins
Reviewed-by: Luboš Luňák <l.lunak@collabora.com>
Diffstat (limited to 'vcl/inc/skia')
-rw-r--r-- | vcl/inc/skia/utils.hxx | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/vcl/inc/skia/utils.hxx b/vcl/inc/skia/utils.hxx index 0583e9ceb624..ac8a185e711e 100644 --- a/vcl/inc/skia/utils.hxx +++ b/vcl/inc/skia/utils.hxx @@ -103,9 +103,6 @@ enum DirectImage No }; -// Do 'paint->setBlendMode(SkBlendMode::kDifference)' (workaround for buggy drivers). -void setBlendModeDifference(SkPaint* paint); - // Must be called in any VCL backend before any Skia functionality is used. // If not set, Skia will be disabled. VCL_DLLPUBLIC void |