Searched refs:cacheBlob (Results 1 – 3 of 3) sorted by relevance
/external/skia/src/gpu/text/ |
D | GrAtlasTextContext.cpp | 80 SkAutoTUnref<GrAtlasTextBlob> cacheBlob; in drawTextBlob() local 109 cacheBlob.reset(SkSafeRef(cache->find(key))); in drawTextBlob() 119 if (cacheBlob) { in drawTextBlob() 120 if (cacheBlob->mustRegenerate(skPaint, grPaint.getColor(), blurRec, viewMatrix, x, y)) { in drawTextBlob() 124 cache->remove(cacheBlob); in drawTextBlob() 125 cacheBlob.reset(SkRef(cache->createCachedBlob(blob, key, blurRec, skPaint))); in drawTextBlob() 126 RegenerateTextBlob(cacheBlob, context->getBatchFontCache(), in drawTextBlob() 131 cache->makeMRU(cacheBlob); in drawTextBlob() 143 GrAtlasTextBlob::AssertEqual(*sanityBlob, *cacheBlob); in drawTextBlob() 148 cacheBlob.reset(SkRef(cache->createCachedBlob(blob, key, blurRec, skPaint))); in drawTextBlob() [all …]
|
D | GrTextBlobCache.h | 40 GrAtlasTextBlob* cacheBlob = GrAtlasTextBlob::Create(&fPool, glyphCount, runCount); in createBlob() local 41 return cacheBlob; in createBlob() 51 GrAtlasTextBlob* cacheBlob = GrAtlasTextBlob::Create(&fPool, glyphCount, runCount); in createCachedBlob() local 52 cacheBlob->setupKey(key, blurRec, paint); in createCachedBlob() 53 this->add(cacheBlob); in createCachedBlob() 54 return cacheBlob; in createCachedBlob()
|
D | GrAtlasTextBlob.cpp | 34 GrAtlasTextBlob* cacheBlob = new (allocation) GrAtlasTextBlob; in Create() local 35 cacheBlob->fSize = size; in Create() 38 cacheBlob->fVertices = sizeof(GrAtlasTextBlob) + reinterpret_cast<unsigned char*>(cacheBlob); in Create() 39 cacheBlob->fGlyphs = reinterpret_cast<GrGlyph**>(cacheBlob->fVertices + verticesCount); in Create() 40 cacheBlob->fRuns = reinterpret_cast<GrAtlasTextBlob::Run*>(cacheBlob->fGlyphs + glyphCount); in Create() 44 new (&cacheBlob->fRuns[i]) GrAtlasTextBlob::Run; in Create() 46 cacheBlob->fRunCount = runCount; in Create() 47 cacheBlob->fPool = pool; in Create() 48 return cacheBlob; in Create()
|