HomeSort by relevance Sort by last modified time
    Searched refs:BitmapTextBlob (Results 1 - 4 of 4) sorted by null

  /external/skia/src/gpu/
GrTextBlobCache.cpp 16 GrAtlasTextContext::BitmapTextBlob* GrTextBlobCache::createBlob(int glyphCount, int runCount,
18 // We allocate size for the BitmapTextBlob itself, plus size for the vertices array,
21 size_t size = sizeof(BitmapTextBlob) +
24 sizeof(BitmapTextBlob::Run) * runCount;
26 BitmapTextBlob* cacheBlob = SkNEW_PLACEMENT(fPool.allocate(size), BitmapTextBlob);
29 cacheBlob->fVertices = sizeof(BitmapTextBlob) + reinterpret_cast<unsigned char*>(cacheBlob);
31 cacheBlob->fRuns = reinterpret_cast<BitmapTextBlob::Run*>(cacheBlob->fGlyphs + glyphCount);
35 SkNEW_PLACEMENT(&cacheBlob->fRuns[i], BitmapTextBlob::Run);
43 SkTDynamicHash<BitmapTextBlob, BitmapTextBlob::Key>::Iter iter(&fCache)
    [all...]
GrTextBlobCache.h 17 typedef GrAtlasTextContext::BitmapTextBlob BitmapTextBlob;
34 BitmapTextBlob* createBlob(int glyphCount, int runCount, size_t maxVASize);
35 BitmapTextBlob* createBlob(const SkTextBlob* blob, size_t maxVAStride) {
39 BitmapTextBlob* cacheBlob = this->createBlob(glyphCount, runCount, maxVAStride);
43 BitmapTextBlob* createCachedBlob(const SkTextBlob* blob,
44 const BitmapTextBlob::Key& key,
51 BitmapTextBlob* cacheBlob = this->createBlob(glyphCount, runCount, maxVAStride);
65 BitmapTextBlob* find(const BitmapTextBlob::Key& key)
    [all...]
GrAtlasTextContext.h 60 * A BitmapTextBlob contains a fully processed SkTextBlob, suitable for nearly immediate drawing
62 * texture coordinates. The BitmapTextBlob itself has a few Blob-wide properties, and also
66 * The only thing(aside from a memcopy) required to flush a BitmapTextBlob is to ensure that
69 struct BitmapTextBlob : public SkRefCnt {
70 SK_DECLARE_INTERNAL_LLIST_INTERFACE(BitmapTextBlob);
216 BitmapTextBlob()
221 ~BitmapTextBlob() override {
227 static const Key& GetKey(const BitmapTextBlob& blob) {
236 BitmapTextBlob* blob = reinterpret_cast<BitmapTextBlob*>(p)
    [all...]
GrAtlasTextContext.cpp 249 const BitmapTextBlob& blob, const SkPaint& paint,
339 inline SkGlyphCache* GrAtlasTextContext::setupCache(BitmapTextBlob::Run* run,
357 SkAutoTUnref<BitmapTextBlob> cacheBlob;
359 BitmapTextBlob::Key key;
470 void GrAtlasTextContext::regenerateTextBlob(BitmapTextBlob* cacheBlob,
594 inline void GrAtlasTextContext::initDistanceFieldPaint(BitmapTextBlob* blob,
648 inline void GrAtlasTextContext::fallbackDrawPosText(BitmapTextBlob* blob,
675 inline GrAtlasTextContext::BitmapTextBlob*
679 BitmapTextBlob* blob = fCache->createBlob(glyphCount, 1, kGrayTextVASize);
693 inline GrAtlasTextContext::BitmapTextBlob*
    [all...]

Completed in 51 milliseconds