Home
last modified time | relevance | path

Searched refs:cacheBlob (Results 1 – 3 of 3) 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.h56 sk_sp<GrTextBlob> cacheBlob( in makeCachedBlob()
58 cacheBlob->setupKey(key, blurRec, glyphRunList.paint()); in makeCachedBlob()
59 this->add(cacheBlob); in makeCachedBlob()
61 return cacheBlob; in makeCachedBlob()
/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 …]