Home
last modified time | relevance | path

Searched refs:xfermode (Results 1 – 8 of 8) sorted by relevance

/third_party/skia/src/gpu/effects/
DGrPorterDuffXferProcessor.cpp361 SkBlendMode xfermode) { in get_blend_formula() argument
362 SkASSERT((unsigned)xfermode <= (unsigned)SkBlendMode::kLastCoeffMode); in get_blend_formula()
363 return gBlendTable[isOpaque][hasCoverage][(int)xfermode]; in get_blend_formula()
366 static BlendFormula get_lcd_blend_formula(SkBlendMode xfermode) { in get_lcd_blend_formula() argument
367 SkASSERT((unsigned)xfermode <= (unsigned)SkBlendMode::kLastCoeffMode); in get_lcd_blend_formula()
369 return gLCDBlendTable[(int)xfermode]; in get_lcd_blend_formula()
479 ShaderPDXferProcessor(SkBlendMode xfermode, GrProcessorAnalysisCoverage coverage) in ShaderPDXferProcessor() argument
481 , fXfermode(xfermode) { in ShaderPDXferProcessor()
632 constexpr GrPorterDuffXPFactory::GrPorterDuffXPFactory(SkBlendMode xfermode) in GrPorterDuffXPFactory() argument
633 : fBlendMode(xfermode) {} in GrPorterDuffXPFactory()
/third_party/skia/tests/
DGrPorterDuffTest.cpp79 XPInfo(skiatest::Reporter* reporter, SkBlendMode xfermode, const GrCaps& caps, in XPInfo()
81 const GrXPFactory* xpf = GrPorterDuffXPFactory::Get(xfermode); in XPInfo()
95 (SkBlendMode::kSrcOver != xfermode || in XPInfo()
105 (isLCD && (SkBlendMode::kSrcOver != xfermode || in XPInfo()
128 SkBlendMode xfermode = static_cast<SkBlendMode>(m); in test_lcd_coverage() local
129 const GrPorterDuffTest::XPInfo xpi(reporter, xfermode, caps, inputColor, inputCoverage); in test_lcd_coverage()
130 switch (xfermode) { in test_lcd_coverage()
307 SkBlendMode xfermode = static_cast<SkBlendMode>(m); in test_color_unknown_with_coverage() local
308 const GrPorterDuffTest::XPInfo xpi(reporter, xfermode, caps, inputColor, inputCoverage); in test_color_unknown_with_coverage()
309 switch (xfermode) { in test_color_unknown_with_coverage()
[all …]
DImageFilterTest.cpp1841 sk_sp<SkImageFilter> xfermode(SkImageFilters::Blend(static_cast<SkBlendMode>(i), in DEF_TEST() local
1843 auto bounds = xfermode->filterBounds(src, SkMatrix::I(), in DEF_TEST()
1851 sk_sp<SkImageFilter> xfermode(SkImageFilters::Blend( in DEF_TEST() local
1853 auto bounds = xfermode->filterBounds(src, SkMatrix::I(), in DEF_TEST()
/third_party/skia/src/core/
DSkXfermode.cpp97 if (auto xfermode = SkOpts::create_xfermode(mode)) { in Make() local
98 cached[(int)mode] = xfermode; in Make()
DSkSpriteBlitter_ARGB32.cpp74 SkXfermode* xfermode = fXfermode; in blitRect() local
77 xfermode->xfer32(dst, src, width, nullptr); in blitRect()
/third_party/skia/bench/
DImageFilterDAGBench.cpp151 auto xfermode = in onDraw() local
155 paint.setImageFilter(xfermode); in onDraw()
/third_party/skia/site/docs/user/api/
Dskcanvas_overview.md56 course) with whatever color or shader (and xfermode) is specified by
59 to draw a color (with an optional xfermode), you can just call
Dskpaint_overview.md56 - **SkColorFilter** - modify the source color(s) before applying the xfermode