| Index: include/core/SkMaskFilter.h
|
| diff --git a/include/core/SkMaskFilter.h b/include/core/SkMaskFilter.h
|
| index 51ede4b0ab286cdcdc12c8f32cabb8e7cbf14099..3e33637b5a157f66d39e04cef83cc23ff5e10196 100644
|
| --- a/include/core/SkMaskFilter.h
|
| +++ b/include/core/SkMaskFilter.h
|
| @@ -63,21 +63,19 @@ public:
|
|
|
| #if SK_SUPPORT_GPU
|
| /**
|
| - * Returns true if the filter can be expressed a single-pass GrEffect without requiring an
|
| + * Returns true if the filter can be expressed a single-pass GrProcessor without requiring an
|
| * explicit input mask. Per-pixel, the effect receives the incoming mask's coverage as
|
| * the input color and outputs the filtered covereage value. This means that each pixel's
|
| * filtered coverage must only depend on the unfiltered mask value for that pixel and not on
|
| * surrounding values.
|
| *
|
| - * If effect is non-NULL, a new GrEffect instance is stored in it. The caller assumes ownership
|
| + * If effect is non-NULL, a new GrProcessor instance is stored in it. The caller assumes ownership
|
| * of the effect and must unref it.
|
| */
|
| - virtual bool asNewEffect(GrEffect** effect,
|
| - GrTexture*,
|
| - const SkMatrix& ctm) const;
|
| + virtual bool asFragmentProcessor(GrFragmentProcessor**, GrTexture*, const SkMatrix& ctm) const;
|
|
|
| /**
|
| - * If asNewEffect() fails the filter may be implemented on the GPU by a subclass overriding
|
| + * If asFragmentProcessor() fails the filter may be implemented on the GPU by a subclass overriding
|
| * filterMaskGPU (declared below). That code path requires constructing a src mask as input.
|
| * Since that is a potentially expensive operation, the subclass must also override this
|
| * function to indicate whether filterTextureMaskGPU would succeeed if the mask were to be
|
|
|