Searched refs:glyphPtr (Results 1 – 3 of 3) sorted by relevance
/external/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); 74 var glyphPtr = copy1dArray(glyphs, 'HEAPU16'); [all …]
|
/external/skqp/src/core/ |
D | SkStrike.cpp | 92 SkGlyph* glyphPtr = fGlyphMap.findOrNull(packedGlyphID); in lookupByPackedGlyphID() local 94 if (nullptr == glyphPtr) { in lookupByPackedGlyphID() 95 glyphPtr = this->allocateNewGlyph(packedGlyphID, type); in lookupByPackedGlyphID() 96 fGlyphMap.set(glyphPtr); in lookupByPackedGlyphID() 98 if (type == kFull_MetricsType && glyphPtr->isJustAdvance()) { in lookupByPackedGlyphID() 99 fScalerContext->getMetrics(glyphPtr); in lookupByPackedGlyphID() 102 return glyphPtr; in lookupByPackedGlyphID() 108 SkGlyph* glyphPtr = fAlloc.make<SkGlyph>(packedGlyphID); in allocateNewGlyph() local 109 fGlyphMap.set(glyphPtr); in allocateNewGlyph() 112 return glyphPtr; in allocateNewGlyph() [all …]
|
D | SkRemoteGlyphCache.cpp | 502 SkGlyph* glyphPtr = fGlyphMap.findOrNull(glyphID); in findGlyph() local 503 if (glyphPtr == nullptr) { in findGlyph() 504 glyphPtr = fAlloc.make<SkGlyph>(glyphID); in findGlyph() 505 fGlyphMap.set(glyphPtr); in findGlyph() 507 fContext->getMetrics(glyphPtr); in findGlyph() 510 return *glyphPtr; in findGlyph()
|