| Index: src/gpu/GrResourceProvider.cpp
|
| diff --git a/src/gpu/GrResourceProvider.cpp b/src/gpu/GrResourceProvider.cpp
|
| index 8fc3272ae2204715650cd45e664b5d56a1ff1399..8ac5a3a844dc94188425f16badc15ee7beaa8397 100644
|
| --- a/src/gpu/GrResourceProvider.cpp
|
| +++ b/src/gpu/GrResourceProvider.cpp
|
| @@ -63,3 +63,21 @@ const GrIndexBuffer* GrResourceProvider::createQuadIndexBuffer() {
|
| return this->createInstancedIndexBuffer(kPattern, 6, kMaxQuads, 4, fQuadIndexBufferKey);
|
| }
|
|
|
| +GrPath* GrResourceProvider::createPath(const SkPath& path, const GrStrokeInfo& stroke) {
|
| + SkASSERT(this->gpu()->pathRendering());
|
| + return this->gpu()->pathRendering()->createPath(path, stroke);
|
| +}
|
| +
|
| +GrPathRange* GrResourceProvider::createPathRange(GrPathRange::PathGenerator* gen,
|
| + const GrStrokeInfo& stroke) {
|
| + SkASSERT(this->gpu()->pathRendering());
|
| + return this->gpu()->pathRendering()->createPathRange(gen, stroke);
|
| +}
|
| +
|
| +GrPathRange* GrResourceProvider::createGlyphs(const SkTypeface* tf, const SkDescriptor* desc,
|
| + const GrStrokeInfo& stroke) {
|
| +
|
| + SkASSERT(this->gpu()->pathRendering());
|
| + return this->gpu()->pathRendering()->createGlyphs(tf, desc, stroke);
|
| +}
|
| +
|
|
|