aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/gpu/effects/GrCustomXfermode.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/gpu/effects/GrCustomXfermode.h')
-rw-r--r--include/gpu/effects/GrCustomXfermode.h11
1 files changed, 2 insertions, 9 deletions
diff --git a/include/gpu/effects/GrCustomXfermode.h b/include/gpu/effects/GrCustomXfermode.h
index 557397077e..bcbd5833ca 100644
--- a/include/gpu/effects/GrCustomXfermode.h
+++ b/include/gpu/effects/GrCustomXfermode.h
@@ -10,21 +10,14 @@
#include "SkXfermode.h"
-class GrFragmentProcessor;
class GrTexture;
/**
* Custom Xfer modes are used for blending when the blend mode cannot be represented using blend
- * coefficients. It is assumed that all blending is done within the processors' emit code. For each
- * blend mode there should be a matching fragment processor (used when blending with a background
- * texture) and xfer processor.
+ * coefficients.
*/
namespace GrCustomXfermode {
- bool IsSupportedMode(SkXfermode::Mode mode);
-
- GrFragmentProcessor* CreateFP(GrProcessorDataManager*, SkXfermode::Mode mode,
- GrTexture* background);
-
+ bool IsSupportedMode(SkXfermode::Mode mode);
GrXPFactory* CreateXPFactory(SkXfermode::Mode mode);
};