diff options
Diffstat (limited to 'src/gpu/text/GrTextBlobCache.h')
-rw-r--r-- | src/gpu/text/GrTextBlobCache.h | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/src/gpu/text/GrTextBlobCache.h b/src/gpu/text/GrTextBlobCache.h index 7a8ea0bcfe..b41d401aee 100644 --- a/src/gpu/text/GrTextBlobCache.h +++ b/src/gpu/text/GrTextBlobCache.h @@ -55,20 +55,6 @@ public: blob->notifyAddedToCache(fUniqueID); return cacheBlob; } - sk_sp<GrTextBlob> makeBlob(SkGlyphRunList* glyphRunList) { - return GrTextBlob::Make(glyphRunList->totalGlyphCount(), glyphRunList->size()); - } - - sk_sp<GrTextBlob> makeCachedBlob(SkGlyphRunList* glyphRunList, - const GrTextBlob::Key& key, - const SkMaskFilterBase::BlurRec& blurRec, - const SkPaint& paint) { - sk_sp<GrTextBlob> cacheBlob(makeBlob(glyphRunList)); - cacheBlob->setupKey(key, blurRec, paint); - this->add(cacheBlob); - glyphRunList->temporaryShuntBlobnotifyAddedToCache(fUniqueID); - return cacheBlob; - } sk_sp<GrTextBlob> find(const GrTextBlob::Key& key) const { const auto* idEntry = fBlobIDCache.find(key.fUniqueID); |