Home
last modified time | relevance | path

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

12

/external/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::__anonb848764e0111::MaskAdapter
[all …]
/external/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()
/external/skia/bench/
DBlendmodeBench.cpp20 XfermodeBench(SkBlendMode mode, bool aa) : fBlendMode(mode) { in XfermodeBench()
35 paint.setBlendMode(fBlendMode); in onDraw()
69 SkBlendMode fBlendMode; member in XfermodeBench
/external/skqp/bench/
DBlendmodeBench.cpp20 XfermodeBench(SkBlendMode mode, bool aa) : fBlendMode(mode) { in XfermodeBench()
35 paint.setBlendMode(fBlendMode); in onDraw()
65 SkBlendMode fBlendMode; member in XfermodeBench
/external/skqp/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()
/external/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()
/external/skqp/include/core/
DSkPaint.h463 SkBlendMode getBlendMode() const { return (SkBlendMode)fBitfields.fBlendMode; } in getBlendMode()
469 bool isSrcOver() const { return (SkBlendMode)fBitfields.fBlendMode == SkBlendMode::kSrcOver; } in isSrcOver()
476 void setBlendMode(SkBlendMode mode) { fBitfields.fBlendMode = (unsigned)mode; } in setBlendMode()
688 unsigned fBlendMode : 8; // only need 5-6? member
DSkShader.h154 SkBlendMode fBlendMode; member
/external/skia/include/core/
DSkPaint.h500 SkBlendMode getBlendMode() const { return (SkBlendMode)fBitfields.fBlendMode; } in getBlendMode()
506 bool isSrcOver() const { return (SkBlendMode)fBitfields.fBlendMode == SkBlendMode::kSrcOver; } in isSrcOver()
513 void setBlendMode(SkBlendMode mode) { fBitfields.fBlendMode = (unsigned)mode; } in setBlendMode()
706 unsigned fBlendMode : 8; // only need 5-6? member
/external/skqp/modules/sksg/include/
DSkSGPaintNode.h29 SG_ATTRIBUTE(BlendMode , SkBlendMode , fBlendMode )
48 SkBlendMode fBlendMode = SkBlendMode::kSrcOver; variable
/external/skia/src/gpu/effects/
DGrPorterDuffXferProcessor.cpp668 : fBlendMode(xfermode) {} in GrPorterDuffXPFactory()
731 SkBlendMode::kSrcOver == fBlendMode && color.isConstant() && /*color.isOpaque() &&*/ in makeXferProcessor()
736 return PDLCDXferProcessor::Make(fBlendMode, color); in makeXferProcessor()
740 return get_lcd_blend_formula(fBlendMode); in makeXferProcessor()
742 if (fBlendMode == SkBlendMode::kSrcOver && color.isOpaque() && in makeXferProcessor()
749 fBlendMode); in makeXferProcessor()
755 (isLCD && (SkBlendMode::kSrcOver != fBlendMode /*|| !color.isOpaque()*/)) || in makeXferProcessor()
756 (GrClampType::kAuto != clampType && SkBlendMode::kPlus == fBlendMode)) { in makeXferProcessor()
757 return sk_sp<const GrXferProcessor>(new ShaderPDXferProcessor(fBlendMode, coverage)); in makeXferProcessor()
826 return analysis_properties(color, coverage, caps, clampType, fBlendMode); in analysisProperties()
DGrPorterDuffXferProcessor.h62 SkBlendMode fBlendMode; variable
/external/skia/modules/sksg/include/
DSkSGPaint.h32 SG_ATTRIBUTE(BlendMode , SkBlendMode , fBlendMode )
49 SkBlendMode fBlendMode = SkBlendMode::kSrcOver; variable
DSkSGRenderNode.h59 SkBlendMode fBlendMode = SkBlendMode::kSrcOver; member
/external/skqp/src/gpu/effects/
DGrPorterDuffXferProcessor.cpp694 : fBlendMode(xfermode) {} in GrPorterDuffXPFactory()
767 if (SkBlendMode::kSrcOver == fBlendMode && color.isConstant() && /*color.isOpaque() &&*/ in makeXferProcessor()
772 return PDLCDXferProcessor::Make(fBlendMode, color); in makeXferProcessor()
774 blendFormula = get_lcd_blend_formula(fBlendMode); in makeXferProcessor()
778 hasMixedSamples, fBlendMode); in makeXferProcessor()
782 (isLCD && (SkBlendMode::kSrcOver != fBlendMode /*|| !color.isOpaque()*/))) { in makeXferProcessor()
783 return sk_sp<const GrXferProcessor>(new ShaderPDXferProcessor(hasMixedSamples, fBlendMode, in makeXferProcessor()
848 return analysis_properties(color, coverage, caps, fBlendMode); in analysisProperties()
DGrPorterDuffXferProcessor.h61 SkBlendMode fBlendMode; variable
/external/skqp/modules/sksg/src/
DSkSGPaintNode.cpp21 paint.setBlendMode(fBlendMode); in makePaint()
/external/skqp/src/shaders/
DSkComposeShader.cpp75 rec->fBlendMode = fMode; in asACompose()
/external/skqp/tools/viewer/
DViewer.h66 bool fBlendMode = false; member
/external/skqp/tools/debugger/
DSkDrawCommand.h526 SkBlendMode fBlendMode; variable
599 SkBlendMode fBlendMode; variable
617 SkBlendMode fBlendMode; variable
/external/skia/tools/debugger/
DDrawCommand.h515 SkBlendMode fBlendMode; variable
571 SkBlendMode fBlendMode; variable
596 SkBlendMode fBlendMode; variable
/external/skia/tools/viewer/
DViewer.h77 bool fBlendMode = false; member

12