Home
last modified time | relevance | path

Searched refs:fBlobs (Results 1 – 10 of 10) sorted by relevance

/external/skia/gm/
Dfontregen.cpp79 fBlobs[0] = make_blob(kTexts[0], font); in onOnceBeforeDraw()
81 fBlobs[1] = make_blob(kTexts[1], font); in onOnceBeforeDraw()
82 fBlobs[2] = make_blob(kTexts[2], font); in onOnceBeforeDraw()
93 canvas->drawTextBlob(fBlobs[0], 10, 80, paint); in onDraw()
94 canvas->drawTextBlob(fBlobs[1], 10, 225, paint); in onDraw()
98 canvas->drawTextBlob(fBlobs[0], 10, 305, paint); in onDraw()
99 canvas->drawTextBlob(fBlobs[2], 10, 465, paint); in onDraw()
112 sk_sp<SkTextBlob> fBlobs[3]; member in FontRegenGM
142 fBlobs[0] = make_blob(kTexts[0], font); in onOnceBeforeDraw()
143 fBlobs[1] = make_blob(kTexts[1], font); in onOnceBeforeDraw()
[all …]
Ddftext_blob_persp.cpp56 fBlobs.emplace_back(builder.make()); in onOnceBeforeDraw()
81 for (auto& blob : fBlobs) { in onDraw()
148 SkTArray<sk_sp<SkTextBlob>> fBlobs; member in DFTextBlobPerspGM
/external/skqp/gm/
Dfontregen.cpp73 fBlobs[0] = make_blob(kTexts[0], font); in onOnceBeforeDraw()
75 fBlobs[1] = make_blob(kTexts[1], font); in onOnceBeforeDraw()
76 fBlobs[2] = make_blob(kTexts[2], font); in onOnceBeforeDraw()
89 canvas->drawTextBlob(fBlobs[0], 10, 80, paint); in onDraw()
90 canvas->drawTextBlob(fBlobs[1], 10, 225, paint); in onDraw()
94 canvas->drawTextBlob(fBlobs[0], 10, 305, paint); in onDraw()
95 canvas->drawTextBlob(fBlobs[2], 10, 465, paint); in onDraw()
110 sk_sp<SkTextBlob> fBlobs[3]; member in FontRegenGM
Ddftext_blob_persp.cpp44 fBlobs.emplace_back(builder.make()); in onOnceBeforeDraw()
67 for (auto& blob : fBlobs) { in onDraw()
134 SkTArray<sk_sp<SkTextBlob>> fBlobs; member in DFTextBlobPerspGM
/external/skqp/samplecode/
DSampleChineseFling.cpp42 ChineseFlingView() : fBlobs(kNumBlobs) {} in ChineseFlingView()
69 canvas->drawTextBlob(fBlobs[index], 0, y, paint); in onDrawContent()
73 index %= fBlobs.count(); in onDrawContent()
77 fIndex %= fBlobs.count(); in onDrawContent()
98 fBlobs.emplace_back(builder.make()); in init()
114 SkTArray<sk_sp<SkTextBlob>> fBlobs; member in ChineseFlingView
123 ChineseZoomView() : fBlobs(kNumBlobs), fScale(15.0f), fTranslate(0.0f) {} in ChineseZoomView()
191 canvas->drawTextBlob(fBlobs[index], 0, y, paint); in onDrawContent()
225 fBlobs.emplace_back(builder.make()); in init()
241 SkTArray<sk_sp<SkTextBlob>> fBlobs; member in ChineseZoomView
/external/skqp/src/gpu/text/
DGrTextBlobCache.h65 if (idEntry->fBlobs.empty()) { in remove()
124 fBlobs.emplace_back(std::move(blob)); in addBlob()
134 fBlobs.removeShuffle(index); in removeBlob()
139 return index < 0 ? nullptr : fBlobs[index]; in find()
143 for (int i = 0; i < fBlobs.count(); ++i) { in findBlobIndex()
144 if (GrTextBlob::GetKey(*fBlobs[i]) == key) { in findBlobIndex()
154 SkSTArray<1, sk_sp<GrTextBlob>, true> fBlobs; member
DGrTextBlobCache.cpp23 for (const auto& blob : entry->fBlobs) { in freeAll()
53 for (const auto& blob : idEntry->fBlobs) { in purgeStaleBlobs()
/external/skia/src/gpu/text/
DGrTextBlobCache.cpp62 if (idEntry->fBlobs.empty()) { in internalRemove()
98 for (const auto& blob : idEntry->fBlobs) { in internalPurgeStaleBlobs()
174 fBlobs.emplace_back(std::move(blob)); in addBlob()
184 fBlobs.removeShuffle(index); in removeBlob()
189 return index < 0 ? nullptr : fBlobs[index]; in find()
193 for (int i = 0; i < fBlobs.count(); ++i) { in findBlobIndex()
194 if (fBlobs[i]->key() == key) { in findBlobIndex()
DGrTextBlobCache.h72 SkSTArray<1, sk_sp<GrTextBlob>> fBlobs; member
/external/skia/samplecode/
DSampleChineseFling.cpp46 sk_sp<SkTextBlob> fBlobs[kNumBlobs]; member in ChineseFlingView
63 canvas->drawTextBlob(fBlobs[index], 0, y, paint); in onDrawContent()
93 fBlobs[i] = builder.make(); in onOnceBeforeDraw()
112 sk_sp<SkTextBlob> fBlobs[kNumBlobs]; member in ChineseZoomView
174 canvas->drawTextBlob(fBlobs[index], 0, y, paint); in onDrawContent()
211 fBlobs[i] = builder.make(); in onOnceBeforeDraw()