Home
last modified time | relevance | path

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

/external/skia/src/core/
DSkGlyph.cpp414 constexpr uint32_t kDrop = SkTo<uint32_t>(GlyphAction::kDrop); in init_actions()
441 if (this->actionFor(actionType) == GlyphAction::kUnset) { in setActionFor()
442 GlyphAction action = GlyphAction::kReject; in setActionFor()
446 action = GlyphAction::kAccept; in setActionFor()
452 action = GlyphAction::kAccept; in setActionFor()
458 action = GlyphAction::kAccept; in setActionFor()
465 action = GlyphAction::kAccept; in setActionFor()
471 action = GlyphAction::kAccept; in setActionFor()
477 action = GlyphAction::kAccept; in setActionFor()
DSkGlyphRunPainter.cpp61 case GlyphAction::kAccept: in prepare_for_path_drawing()
64 case GlyphAction::kReject: in prepare_for_path_drawing()
92 case GlyphAction::kAccept: in prepare_for_drawable_drawing()
95 case GlyphAction::kReject: in prepare_for_drawable_drawing()
132 case GlyphAction::kAccept: { in prepare_for_direct_mask_drawing()
139 case GlyphAction::kReject: in prepare_for_direct_mask_drawing()
DSkGlyph.h299 enum class GlyphAction { enum
338 skglyph::GlyphAction actionFor(skglyph::ActionType actionType) const { in actionFor()
339 return static_cast<skglyph::GlyphAction>((fActions >> actionType) & 0b11); in actionFor()
364 void setAction(skglyph::ActionType actionType, skglyph::GlyphAction action) { in setAction()
366 SkASSERT(action != GlyphAction::kUnset); in setAction()
367 SkASSERT(this->actionFor(actionType) == GlyphAction::kUnset); in setAction()
375 static_assert(SkTo<int>(skglyph::GlyphAction::kSize) <= 4);
DSkStrike.cpp250 if (digestPtr != nullptr && digestPtr->actionFor(actionType) != GlyphAction::kUnset) { in digestFor()
DSkChromeRemoteGlyphCache.cpp378 if (digestPtr != nullptr && digestPtr->actionFor(actionType) != GlyphAction::kUnset) { in digestFor()
/external/skia/src/text/gpu/
DSubRunContainer.cpp2335 case GlyphAction::kAccept: { in prepare_for_SDFT_drawing()
2347 case GlyphAction::kReject: in prepare_for_SDFT_drawing()
2383 case GlyphAction::kAccept: { in prepare_for_direct_mask_drawing()
2391 case GlyphAction::kReject: in prepare_for_direct_mask_drawing()
2415 case GlyphAction::kAccept: { in prepare_for_mask_drawing()
2422 case GlyphAction::kReject: in prepare_for_mask_drawing()
2440 case GlyphAction::kAccept: in prepare_for_path_drawing()
2443 case GlyphAction::kReject: in prepare_for_path_drawing()
2460 case GlyphAction::kAccept: in prepare_for_drawable_drawing()
2463 case GlyphAction::kReject: in prepare_for_drawable_drawing()