Chromium Code Reviews| Index: include/gpu/GrFragmentProcessor.h |
| diff --git a/include/gpu/GrFragmentProcessor.h b/include/gpu/GrFragmentProcessor.h |
| index fe6e6faf14654429d81fb5660c99033e5b738c07..341b3fb33823743caed28bb7fbeb249e6a9d2223 100644 |
| --- a/include/gpu/GrFragmentProcessor.h |
| +++ b/include/gpu/GrFragmentProcessor.h |
| @@ -47,6 +47,10 @@ public: |
| numTransforms(). */ |
| const GrCoordTransform& coordTransform(int index) const { return *fCoordTransforms[index]; } |
| + const SkTArray<const GrCoordTransform*, true>& coordTransforms() const { |
|
bsalomon
2015/01/13 14:51:14
Why expose the internal container type and not use
|
| + return fCoordTransforms; |
| + } |
| + |
| /** Will this prceossor read the destination pixel value? */ |
| bool willReadDstColor() const { return fWillReadDstColor; } |