Home
last modified time | relevance | path

Searched refs:packedID (Results 1 – 9 of 9) sorted by relevance

/external/skia/tests/
DSkGlyphBufferTest.cpp32 SkPackedGlyphID packedID{3, roundedPos, mask}; in DEF_TEST() local
36 SkASSERT(packedID == correctID); in DEF_TEST()
37 REPORTER_ASSERT(reporter, packedID == correctID); in DEF_TEST()
49 SkPackedGlyphID packedID{3, roundedPos, mask}; in DEF_TEST() local
53 REPORTER_ASSERT(reporter, packedID == correctID); in DEF_TEST()
66 SkPackedGlyphID packedID{3, roundedPos, mask}; in DEF_TEST() local
70 REPORTER_ASSERT(reporter, packedID == correctID); in DEF_TEST()
88 SkPackedGlyphID packedID{3, roundedPos, mask}; in DEF_TEST() local
92 REPORTER_ASSERT(reporter, packedID == correctID); in DEF_TEST()
164 for (auto [i, packedID, pos] : SkMakeEnumerate(drawable.input())) { in DEF_TEST()
[all …]
/external/skia/src/core/
DSkGlyphBuffer.h88 SkGlyphVariant& operator= (SkPackedGlyphID packedID) {
89 fV.packedID = packedID;
113 SkPackedGlyphID packedID() const { in packedID() function
115 return fV.packedID; in packedID()
118 operator SkPackedGlyphID() const { return this->packedID(); } in SkPackedGlyphID()
126 SkPackedGlyphID packedID; member
220 for (auto [i, packedID, pos] : SkMakeEnumerate(this->input())) { in forEachGlyphID()
221 fn(i, packedID.packedID(), pos); in forEachGlyphID()
DSkRemoteGlyphCache.cpp210 bool test(SkPackedGlyphID packedID) const { in test()
211 uint32_t bit = packedID.value(); in test()
214 void setIfLower(SkPackedGlyphID packedID) { in setIfLower() argument
215 uint32_t bit = packedID.value(); in setIfLower()
294 uint32_t packedID:30; member
301 return SkPackedGlyphID{summary.packedID}; in GetKey()
304 static uint32_t Hash(SkPackedGlyphID packedID) { in Hash()
305 return packedID.hash(); in Hash()
323 static uint32_t Hash(SkGlyphID packedID) { in Hash()
324 return SkChecksum::CheapMix(packedID); in Hash()
[all …]
DSkStrikeSpec.cpp268 const SkGlyph* SkBulkGlyphMetricsAndImages::glyph(SkPackedGlyphID packedID) { in glyph() argument
269 return this->glyphs(SkSpan<const SkPackedGlyphID>{&packedID, 1})[0]; in glyph()
DSkScalerCache.cpp165 for (auto [i, packedID, pos] : SkMakeEnumerate(drawables->input())) { in commonFilterLoop()
167 auto [digest, size] = this->digest(packedID); in commonFilterLoop()
DSkGlyphBuffer.cpp107 msg.appendf("0x%x:(%a,%a), ", packedGlyphID.packedID().value(), pos.x(), pos.y()); in dumpInput()
DSkStrikeSpec.h142 const SkGlyph* glyph(SkPackedGlyphID packedID);
DSkScalerContext.cpp180 SkGlyph SkScalerContext::makeGlyph(SkPackedGlyphID packedID) { in makeGlyph() argument
181 return internalMakeGlyph(packedID, fRec.fMaskFormat); in makeGlyph()
184 SkGlyph SkScalerContext::internalMakeGlyph(SkPackedGlyphID packedID, SkMask::Format format) { in internalMakeGlyph() argument
185 SkGlyph glyph{packedID}; in internalMakeGlyph()
DSkScalerContext.h418 SkGlyph internalMakeGlyph(SkPackedGlyphID packedID, SkMask::Format format);