Index: include/effects/SkPixelXorXfermode.h |
diff --git a/include/effects/SkPixelXorXfermode.h b/include/effects/SkPixelXorXfermode.h |
index 568c322a5d2efae9f30f085be59e182ef430e283..b6a160b581c5043480ca44287a9a46669936d69f 100644 |
--- a/include/effects/SkPixelXorXfermode.h |
+++ b/include/effects/SkPixelXorXfermode.h |
@@ -17,7 +17,16 @@ |
*/ |
class SK_API SkPixelXorXfermode : public SkXfermode { |
public: |
- static SkXfermode* Create(SkColor opColor) { return new SkPixelXorXfermode(opColor); } |
+ static SkXfermode* Create(SkColor opColor) { |
+ return new SkPixelXorXfermode(opColor); |
+ } |
+ |
+#if SK_SUPPORT_GPU |
+ bool asFragmentProcessor(const GrFragmentProcessor** output, |
+ const GrFragmentProcessor* dst) const override; |
+ |
+ bool asXPFactory(GrXPFactory**) const override; |
+#endif |
SK_TO_STRING_OVERRIDE() |
SK_DECLARE_PUBLIC_FLATTENABLE_DESERIALIZATION_PROCS(SkPixelXorXfermode) |