Home
last modified time | relevance | path

Searched refs:cacheBlob (Results 1 – 4 of 4) sorted by relevance

/external/skqp/src/gpu/text/
DGrTextBlobCache.h45 sk_sp<GrTextBlob> cacheBlob(makeBlob(glyphRunList, color)); in makeCachedBlob()
46 cacheBlob->setupKey(key, blurRec, paint); in makeCachedBlob()
47 this->add(cacheBlob); in makeCachedBlob()
49 return cacheBlob; in makeCachedBlob()
/external/skia/src/gpu/text/
DGrTextBlobCache.h49 sk_sp<GrTextBlob> cacheBlob(makeBlob(glyphRunList, color, strikeCache)); in makeCachedBlob()
50 cacheBlob->setupKey(key, blurRec, paint); in makeCachedBlob()
51 this->add(cacheBlob); in makeCachedBlob()
53 return cacheBlob; in makeCachedBlob()
/external/skia/src/core/
DSkGlyphRunPainter.cpp657 sk_sp<GrTextBlob> cacheBlob; in drawGlyphRunList() local
678 cacheBlob = textBlobCache->find(key); in drawGlyphRunList()
681 if (cacheBlob) { in drawGlyphRunList()
682 if (cacheBlob->mustRegenerate(listPaint, glyphRunList.anyRunsSubpixelPositioned(), in drawGlyphRunList()
687 textBlobCache->remove(cacheBlob.get()); in drawGlyphRunList()
688 cacheBlob = textBlobCache->makeCachedBlob( in drawGlyphRunList()
690 cacheBlob->generateFromGlyphRunList( in drawGlyphRunList()
695 textBlobCache->makeMRU(cacheBlob.get()); in drawGlyphRunList()
701 cacheBlob->generateFromGlyphRunList( in drawGlyphRunList()
705 GrTextBlob::AssertEqual(*sanityBlob, *cacheBlob); in drawGlyphRunList()
[all …]
/external/skqp/src/core/
DSkGlyphRunPainter.cpp534 sk_sp<GrTextBlob> cacheBlob; in drawGlyphRunList() local
555 cacheBlob = textBlobCache->find(key); in drawGlyphRunList()
558 if (cacheBlob) { in drawGlyphRunList()
559 if (cacheBlob->mustRegenerate(listPaint, glyphRunList.anyRunsSubpixelPositioned(), in drawGlyphRunList()
564 textBlobCache->remove(cacheBlob.get()); in drawGlyphRunList()
565 cacheBlob = textBlobCache->makeCachedBlob(glyphRunList, key, blurRec, listPaint, color); in drawGlyphRunList()
566 cacheBlob->generateFromGlyphRunList( in drawGlyphRunList()
571 textBlobCache->makeMRU(cacheBlob.get()); in drawGlyphRunList()
576 cacheBlob->generateFromGlyphRunList( in drawGlyphRunList()
580 GrTextBlob::AssertEqual(*sanityBlob, *cacheBlob); in drawGlyphRunList()
[all …]