| Index: src/gpu/GrTextBlobCache.h
|
| diff --git a/src/gpu/GrTextBlobCache.h b/src/gpu/GrTextBlobCache.h
|
| index 7a2b2a79a17ade040c3c93106b5b22cf8c590015..4bf07f4830f204c10a2f5fdaa04238e8b993aa2d 100644
|
| --- a/src/gpu/GrTextBlobCache.h
|
| +++ b/src/gpu/GrTextBlobCache.h
|
| @@ -21,6 +21,13 @@ public:
|
|
|
| // creates an uncached blob
|
| BitmapTextBlob* createBlob(int glyphCount, int runCount, size_t maxVASize);
|
| + BitmapTextBlob* createBlob(const SkTextBlob* blob, size_t maxVAStride) {
|
| + int glyphCount = 0;
|
| + int runCount = 0;
|
| + BlobGlyphCount(&glyphCount, &runCount, blob);
|
| + BitmapTextBlob* cacheBlob = this->createBlob(glyphCount, runCount, maxVAStride);
|
| + return cacheBlob;
|
| + }
|
|
|
| BitmapTextBlob* createCachedBlob(const SkTextBlob* blob, size_t maxVAStride) {
|
| int glyphCount = 0;
|
|
|