Home
last modified time | relevance | path

Searched refs:styleBits (Results 1 – 6 of 6) sorted by relevance

/third_party/flutter/skia/src/core/
DSkFontDescriptor.cpp60 size_t styleBits; in Deserialize() local
61 if (!stream->readPackedUInt(&styleBits)) { return false; } in Deserialize()
62 result->fStyle = SkFontStyle((styleBits >> 16) & 0xFFFF, in Deserialize()
63 (styleBits >> 8 ) & 0xFF, in Deserialize()
64 static_cast<SkFontStyle::Slant>(styleBits & 0xFF)); in Deserialize()
120 uint32_t styleBits = (fStyle.weight() << 16) | (fStyle.width() << 8) | (fStyle.slant()); in serialize() local
121 stream->writePackedUInt(styleBits); in serialize()
/third_party/skia/src/core/
DSkFontDescriptor.cpp58 size_t styleBits; in Deserialize() local
59 if (!stream->readPackedUInt(&styleBits)) { return false; } in Deserialize()
60 result->fStyle = SkFontStyle((styleBits >> 16) & 0xFFFF, in Deserialize()
61 (styleBits >> 8 ) & 0xFF, in Deserialize()
62 static_cast<SkFontStyle::Slant>(styleBits & 0xFF)); in Deserialize()
117 uint32_t styleBits = (fStyle.weight() << 16) | (fStyle.width() << 8) | (fStyle.slant()); in serialize() local
118 stream->writePackedUInt(styleBits); in serialize()
/third_party/flutter/skia/src/gpu/
DGrSoftwarePathRenderer.cpp319 uint32_t styleBits = args.fShape->style().isSimpleHairline() ? in onDrawPath() local
321 builder[4] = fracX | (fracY >> 8) | (styleBits << 16); in onDrawPath()
DGrBlurUtils.cpp362 uint32_t styleBits = shape->style().isSimpleHairline() in draw_shape_with_mask_filter() local
365 builder[4] = fracX | (fracY >> 8) | (styleBits << 16); in draw_shape_with_mask_filter()
/third_party/skia/src/gpu/ops/
DSoftwarePathRenderer.cpp315 uint32_t styleBits = args.fShape->style().isSimpleHairline() ? in onDrawPath() local
317 builder[6] = fracX | (fracY >> 8) | (styleBits << 16); in onDrawPath()
/third_party/skia/src/gpu/
DGrBlurUtils.cpp353 uint32_t styleBits = shape.style().isSimpleHairline() in compute_key_and_clip_bounds() local
356 builder[4] = fracX | (fracY >> 8) | (styleBits << 16); in compute_key_and_clip_bounds()