From 7c66342a399b529634bed0fabfaa562db2c0dbd4 Mon Sep 17 00:00:00 2001 From: egdaniel Date: Mon, 8 Dec 2014 11:20:39 -0800 Subject: 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 --- include/core/SkXfermode.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include/core') 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() -- cgit v1.2.3