Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(9)

Unified Diff: include/gpu/effects/GrCustomXfermode.h

Issue 1334293003: Create fragment processor for performing input color blend with child processor (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: fix Created 5 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « include/gpu/SkGr.h ('k') | include/gpu/effects/GrXfermodeFragmentProcessor.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: include/gpu/effects/GrCustomXfermode.h
diff --git a/include/gpu/effects/GrCustomXfermode.h b/include/gpu/effects/GrCustomXfermode.h
index 557397077e2f0b5968e0ea889a8255c1879e4446..bcbd5833ca8741a02295b9ab0e0f83f6d3178bd2 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);
};
« no previous file with comments | « include/gpu/SkGr.h ('k') | include/gpu/effects/GrXfermodeFragmentProcessor.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698