Searched refs:glyphPtr (Results 1 – 3 of 3) sorted by relevance
/third_party/flutter/skia/src/core/ |
D | SkStrike.cpp | 116 SkGlyph* glyphPtr = this->glyph(glyphID); in internalPrepare() local 118 this->preparePath(glyphPtr); in internalPrepare() 120 *cursor++ = glyphPtr; in internalPrepare() 154 if (SkGlyph* glyphPtr = fGlyphMap.findOrNull(packedGlyphID)) { in getCachedGlyphAnySubPix() local 155 return glyphPtr; in getCachedGlyphAnySubPix() 181 SkGlyph* glyphPtr = this->glyph(glyphID); in prepareImages() local 182 (void)this->prepareImage(glyphPtr); in prepareImages() 183 *cursor++ = glyphPtr; in prepareImages() 202 SkGlyph* glyphPtr = this->glyph(packedGlyphIDs[i]); in prepareForDrawingRemoveEmpty() local 203 if (!glyphPtr->isEmpty()) { in prepareForDrawingRemoveEmpty() [all …]
|
D | SkRemoteGlyphCache.cpp | 670 SkGlyph* glyphPtr = fGlyphMap.findOrNull(packedGlyphIDs[i]); in prepareForDrawingRemoveEmpty() local 673 if (glyphPtr == nullptr) { in prepareForDrawingRemoveEmpty() 676 glyphPtr = fAlloc.make<SkGlyph>(packedGlyphIDs[i]); in prepareForDrawingRemoveEmpty() 677 fGlyphMap.set(glyphPtr); in prepareForDrawingRemoveEmpty() 679 fContext->getMetrics(glyphPtr); in prepareForDrawingRemoveEmpty() 681 if (glyphPtr->maxDimension() <= maxDimension) { in prepareForDrawingRemoveEmpty() 683 } else if (!glyphPtr->isColor()) { in prepareForDrawingRemoveEmpty() 686 if (glyphPtr->setPath(&fAlloc, fContext.get())) { in prepareForDrawingRemoveEmpty() 689 fCachedGlyphPaths.add(glyphPtr->getPackedID()); in prepareForDrawingRemoveEmpty() 690 fPendingGlyphPaths.push_back(glyphPtr->getPackedID()); in prepareForDrawingRemoveEmpty() [all …]
|
/third_party/skia/modules/canvaskit/ |
D | font.js | 21 var glyphPtr = copy1dArray(glyphs, 'HEAPU16'); 24 this._getGlyphWidthBounds(glyphPtr, glyphs.length, nullptr, rectPtr, paint || null); 27 freeArraysThatAreNotMallocedByUsers(glyphPtr, glyphs); 50 var glyphPtr = CanvasKit._malloc(numGlyphIDs * bytesPerGlyph); 52 var actualIDs = this._getGlyphIDs(strPtr, strBytes - 1, numGlyphIDs, glyphPtr); 56 CanvasKit._free(glyphPtr); 59 var glyphs = new Uint16Array(CanvasKit.HEAPU8.buffer, glyphPtr, actualIDs); 62 CanvasKit._free(glyphPtr); 66 CanvasKit._free(glyphPtr); 82 var glyphPtr = copy1dArray(glyphs, 'HEAPU16'); [all …]
|