Home
last modified time | relevance | path

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

/third_party/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 …]
/third_party/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.cpp202 bool test(SkPackedGlyphID packedID) const { in test()
203 uint32_t bit = packedID.value(); in test()
206 void setIfLower(SkPackedGlyphID packedID) { in setIfLower() argument
207 uint32_t bit = packedID.value(); in setIfLower()
288 uint32_t packedID:30; member
295 return SkPackedGlyphID{summary.packedID}; in GetKey()
298 static uint32_t Hash(SkPackedGlyphID packedID) { in Hash()
299 return packedID.hash(); in Hash()
317 static uint32_t Hash(SkGlyphID packedID) { in Hash()
318 return SkChecksum::CheapMix(packedID); in Hash()
[all …]
DSkStrikeSpec.cpp280 const SkGlyph* SkBulkGlyphMetricsAndImages::glyph(SkPackedGlyphID packedID) { in glyph() argument
281 return this->glyphs(SkSpan<const SkPackedGlyphID>{&packedID, 1})[0]; in glyph()
DSkScalerCache.cpp159 for (auto [i, packedID, pos] : SkMakeEnumerate(drawables->input())) { in commonFilterLoop()
161 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.h148 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.h426 SkGlyph internalMakeGlyph(SkPackedGlyphID packedID, SkMask::Format format);