office-gobmx/external/skia/allow-no-es2restrictions.patch.1
Luboš Luňák f7a628f8ef implement xor drawing directly using Skia (tdf#141090)
Up until now this has been implemented like in almost all other VCL
backends by manually xor-ing pixel values. But that required fetching
pixel values from the GPU in Vulkan mode, which is relatively slow.
Since some time Skia now has supported writing custom blending modes
using the SkBlender class, so it's now possible to drop the hack
and support xor drawing directly using a blender that does
the operation. This should be both faster and simpler.

Change-Id: Id751d0ed4034852ce68697ecf56cc6dfac95307f
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/126051
Tested-by: Jenkins
Reviewed-by: Luboš Luňák <l.lunak@collabora.com>
2021-11-29 21:49:10 +01:00

13 lines
476 B
Groff

diff --git a/include/effects/SkRuntimeEffect.h b/include/effects/SkRuntimeEffect.h
index b3f21b1d58..dddc8d16dc 100644
--- a/include/effects/SkRuntimeEffect.h
+++ b/include/effects/SkRuntimeEffect.h
@@ -97,7 +97,7 @@ public:
// run the inliner directly, but they still get an inlining pass once they are painted.)
bool forceNoInline = false;
- private:
+// private:
friend class SkRuntimeEffect;
friend class SkRuntimeEffectPriv;