| Index: include/core/SkImageFilter.h
|
| diff --git a/include/core/SkImageFilter.h b/include/core/SkImageFilter.h
|
| index 3a7cb23d5e399a4fd552d167943c1e01f91f81e3..de357188e6bc55f15be1045dbd919eb5fc28ce1a 100644
|
| --- a/include/core/SkImageFilter.h
|
| +++ b/include/core/SkImageFilter.h
|
| @@ -337,6 +337,14 @@ protected:
|
| // no inputs.
|
| virtual bool onFilterBounds(const SkIRect&, const SkMatrix&, SkIRect*) const;
|
|
|
| + // Helper function which invokes filter processing on the input at the
|
| + // specified "index". If the input is null, it leaves "result" and
|
| + // "offset" untouched, and returns true. If the input is non-null, it
|
| + // calls filterImage() on that input, and returns true on success.
|
| + // i.e., return !getInput(index) || getInput(index)->filterImage(...);
|
| + bool filterInput(int index, Proxy*, const SkBitmap& src, const Context&,
|
| + SkBitmap* result, SkIPoint* offset) const;
|
| +
|
| /**
|
| * Return true (and return a ref'd colorfilter) if this node in the DAG is just a
|
| * colorfilter w/o CropRect constraints.
|
|
|