Lines Matching refs:blendMode
1482 static bool treat_as_regular_pdf_blend_mode(SkBlendMode blendMode) { in treat_as_regular_pdf_blend_mode() argument
1483 return nullptr != SkPDFUtils::BlendModeName(blendMode); in treat_as_regular_pdf_blend_mode()
1567 SkBlendMode blendMode = paint.getBlendMode(); in setUpContentEntry() local
1570 if (blendMode == SkBlendMode::kDst) { in setUpContentEntry()
1576 if (!treat_as_regular_pdf_blend_mode(blendMode) && blendMode != SkBlendMode::kDstOver) { in setUpContentEntry()
1580 } else if (blendMode != SkBlendMode::kSrc && in setUpContentEntry()
1581 blendMode != SkBlendMode::kSrcOut) { in setUpContentEntry()
1590 if (treat_as_regular_pdf_blend_mode(blendMode)) { in setUpContentEntry()
1625 SkBlendMode blendMode, in finishContentEntry() argument
1628 SkASSERT(blendMode != SkBlendMode::kDst); in finishContentEntry()
1629 if (treat_as_regular_pdf_blend_mode(blendMode)) { in finishContentEntry()
1639 if (blendMode == SkBlendMode::kDstOver) { in finishContentEntry()
1661 SkASSERT(blendMode == SkBlendMode::kSrc || in finishContentEntry()
1662 blendMode == SkBlendMode::kSrcOut); in finishContentEntry()
1681 if (shape == nullptr || blendMode == SkBlendMode::kDstOut || in finishContentEntry()
1682 blendMode == SkBlendMode::kSrcATop) { in finishContentEntry()
1687 blendMode = SkBlendMode::kClear; in finishContentEntry()
1695 if (blendMode == SkBlendMode::kSrcATop) { in finishContentEntry()
1718 if (blendMode == SkBlendMode::kClear) { in finishContentEntry()
1720 } else if (blendMode == SkBlendMode::kSrc || in finishContentEntry()
1721 blendMode == SkBlendMode::kDstATop) { in finishContentEntry()
1726 if (blendMode == SkBlendMode::kSrc) { in finishContentEntry()
1729 } else if (blendMode == SkBlendMode::kSrcATop) { in finishContentEntry()
1736 SkASSERT(blendMode == SkBlendMode::kSrcIn || in finishContentEntry()
1737 blendMode == SkBlendMode::kDstIn || in finishContentEntry()
1738 blendMode == SkBlendMode::kSrcOut || in finishContentEntry()
1739 blendMode == SkBlendMode::kDstOut || in finishContentEntry()
1740 blendMode == SkBlendMode::kSrcATop || in finishContentEntry()
1741 blendMode == SkBlendMode::kDstATop || in finishContentEntry()
1742 blendMode == SkBlendMode::kModulate); in finishContentEntry()
1744 if (blendMode == SkBlendMode::kSrcIn || in finishContentEntry()
1745 blendMode == SkBlendMode::kSrcOut || in finishContentEntry()
1746 blendMode == SkBlendMode::kSrcATop) { in finishContentEntry()
1748 blendMode == SkBlendMode::kSrcOut); in finishContentEntry()
1752 if (blendMode == SkBlendMode::kModulate) { in finishContentEntry()
1756 this->drawFormXObjectWithMask(dst, srcFormXObject, mode, blendMode == SkBlendMode::kDstOut); in finishContentEntry()