diff options
author | 2013-10-23 14:03:22 +0000 | |
---|---|---|
committer | 2013-10-23 14:03:22 +0000 | |
commit | fbcd415aa01801df5f554963d7463649b49ead73 (patch) | |
tree | 6f1fe6c8b7766802b1c7d866ad5f441dfe57bba4 /include/core/SkXfermode.h | |
parent | a34995e18b1f0a7d8c9f23451718bb30ff0105b0 (diff) |
Remove GrContext from SkXfermode::[Aa]sNewEffectOrCoeff() and all subclasses,
since it's unused.
R=bsalomon@google.com
Review URL: https://codereview.chromium.org/31853003
git-svn-id: http://skia.googlecode.com/svn/trunk@11913 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'include/core/SkXfermode.h')
-rw-r--r-- | include/core/SkXfermode.h | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/include/core/SkXfermode.h b/include/core/SkXfermode.h index f4df226950..0cc430e3e1 100644 --- a/include/core/SkXfermode.h +++ b/include/core/SkXfermode.h @@ -13,7 +13,6 @@ #include "SkFlattenable.h" #include "SkColor.h" -class GrContext; class GrEffectRef; class GrTexture; class SkString; @@ -204,8 +203,7 @@ public: access to destination color (setWillReadDstColor()), and use that in the fragment shader (builder->dstColor()). */ - virtual bool asNewEffectOrCoeff(GrContext*, - GrEffectRef** effect, + virtual bool asNewEffectOrCoeff(GrEffectRef** effect, Coeff* src, Coeff* dst, GrTexture* background = NULL) const; @@ -215,7 +213,6 @@ public: * is NULL, and if so, treats it as kSrcOver_Mode. */ static bool AsNewEffectOrCoeff(SkXfermode*, - GrContext*, GrEffectRef** effect, Coeff* src, Coeff* dst, |