Searched refs:cacheBlob (Results 1 – 3 of 3) sorted by relevance
/external/skia/src/gpu/text/ |
D | GrAtlasTextContext.cpp | 87 sk_sp<GrAtlasTextBlob> cacheBlob; in drawTextBlob() local 118 cacheBlob = cache->find(key); in drawTextBlob() 122 if (cacheBlob) { in drawTextBlob() 123 if (cacheBlob->mustRegenerate(paint, blurRec, viewMatrix, x, y)) { in drawTextBlob() 127 cache->remove(cacheBlob.get()); in drawTextBlob() 128 cacheBlob = cache->makeCachedBlob(blob, key, blurRec, skPaint); in drawTextBlob() 129 RegenerateTextBlob(cacheBlob.get(), context->getAtlasGlyphCache(), in drawTextBlob() 133 cache->makeMRU(cacheBlob.get()); in drawTextBlob() 144 GrAtlasTextBlob::AssertEqual(*sanityBlob, *cacheBlob); in drawTextBlob() 149 cacheBlob = cache->makeCachedBlob(blob, key, blurRec, skPaint); in drawTextBlob() [all …]
|
D | GrAtlasTextBlob.cpp | 33 sk_sp<GrAtlasTextBlob> cacheBlob(new (allocation) GrAtlasTextBlob); in Make() local 34 cacheBlob->fSize = size; in Make() 37 cacheBlob->fVertices = sizeof(GrAtlasTextBlob) + in Make() 38 reinterpret_cast<unsigned char*>(cacheBlob.get()); in Make() 39 cacheBlob->fGlyphs = reinterpret_cast<GrGlyph**>(cacheBlob->fVertices + verticesCount); in Make() 40 cacheBlob->fRuns = reinterpret_cast<GrAtlasTextBlob::Run*>(cacheBlob->fGlyphs + glyphCount); in Make() 44 new (&cacheBlob->fRuns[i]) GrAtlasTextBlob::Run; in Make() 46 cacheBlob->fRunCount = runCount; in Make() 47 cacheBlob->fPool = pool; in Make() 48 return cacheBlob; in Make()
|
D | GrTextBlobCache.h | 51 sk_sp<GrAtlasTextBlob> cacheBlob(this->makeBlob(blob)); in makeCachedBlob() 52 cacheBlob->setupKey(key, blurRec, paint); in makeCachedBlob() 53 this->add(cacheBlob); in makeCachedBlob() 55 return cacheBlob; in makeCachedBlob()
|