diff options
author | egdaniel <egdaniel@google.com> | 2015-01-20 10:19:22 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-01-20 10:19:22 -0800 |
commit | 58136167fc596fb945b58b34f500cf370c0dec7c (patch) | |
tree | 2d3c62662c1b50157a3c6c54481f3da8d228f84e /include/core | |
parent | 9264a95608c08623f2955823703e5c77558cafa8 (diff) |
Do more cleanup from xp changes
BUG=skia:
Review URL: https://codereview.chromium.org/811903004
Diffstat (limited to 'include/core')
-rw-r--r-- | include/core/SkXfermode.h | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/include/core/SkXfermode.h b/include/core/SkXfermode.h index 9d72cef745..fc9ae21ac4 100644 --- a/include/core/SkXfermode.h +++ b/include/core/SkXfermode.h @@ -207,14 +207,11 @@ public: */ virtual bool asXPFactory(GrXPFactory** xpf) const; - /** Returns true if the xfermode can be expressed as an xfer processor factory (xpFactory), - 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 and xpf must both be NULL or all non-NULL. + /** Returns true if the xfermode can be expressed as an xfer processor factory (xpFactory). + This helper calls the asXPFactory() virtual. If the xfermode is NULL, it is treated as + kSrcOver_Mode. It is legal to call this with xpf param NULL to simply test the return value. */ - static bool AsFragmentProcessorOrXPFactory(SkXfermode*, GrFragmentProcessor**, - GrXPFactory**); + static bool AsXPFactory(SkXfermode*, GrXPFactory**); SK_TO_STRING_PUREVIRT() SK_DECLARE_FLATTENABLE_REGISTRAR_GROUP() |