| Index: src/gpu/GrTextBlobCache.h
|
| diff --git a/src/gpu/GrTextBlobCache.h b/src/gpu/GrTextBlobCache.h
|
| index 1b5e5b8803865c8f92e6c1d11bca6a670f62572c..0d0320e00b81b06294b25fb2c1c0373aed01a813 100644
|
| --- a/src/gpu/GrTextBlobCache.h
|
| +++ b/src/gpu/GrTextBlobCache.h
|
| @@ -32,6 +32,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;
|
|
|