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