| Index: src/gpu/batches/GrDrawPathBatch.h
|
| diff --git a/src/gpu/batches/GrDrawPathBatch.h b/src/gpu/batches/GrDrawPathBatch.h
|
| index bb76abb26b2e3d1677aaa4c1f7c8000c74e77a81..91e0e41ee475ecf9b0f623dd62da034fa18678eb 100644
|
| --- a/src/gpu/batches/GrDrawPathBatch.h
|
| +++ b/src/gpu/batches/GrDrawPathBatch.h
|
| @@ -115,6 +115,10 @@ public:
|
|
|
| const GrPathRange* range() const { return fPathRange.get(); }
|
|
|
| + void loadGlyphPathsIfNeeded() {
|
| + fPathRange.get()->loadPathsIfNeeded<uint16_t>(fIndices.begin(), fIndices.count());
|
| + }
|
| +
|
| static bool CanMerge(const GrPathRangeDraw& a, const GrPathRangeDraw& b) {
|
| return a.transformType() == b.transformType() && a.range() == b.range();
|
| }
|
|
|