Home
last modified time | relevance | path

Searched refs:SkGlyphDigest (Results 1 – 11 of 11) sorted by relevance

/external/skia/src/core/
DSkStrike.cpp84 SkGlyphDigest* digest = fDigestForPackedGlyphID.find(toID); in mergeGlyphAndImage()
239 SkGlyph* SkStrike::glyph(SkGlyphDigest digest) { in glyph()
244 SkGlyphDigest digest = this->digestFor(kDirectMask, packedGlyphID); in glyph()
248 SkGlyphDigest SkStrike::digestFor(ActionType actionType, SkPackedGlyphID packedGlyphID) { in digestFor()
249 SkGlyphDigest* digestPtr = fDigestForPackedGlyphID.find(packedGlyphID); in digestFor()
268 SkGlyphDigest* SkStrike::addGlyphAndDigest(SkGlyph* glyph) { in addGlyphAndDigest()
270 SkGlyphDigest digest = SkGlyphDigest{index, *glyph}; in addGlyphAndDigest()
271 SkGlyphDigest* newDigest = fDigestForPackedGlyphID.set(glyph->getPackedID(), digest); in addGlyphAndDigest()
DSkStrike.h51 SkGlyphDigest digestFor(skglyph::ActionType, SkPackedGlyphID) override SK_REQUIRES(fStrikeLock);
125 SkGlyph* glyph(SkGlyphDigest) SK_REQUIRES(fStrikeLock);
136 SkGlyphDigest* addGlyphAndDigest(SkGlyph* glyph) SK_REQUIRES(fStrikeLock);
166 SkTHashMap<SkPackedGlyphID, SkGlyphDigest, SkPackedGlyphID::Hash>
DSkGlyph.cpp427 SkGlyphDigest::SkGlyphDigest(size_t index, const SkGlyph& glyph) in SkGlyphDigest() function in SkGlyphDigest
437 void SkGlyphDigest::setActionFor(skglyph::ActionType actionType, in setActionFor()
486 bool SkGlyphDigest::FitsInAtlas(const SkGlyph& glyph) { in FitsInAtlas()
DSkChromeRemoteGlyphCache.cpp174 SkGlyphDigest digestFor(skglyph::ActionType, SkPackedGlyphID) override;
233 SkTHashMap<SkPackedGlyphID, SkGlyphDigest, SkPackedGlyphID::Hash> fSentGlyphs;
293 if (imageSize > 0 && SkGlyphDigest::FitsInAtlas(glyph)) { in writePendingGlyphs()
376 SkGlyphDigest RemoteStrike::digestFor(ActionType actionType, SkPackedGlyphID packedGlyphID) { in digestFor()
377 SkGlyphDigest* digestPtr = fSentGlyphs.find(packedGlyphID); in digestFor()
403 digestPtr = fSentGlyphs.set(packedGlyphID, SkGlyphDigest{0, *glyph}); in digestFor()
960 if (!glyph->isEmpty() && SkGlyphDigest::FitsInAtlas(*glyph)) { in readStrikeData()
DSkGlyphRunPainter.cpp59 switch (SkGlyphDigest digest = strike->digestFor(kPath, packedID); in prepare_for_path_drawing()
90 switch (SkGlyphDigest digest = strike->digestFor(kDrawable, packedID); in prepare_for_drawable_drawing()
130 switch (SkGlyphDigest digest = strike->digestFor(kDirectMaskCPU, packedGlyphID); in prepare_for_direct_mask_drawing()
DSkGlyph.h324 class SkGlyphDigest {
331 SkGlyphDigest() = default;
332 SkGlyphDigest(size_t index, const SkGlyph& glyph);
/external/skia/src/text/
DStrikeForGPU.h79 virtual SkGlyphDigest digestFor(skglyph::ActionType, SkPackedGlyphID) = 0;
/external/skia/tests/
DSkStrikeTest.cpp63 SkGlyphDigest digest = strike->digestFor(kDirectMask, packedID); in prepare_for_mask_drawing()
DSkRemoteGlyphCacheTest.cpp740 REPORTER_ASSERT(reporter, glyphBounds.width() > SkGlyphDigest::kSkSideTooBigForAtlas); in make_blob_causing_fallback()
/external/skia/src/text/gpu/
DSDFTControl.cpp63 approximateDeviceTextSize < SkGlyphDigest::kSkSideTooBigForAtlas; in isDirect()
DSubRunContainer.cpp2314 SkGlyphDigest digest = strike->digestFor(kMask, SkPackedGlyphID{glyphID}); in find_maximum_glyph_dimension()
2333 SkGlyphDigest digest = strike->digestFor(kSDFT, packedID); in prepare_for_SDFT_drawing()
2413 const SkGlyphDigest digest = strike->digestFor(kMask, packedID); in prepare_for_mask_drawing()
2676 SkGlyphDigest::kSkSideTooBigForAtlas - 2; in MakeInAlloc()