Lines Matching refs:range
19 // We create Ops that write a value into a range of a buffer. We create ranges from
20 // kNumOpPositions starting positions x kRanges canonical ranges. We repeat each range kNumRepeats
60 // Within a's range we have one value each other op, but not one for a itself.
100 static GrOp::Owner Make(GrRecordingContext* context, int value, const Range& range,
102 return GrOp::Make<TestOp>(context, value, range, result, combinable);
120 TestOp(int value, const Range& range, int result[], const Combinable* combinable)
122 fValueRanges.push_back({value, range});
123 this->setBounds(SkRect::MakeXYWH(range.fOffset, 0, range.fOffset + range.fLength, 1),
232 // factor out the repeats and then use the canonical starting position and range
233 // to determine an actual range.
236 Range range = kRanges[j / kNumOpPositions];
237 range.fOffset += pos;
238 auto op = TestOp::Make(dContext.get(), value, range, result, &combinable);