Remove GrFP iter declarations and comments

Accidentally left these behind in previous change.

Change-Id: I77620d27561ce1c73b9509388cd9253c405a95b6
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/436997
Commit-Queue: Brian Salomon <bsalomon@google.com>
Commit-Queue: Michael Ludwig <michaelludwig@google.com>
Auto-Submit: Brian Salomon <bsalomon@google.com>
Reviewed-by: Michael Ludwig <michaelludwig@google.com>
This commit is contained in:
Brian Salomon 2021-08-06 14:48:50 -04:00 committed by SkCQ
parent eb76f3d0dd
commit 07cce00ce8

View File

@ -316,38 +316,6 @@ public:
SkString dumpTreeInfo() const;
#endif
// A pre-order traversal iterator over a hierarchy of FPs. It can also iterate over all the FP
// hierarchies rooted in a GrPaint, GrProcessorSet, or GrPipeline. For these collections it
// iterates the tree rooted at each color FP and then each coverage FP.
//
// An iterator is constructed from one of the srcs and used like this:
// for (GrFragmentProcessor::Iter iter(pipeline); iter; ++iter) {
// GrFragmentProcessor& fp = *iter;
// }
// The exit test for the loop is using CIter's operator bool().
// To use a range-for loop instead see CIterRange below.
class CIter;
// Used to implement a range-for loop using CIter. Src is one of GrFragmentProcessor,
// GrPaint, GrProcessorSet, or GrPipeline. Type aliases for these defined below.
// Example usage:
// for (const auto& fp : GrFragmentProcessor::PaintRange(paint)) {
// if (fp.usesLocalCoords()) {
// ...
// }
// }
template <typename Src> class CIterRange;
// We would use template deduction guides for CIter but for:
// https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79501
// Instead we use these specialized type aliases to make it prettier
// to construct CIters for particular sources of FPs.
using FPRange = CIterRange<GrFragmentProcessor>;
using PaintRange = CIterRange<GrPaint>;
// Sentinel type for range-for using CIter.
class EndCIter {};
protected:
enum OptimizationFlags : uint32_t {
kNone_OptimizationFlags,