diff options
author | bsalomon <bsalomon@google.com> | 2014-07-08 06:52:35 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2014-07-08 06:52:35 -0700 |
commit | 97b9ab72cd5ee0cba4692082737266376425f27c (patch) | |
tree | 3061ad5cf5cb7cc81f4e5ee3014597ae1bf4dbab /include/core/SkColorFilter.h | |
parent | 4ae94ffce5ecf1b71cb5e295b68bf4ec9e697443 (diff) |
Make GrDrawState and GrPaint take GrEffect* instead of GrEffectRef*.
Make Sk-effect virtuals produce GrEffect* rather than GrEffectRef*
Make GrEffectRef a typedef for GrEffect.
Committed: https://skia.googlesource.com/skia/+/2011fe9cdfa63b83489a146cea6a724cede352c8
R=robertphillips@google.com
Author: bsalomon@google.com
Review URL: https://codereview.chromium.org/377503004
Diffstat (limited to 'include/core/SkColorFilter.h')
-rw-r--r-- | include/core/SkColorFilter.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/core/SkColorFilter.h b/include/core/SkColorFilter.h index c26bc075c9..25e6bbe746 100644 --- a/include/core/SkColorFilter.h +++ b/include/core/SkColorFilter.h @@ -15,7 +15,7 @@ #include "SkXfermode.h" class SkBitmap; -class GrEffectRef; +class GrEffect; class GrContext; /** @@ -126,7 +126,7 @@ public: /** A subclass may implement this factory function to work with the GPU backend. If the return is non-NULL then the caller owns a ref on the returned object. */ - virtual GrEffectRef* asNewEffect(GrContext*) const; + virtual GrEffect* asNewEffect(GrContext*) const; SK_TO_STRING_PUREVIRT() |