Home
last modified time | relevance | path

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

/external/skia/modules/skottie/src/
DLayer.cpp33 SkBlendMode fBlendMode; // used when masking with layers/blending member
63 , fBlendMode(bm) in MaskAdapter()
93 mask = sksg::LayerEffect::Make(std::move(mask), fBlendMode); in makeMask()
111 SkASSERT(fBlendMode == SkBlendMode::kSrc || in requires_isolation()
112 fBlendMode == SkBlendMode::kSrcOver || in requires_isolation()
113 fBlendMode == SkBlendMode::kSrcIn || in requires_isolation()
114 fBlendMode == SkBlendMode::kDstOut || in requires_isolation()
115 fBlendMode == SkBlendMode::kXor); in requires_isolation()
119 switch (fBlendMode) { in requires_isolation()
127 const SkBlendMode fBlendMode; member in skottie::internal::__anon7a590d2c0111::MaskAdapter
[all …]
/external/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()
DSkPDFDevice.cpp242 , fBlendMode(SkBlendMode::kSrcOver) in ScopedContentEntry()
249 fBlendMode = paint.getBlendMode_or(SkBlendMode::kSrcOver); in ScopedContentEntry()
262 fDevice->finishContentEntry(fClipStack, fBlendMode, fDstFormXObject, shape); in ~ScopedContentEntry()
271 switch (fBlendMode) { in needShape()
289 if (fBlendMode == SkBlendMode::kClear) { in needSource()
306 SkBlendMode fBlendMode; member in ScopedContentEntry
/external/skia/bench/
DBlendmodeBench.cpp33 XfermodeBench(SkBlendMode mode, Type t) : fBlendMode(mode) { in XfermodeBench()
54 paint.setBlendMode(fBlendMode); in onDraw()
98 SkBlendMode fBlendMode; member in XfermodeBench
/external/skia/modules/sksg/include/
DSkSGPaint.h33 SG_ATTRIBUTE(BlendMode , SkBlendMode , fBlendMode )
50 SkBlendMode fBlendMode = SkBlendMode::kSrcOver; variable
/external/skia/src/gpu/ganesh/effects/
DGrPorterDuffXferProcessor.cpp670 : fBlendMode(xfermode) {} in GrPorterDuffXPFactory()
733 SkBlendMode::kSrcOver == fBlendMode && color.isConstant() && /*color.isOpaque() &&*/ in makeXferProcessor()
738 return PDLCDXferProcessor::Make(fBlendMode, color); in makeXferProcessor()
742 return get_lcd_blend_formula(fBlendMode); in makeXferProcessor()
744 if (fBlendMode == SkBlendMode::kSrcOver && color.isOpaque() && in makeXferProcessor()
751 fBlendMode); in makeXferProcessor()
757 (isLCD && (SkBlendMode::kSrcOver != fBlendMode /*|| !color.isOpaque()*/)) || in makeXferProcessor()
758 (GrClampType::kAuto != clampType && SkBlendMode::kPlus == fBlendMode)) { in makeXferProcessor()
759 return sk_sp<const GrXferProcessor>(new ShaderPDXferProcessor(fBlendMode, coverage)); in makeXferProcessor()
828 return analysis_properties(color, coverage, caps, clampType, fBlendMode); in analysisProperties()
DGrPorterDuffXferProcessor.h64 SkBlendMode fBlendMode; variable
/external/skia/src/gpu/graphite/
DKeyHelpers.h238 : fBlendMode(blendMode) in BlendColorFilterData()
242 SkBlendMode fBlendMode; member
DFactoryFunctions.cpp23 PrecompileBlendModeBlender(SkBlendMode blendMode) : fBlendMode(blendMode) {} in PrecompileBlendModeBlender()
25 std::optional<SkBlendMode> asBlendMode() const final { return fBlendMode; } in asBlendMode()
35 BlendModeBlock::BeginBlock(keyContext, builder, /* gatherer= */ nullptr, fBlendMode); in addToKey()
40 SkBlendMode fBlendMode; member in skgpu::graphite::PrecompileBlendModeBlender
DKeyHelpers.cpp494 gatherer->write(SkTo<int>(data.fBlendMode)); in add_blend_colorfilter_uniform_data()
/external/skia/tools/viewer/
DViewer.h92 fBlendMode || in overridesSomething()
110 bool fBlendMode = false; member
DViewer.cpp1472 if (fPaintOverrides->fBlendMode) { in onFilter()
/external/skia/modules/sksg/src/
DSkSGPaint.cpp24 paint.setBlendMode(fBlendMode); in makePaint()
/external/skia/tools/debugger/
DDrawCommand.h551 SkBlendMode fBlendMode; variable
607 SkBlendMode fBlendMode; variable
632 SkBlendMode fBlendMode; variable
DDrawCommand.cpp1748 : INHERITED(kDrawPatch_OpType), fBlendMode(bmode) { in DrawPatchCommand()
1766 canvas->drawPatch(fCubics, fColorsPtr, fTexCoordsPtr, fBlendMode, fPaint); in execute()
1971 , fBlendMode(bmode) in DrawVerticesCommand()
1975 canvas->drawVertices(fVertices, fBlendMode, fPaint); in execute()
1994 , fBlendMode(bmode) in DrawAtlasCommand()
2005 fBlendMode, in execute()