| Index: include/gpu/GrFragmentProcessor.h
|
| diff --git a/include/gpu/GrFragmentProcessor.h b/include/gpu/GrFragmentProcessor.h
|
| index 776e8931f9d7b4de17f805ca0eddc8c94a2a060c..571139578a632497da226e409fc272010d3db483 100644
|
| --- a/include/gpu/GrFragmentProcessor.h
|
| +++ b/include/gpu/GrFragmentProcessor.h
|
| @@ -41,12 +41,20 @@ public:
|
| static const GrFragmentProcessor* MulOutputByInputUnpremulColor(const GrFragmentProcessor*);
|
|
|
| /**
|
| - * Returns a parent fragment processor that adopts the passed fragment processor as a child. The
|
| - * parent will ignore its input color and instead feed the passed in color as input to the
|
| - * child.
|
| + * Returns a parent fragment processor that adopts the passed fragment processor as a child.
|
| + * The parent will ignore its input color and instead feed the passed in color as input to the
|
| + * child.
|
| */
|
| static const GrFragmentProcessor* OverrideInput(const GrFragmentProcessor*, GrColor);
|
|
|
| + /**
|
| + * Returns a fragment processor that runs the passed in array of fragment processors in a
|
| + * series. The original input is passed to the first, the first's output is passed to the
|
| + * second, etc. The output of the returned processor is the output of the last processor of the
|
| + * series.
|
| + */
|
| + static const GrFragmentProcessor* RunInSeries(const GrFragmentProcessor*[], int cnt);
|
| +
|
| GrFragmentProcessor()
|
| : INHERITED()
|
| , fUsesLocalCoords(false)
|
|
|