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

Unified Diff: include/core/SkXfermode.h

Issue 1670063002: extend modecolorfilter to 4f (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: remove pin for modulate Created 4 years, 10 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/core/SkColor.h ('k') | src/core/SkModeColorFilter.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: include/core/SkXfermode.h
diff --git a/include/core/SkXfermode.h b/include/core/SkXfermode.h
index f2d8d578659bc8838420913e34d96c4e94c82e75..95494529608da5a4a7642b91be7588cc3b34d319 100644
--- a/include/core/SkXfermode.h
+++ b/include/core/SkXfermode.h
@@ -144,6 +144,7 @@ public:
porter-duff transfer mode.
*/
static SkXfermodeProc GetProc(Mode mode);
+ static SkXfermodeProc4f GetProc4f(Mode);
/**
* If the specified mode can be represented by a pair of Coeff, then return
@@ -241,6 +242,7 @@ public:
int count, const SkAlpha coverage[]);
typedef void (*PM4fProcN)(const PM4fState&, uint32_t dst[], const SkPM4f src[],
int count, const SkAlpha coverage[]);
+
static PM4fProc1 GetPM4fProc1(Mode, uint32_t flags);
static PM4fProcN GetPM4fProcN(Mode, uint32_t flags);
virtual PM4fProc1 getPM4fProc1(uint32_t flags) const;
« no previous file with comments | « include/core/SkColor.h ('k') | src/core/SkModeColorFilter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698