diff options
author | Luboš Luňák <l.lunak@collabora.com> | 2021-08-30 21:03:20 +0200 |
---|---|---|
committer | Luboš Luňák <l.lunak@collabora.com> | 2021-08-31 10:05:04 +0200 |
commit | 5e4dfd68d690f38dd87609c39fc564b92bc6a0b3 (patch) | |
tree | 945b2c2cb3f9e9c842cd7e6c9e4865ff9898bbab /vcl/skia/gdiimpl.cxx | |
parent | 2489edcbe0f5dc77649fc2e801c1bbffb71692b8 (diff) |
Skia's kDifference now seems to cause crashes also on AMD/Windows
Change-Id: Ia60605407ba9f890db308301711f2d54bca92d56
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/121326
Tested-by: Jenkins
Reviewed-by: Luboš Luňák <l.lunak@collabora.com>
Diffstat (limited to 'vcl/skia/gdiimpl.cxx')
-rw-r--r-- | vcl/skia/gdiimpl.cxx | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/vcl/skia/gdiimpl.cxx b/vcl/skia/gdiimpl.cxx index cb8708fd5d60..97a34bb3f66f 100644 --- a/vcl/skia/gdiimpl.cxx +++ b/vcl/skia/gdiimpl.cxx @@ -1442,13 +1442,11 @@ void SkiaSalGraphicsImpl::invert(basegfx::B2DPolygon const& rPoly, SalInvert eFl // in drawing errors. Work that around by fetching the relevant part of the surface // and drawing using CPU. bool rasterHack = (isGPU() && getVendor() == DriverBlocklist::VendorIntel && !mXorMode); -#if defined LINUX // BackendTest::testDrawInvertTrackFrameWithRectangle() also has a problem - // with SkBlendMode::kDifference on AMD/Linux, leading to crashes or even + // with SkBlendMode::kDifference on AMD, leading to crashes or even // driver instability. Also work around by drawing using CPU. if (isGPU() && getVendor() == DriverBlocklist::VendorAMD && !mXorMode) rasterHack = true; -#endif SkPath aPath; aPath.incReserve(rPoly.count()); addPolygonToPath(rPoly, aPath); |