Home
last modified time | relevance | path

Searched refs:fBlendMode (Results 1 – 25 of 38) sorted by relevance

12

/third_party/skia/experimental/graphite/src/
DDrawList.cpp20 , fBlendMode(blendMode) in PaintParams()
25 , fBlendMode(other.fBlendMode) in PaintParams()
32 fBlendMode = other.fBlendMode; in operator =()
DContextUtils.h29 fBlendMode == other.fBlendMode;
34 SkBlendMode fBlendMode = SkBlendMode::kSrc; member
DDrawList.h47 SkBlendMode blendMode() const { return fBlendMode; } in blendMode()
53 SkBlendMode fBlendMode; variable
DProgramCache.cpp75 static_cast<int>(c.fBlendMode); in operator ()()
/third_party/skia/modules/skottie/src/
DLayer.cpp33 SkBlendMode fBlendMode; // used when masking with layers/blending member
63 , fBlendMode(bm) in MaskAdapter()
91 mask = sksg::LayerEffect::Make(std::move(mask), fBlendMode); in makeMask()
109 SkASSERT(fBlendMode == SkBlendMode::kSrc || in requires_isolation()
110 fBlendMode == SkBlendMode::kSrcOver || in requires_isolation()
111 fBlendMode == SkBlendMode::kSrcIn || in requires_isolation()
112 fBlendMode == SkBlendMode::kDstOut || in requires_isolation()
113 fBlendMode == SkBlendMode::kXor); in requires_isolation()
117 switch (fBlendMode) { in requires_isolation()
125 const SkBlendMode fBlendMode; member in skottie::internal::__anondbf958ba0111::MaskAdapter
[all …]
/third_party/skia/modules/sksg/src/
DSkSGRenderNode.cpp91 || fBlendMode != SkBlendMode::kSrcOver; in requiresIsolation()
101 if (fBlendMode != SkBlendMode::kSrcOver) { in modulatePaint()
102 paint->setBlendMode(fBlendMode); in modulatePaint()
181 fCtx.fBlendMode = mode; in modulateBlendMode()
202 fCtx.fBlendMode = SkBlendMode::kSrcOver; in setIsolation()
DSkSGPaint.cpp24 paint.setBlendMode(fBlendMode); in makePaint()
/third_party/flutter/skia/modules/sksg/src/
DSkSGRenderNode.cpp84 || fBlendMode != SkBlendMode::kSrcOver; in requiresIsolation()
96 paint->setBlendMode(fBlendMode); in modulatePaint()
159 fCtx.fBlendMode = mode; in modulateBlendMode()
175 fCtx.fBlendMode = SkBlendMode::kSrcOver; in setIsolation()
DSkSGPaint.cpp23 paint.setBlendMode(fBlendMode); in makePaint()
/third_party/flutter/skia/bench/
DBlendmodeBench.cpp20 XfermodeBench(SkBlendMode mode, bool aa) : fBlendMode(mode) { in XfermodeBench()
35 paint.setBlendMode(fBlendMode); in onDraw()
65 SkBlendMode fBlendMode; member in XfermodeBench
/third_party/flutter/skia/include/core/
DSkPaint.h471 SkBlendMode getBlendMode() const { return (SkBlendMode)fBitfields.fBlendMode; } in getBlendMode()
477 bool isSrcOver() const { return (SkBlendMode)fBitfields.fBlendMode == SkBlendMode::kSrcOver; } in isSrcOver()
484 void setBlendMode(SkBlendMode mode) { fBitfields.fBlendMode = (unsigned)mode; } in setBlendMode()
661 unsigned fBlendMode : 8; // only need 5-6? member
/third_party/skia/src/pdf/
DSkPDFGraphicState.h54 uint8_t fBlendMode; // SkBlendMode member
64 uint8_t fBlendMode; member
DSkPDFGraphicState.cpp70 state.insertName("BM", as_pdf_blend_mode_name((SkBlendMode)fillKey.fBlendMode)); in GetGraphicStateForPaint()
96 state.insertName("BM", as_pdf_blend_mode_name((SkBlendMode)strokeKey.fBlendMode)); in GetGraphicStateForPaint()
/third_party/flutter/skia/src/pdf/
DSkPDFGraphicState.h54 uint8_t fBlendMode; // SkBlendMode member
64 uint8_t fBlendMode; member
DSkPDFGraphicState.cpp68 state.insertName("BM", as_pdf_blend_mode_name((SkBlendMode)fillKey.fBlendMode)); in GetGraphicStateForPaint()
94 state.insertName("BM", as_pdf_blend_mode_name((SkBlendMode)strokeKey.fBlendMode)); in GetGraphicStateForPaint()
/third_party/skia/src/gpu/effects/
DGrPorterDuffXferProcessor.cpp633 : fBlendMode(xfermode) {} in GrPorterDuffXPFactory()
696 SkBlendMode::kSrcOver == fBlendMode && color.isConstant() && /*color.isOpaque() &&*/ in makeXferProcessor()
701 return PDLCDXferProcessor::Make(fBlendMode, color); in makeXferProcessor()
705 return get_lcd_blend_formula(fBlendMode); in makeXferProcessor()
707 if (fBlendMode == SkBlendMode::kSrcOver && color.isOpaque() && in makeXferProcessor()
714 fBlendMode); in makeXferProcessor()
720 (isLCD && (SkBlendMode::kSrcOver != fBlendMode /*|| !color.isOpaque()*/)) || in makeXferProcessor()
721 (GrClampType::kAuto != clampType && SkBlendMode::kPlus == fBlendMode)) { in makeXferProcessor()
722 return sk_sp<const GrXferProcessor>(new ShaderPDXferProcessor(fBlendMode, coverage)); in makeXferProcessor()
791 return analysis_properties(color, coverage, caps, clampType, fBlendMode); in analysisProperties()
DGrPorterDuffXferProcessor.h63 SkBlendMode fBlendMode; variable
/third_party/skia/bench/
DBlendmodeBench.cpp33 XfermodeBench(SkBlendMode mode, Type t) : fBlendMode(mode) { in XfermodeBench()
54 paint.setBlendMode(fBlendMode); in onDraw()
102 SkBlendMode fBlendMode; member in XfermodeBench
/third_party/flutter/skia/modules/sksg/include/
DSkSGPaint.h32 SG_ATTRIBUTE(BlendMode , SkBlendMode , fBlendMode )
49 SkBlendMode fBlendMode = SkBlendMode::kSrcOver; variable
DSkSGRenderNode.h60 SkBlendMode fBlendMode = SkBlendMode::kSrcOver; member
/third_party/skia/modules/sksg/include/
DSkSGPaint.h32 SG_ATTRIBUTE(BlendMode , SkBlendMode , fBlendMode )
49 SkBlendMode fBlendMode = SkBlendMode::kSrcOver; variable
/third_party/flutter/skia/src/gpu/effects/
DGrPorterDuffXferProcessor.cpp694 : fBlendMode(xfermode) {} in GrPorterDuffXPFactory()
766 if (SkBlendMode::kSrcOver == fBlendMode && color.isConstant() && /*color.isOpaque() &&*/ in makeXferProcessor()
771 return PDLCDXferProcessor::Make(fBlendMode, color); in makeXferProcessor()
773 blendFormula = get_lcd_blend_formula(fBlendMode); in makeXferProcessor()
777 hasMixedSamples, fBlendMode); in makeXferProcessor()
783 (isLCD && (SkBlendMode::kSrcOver != fBlendMode /*|| !color.isOpaque()*/)) || in makeXferProcessor()
784 (GrClampType::kAuto != clampType && SkBlendMode::kPlus == fBlendMode)) { in makeXferProcessor()
785 return sk_sp<const GrXferProcessor>(new ShaderPDXferProcessor(hasMixedSamples, fBlendMode, in makeXferProcessor()
855 return analysis_properties(color, coverage, caps, clampType, fBlendMode); in analysisProperties()
DGrPorterDuffXferProcessor.h64 SkBlendMode fBlendMode; variable
/third_party/skia/tests/graphite/
DUniformTest.cpp52 p.setBlendMode(combo.fBlendMode); in create_paint()
81 expected.fBlendMode = bm; in DEF_GRAPHITE_TEST()
/third_party/skia/tools/viewer/
DViewer.h92 fBlendMode || in overridesSomething()
110 bool fBlendMode = false; member

12