aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/core
diff options
context:
space:
mode:
authorGravatar egdaniel <egdaniel@google.com>2014-12-08 11:20:39 -0800
committerGravatar Commit bot <commit-bot@chromium.org>2014-12-08 11:20:40 -0800
commit7c66342a399b529634bed0fabfaa562db2c0dbd4 (patch)
tree1acf634452770b9ef66d8a1422748422062ec9d6 /include/core
parenta2bd24fd15378d0a25d79b4aa2d76dddc4cf564c (diff)
Make all blending up to GrOptDrawState be handled by the xp/xp factory.
In this cl the blending information is extracted for the xp and stored in the ODS which is then used as it currently is. In the follow up cl, an XP backend will be added and at that point all blending work will take place inside XP's. BUG=skia: Review URL: https://codereview.chromium.org/759713002
Diffstat (limited to 'include/core')
-rw-r--r--include/core/SkXfermode.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/core/SkXfermode.h b/include/core/SkXfermode.h
index 35e9837483..05fd81152a 100644
--- a/include/core/SkXfermode.h
+++ b/include/core/SkXfermode.h
@@ -217,10 +217,10 @@ public:
or a fragment processor. This helper calls the asCoeff(), asXPFactory(),
and asFragmentProcessor() virtuals. If the xfermode is NULL, it is treated as kSrcOver_Mode.
It is legal to call this with all params NULL to simply test the return value.
- fp, xpf, src, and dst must all be NULL or all non-NULL.
+ fp and xpf must both be NULL or all non-NULL.
*/
static bool AsFragmentProcessorOrXPFactory(SkXfermode*, GrFragmentProcessor**,
- GrXPFactory**, Coeff* src, Coeff* dst);
+ GrXPFactory**);
SK_TO_STRING_PUREVIRT()
SK_DECLARE_FLATTENABLE_REGISTRAR_GROUP()