Searched refs:SkGlyphDigest (Results 1 – 11 of 11) sorted by relevance
/external/skia/src/core/ |
D | SkStrike.cpp | 84 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()
|
D | SkStrike.h | 51 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>
|
D | SkGlyph.cpp | 427 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()
|
D | SkChromeRemoteGlyphCache.cpp | 174 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()
|
D | SkGlyphRunPainter.cpp | 59 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()
|
D | SkGlyph.h | 324 class SkGlyphDigest { 331 SkGlyphDigest() = default; 332 SkGlyphDigest(size_t index, const SkGlyph& glyph);
|
/external/skia/src/text/ |
D | StrikeForGPU.h | 79 virtual SkGlyphDigest digestFor(skglyph::ActionType, SkPackedGlyphID) = 0;
|
/external/skia/tests/ |
D | SkStrikeTest.cpp | 63 SkGlyphDigest digest = strike->digestFor(kDirectMask, packedID); in prepare_for_mask_drawing()
|
D | SkRemoteGlyphCacheTest.cpp | 740 REPORTER_ASSERT(reporter, glyphBounds.width() > SkGlyphDigest::kSkSideTooBigForAtlas); in make_blob_causing_fallback()
|
/external/skia/src/text/gpu/ |
D | SDFTControl.cpp | 63 approximateDeviceTextSize < SkGlyphDigest::kSkSideTooBigForAtlas; in isDirect()
|
D | SubRunContainer.cpp | 2314 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()
|