OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:cacheBlob
(Results
1 - 4
of
4
) sorted by null
/external/skia/src/gpu/
GrTextBlobCache.cpp
26
BitmapTextBlob*
cacheBlob
= SkNEW_PLACEMENT(fPool.allocate(size), BitmapTextBlob);
29
cacheBlob
->fVertices = sizeof(BitmapTextBlob) + reinterpret_cast<unsigned char*>(
cacheBlob
);
30
cacheBlob
->fGlyphs = reinterpret_cast<GrGlyph**>(
cacheBlob
->fVertices + verticesCount);
31
cacheBlob
->fRuns = reinterpret_cast<BitmapTextBlob::Run*>(
cacheBlob
->fGlyphs + glyphCount);
35
SkNEW_PLACEMENT(&
cacheBlob
->fRuns[i], BitmapTextBlob::Run);
37
cacheBlob
->fRunCount = runCount;
38
cacheBlob
->fPool = &fPool
[
all
...]
GrTextBlobCache.h
39
BitmapTextBlob*
cacheBlob
= this->createBlob(glyphCount, runCount, maxVAStride);
40
return
cacheBlob
;
51
BitmapTextBlob*
cacheBlob
= this->createBlob(glyphCount, runCount, maxVAStride);
52
cacheBlob
->fKey = key;
54
cacheBlob
->fBlurRec = blurRec;
57
cacheBlob
->fStrokeInfo.fFrameWidth = paint.getStrokeWidth();
58
cacheBlob
->fStrokeInfo.fMiterLimit = paint.getStrokeMiter();
59
cacheBlob
->fStrokeInfo.fJoin = paint.getStrokeJoin();
61
this->add(
cacheBlob
);
62
return
cacheBlob
;
[
all
...]
GrAtlasTextContext.cpp
357
SkAutoTUnref<BitmapTextBlob>
cacheBlob
;
385
cacheBlob
.reset(SkSafeRef(fCache->find(key)));
401
if (
cacheBlob
) {
402
if (MustRegenerateBlob(&transX, &transY, *
cacheBlob
, skPaint, blurRec, viewMatrix, x, y)) {
406
fCache->remove(
cacheBlob
);
407
cacheBlob
.reset(SkRef(fCache->createCachedBlob(blob, key, blurRec, skPaint,
409
this->regenerateTextBlob(
cacheBlob
, skPaint, grPaint.getColor(), viewMatrix, blob, x, y,
414
cacheBlob
->fViewMatrix = viewMatrix;
415
cacheBlob
->fX = x;
416
cacheBlob
->fY = y
[
all
...]
GrAtlasTextContext.h
283
inline void flushBigGlyphs(BitmapTextBlob*
cacheBlob
, GrRenderTarget* rt,
Completed in 3337 milliseconds