Home
last modified time | relevance | path

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

/external/skqp/src/core/
DSkLiteDL.cpp355 SkBlendMode xfermode) in DrawImageSet()
356 : count(count), quality(quality), xfermode(xfermode), set(count) { in DrawImageSet()
361 SkBlendMode xfermode; member
364 c->experimental_DrawImageSetV1(set.get(), count, quality, xfermode); in draw()
383 : xfermode(bmode), paint(paint) in DrawPatch()
392 SkBlendMode xfermode; member
398 xfermode, paint); in draw()
429 DrawAtlas(const SkImage* atlas, int count, SkBlendMode xfermode, in DrawAtlas()
431 : atlas(sk_ref_sp(atlas)), count(count), xfermode(xfermode), has_colors(has_colors) { in DrawAtlas()
437 SkBlendMode xfermode; member
[all …]
DSkXfermode.cpp98 if (auto xfermode = SkOpts::create_xfermode(mode)) { in Make() local
99 cached[(int)mode] = xfermode; in Make()
DSkSpriteBlitter_ARGB32.cpp75 SkXfermode* xfermode = fXfermode; in blitRect() local
78 xfermode->xfer32(dst, src, width, nullptr); in blitRect()
/external/skqp/tests/
DGrPorterDuffTest.cpp75 XPInfo(skiatest::Reporter* reporter, SkBlendMode xfermode, const GrCaps& caps, in XPInfo()
77 const GrXPFactory* xpf = GrPorterDuffXPFactory::Get(xfermode); in XPInfo()
89 (SkBlendMode::kSrcOver != xfermode || in XPInfo()
99 (isLCD && (SkBlendMode::kSrcOver != xfermode || in XPInfo()
121 SkBlendMode xfermode = static_cast<SkBlendMode>(m); in test_lcd_coverage() local
122 const GrPorterDuffTest::XPInfo xpi(reporter, xfermode, caps, inputColor, inputCoverage); in test_lcd_coverage()
123 switch (xfermode) { in test_lcd_coverage()
285 SkBlendMode xfermode = static_cast<SkBlendMode>(m); in test_color_unknown_with_coverage() local
286 const GrPorterDuffTest::XPInfo xpi(reporter, xfermode, caps, inputColor, inputCoverage); in test_color_unknown_with_coverage()
287 switch (xfermode) { in test_color_unknown_with_coverage()
[all …]
DImageFilterTest.cpp1895 sk_sp<SkImageFilter> xfermode(SkXfermodeImageFilter::Make(static_cast<SkBlendMode>(i), in DEF_TEST() local
1897 auto bounds = xfermode->filterBounds(src, SkMatrix::I(), in DEF_TEST()
1905 sk_sp<SkImageFilter> xfermode(SkXfermodeImageFilter::Make( in DEF_TEST() local
1907 auto bounds = xfermode->filterBounds(src, SkMatrix::I(), in DEF_TEST()
/external/skia/tests/
DGrPorterDuffTest.cpp80 XPInfo(skiatest::Reporter* reporter, SkBlendMode xfermode, const GrCaps& caps, in XPInfo()
82 const GrXPFactory* xpf = GrPorterDuffXPFactory::Get(xfermode); in XPInfo()
95 (SkBlendMode::kSrcOver != xfermode || in XPInfo()
105 (isLCD && (SkBlendMode::kSrcOver != xfermode || in XPInfo()
127 SkBlendMode xfermode = static_cast<SkBlendMode>(m); in test_lcd_coverage() local
128 const GrPorterDuffTest::XPInfo xpi(reporter, xfermode, caps, inputColor, inputCoverage); in test_lcd_coverage()
129 switch (xfermode) { in test_lcd_coverage()
291 SkBlendMode xfermode = static_cast<SkBlendMode>(m); in test_color_unknown_with_coverage() local
292 const GrPorterDuffTest::XPInfo xpi(reporter, xfermode, caps, inputColor, inputCoverage); in test_color_unknown_with_coverage()
293 switch (xfermode) { in test_color_unknown_with_coverage()
[all …]
DImageFilterTest.cpp1803 sk_sp<SkImageFilter> xfermode(SkImageFilters::Xfermode(static_cast<SkBlendMode>(i), in DEF_TEST() local
1805 auto bounds = xfermode->filterBounds(src, SkMatrix::I(), in DEF_TEST()
1813 sk_sp<SkImageFilter> xfermode(SkImageFilters::Xfermode( in DEF_TEST() local
1815 auto bounds = xfermode->filterBounds(src, SkMatrix::I(), in DEF_TEST()
/external/skqp/src/gpu/effects/
DGrPorterDuffXferProcessor.cpp384 SkBlendMode xfermode) { in get_blend_formula() argument
385 SkASSERT((unsigned)xfermode <= (unsigned)SkBlendMode::kLastCoeffMode); in get_blend_formula()
387 return gBlendTable[isOpaque][conflatesCoverage][(int)xfermode]; in get_blend_formula()
390 static BlendFormula get_lcd_blend_formula(SkBlendMode xfermode) { in get_lcd_blend_formula() argument
391 SkASSERT((unsigned)xfermode <= (unsigned)SkBlendMode::kLastCoeffMode); in get_lcd_blend_formula()
393 return gLCDBlendTable[(int)xfermode]; in get_lcd_blend_formula()
510 ShaderPDXferProcessor(bool hasMixedSamples, SkBlendMode xfermode, in ShaderPDXferProcessor() argument
513 , fXfermode(xfermode) { in ShaderPDXferProcessor()
693 constexpr GrPorterDuffXPFactory::GrPorterDuffXPFactory(SkBlendMode xfermode) in GrPorterDuffXPFactory() argument
694 : fBlendMode(xfermode) {} in GrPorterDuffXPFactory()
/external/skia/src/gpu/effects/
DGrPorterDuffXferProcessor.cpp384 SkBlendMode xfermode) { in get_blend_formula() argument
385 SkASSERT((unsigned)xfermode <= (unsigned)SkBlendMode::kLastCoeffMode); in get_blend_formula()
387 return gBlendTable[isOpaque][conflatesCoverage][(int)xfermode]; in get_blend_formula()
390 static BlendFormula get_lcd_blend_formula(SkBlendMode xfermode) { in get_lcd_blend_formula() argument
391 SkASSERT((unsigned)xfermode <= (unsigned)SkBlendMode::kLastCoeffMode); in get_lcd_blend_formula()
393 return gLCDBlendTable[(int)xfermode]; in get_lcd_blend_formula()
510 ShaderPDXferProcessor(bool hasMixedSamples, SkBlendMode xfermode, in ShaderPDXferProcessor() argument
513 , fXfermode(xfermode) { in ShaderPDXferProcessor()
693 constexpr GrPorterDuffXPFactory::GrPorterDuffXPFactory(SkBlendMode xfermode) in GrPorterDuffXPFactory() argument
694 : fBlendMode(xfermode) {} in GrPorterDuffXPFactory()
/external/skia/src/core/
DSkXfermode.cpp98 if (auto xfermode = SkOpts::create_xfermode(mode)) { in Make() local
99 cached[(int)mode] = xfermode; in Make()
DSkSpriteBlitter_ARGB32.cpp74 SkXfermode* xfermode = fXfermode; in blitRect() local
77 xfermode->xfer32(dst, src, width, nullptr); in blitRect()
/external/skqp/bench/
DImageFilterDAGBench.cpp134 auto xfermode = in onDraw() local
138 paint.setImageFilter(xfermode); in onDraw()
/external/skia/bench/
DImageFilterDAGBench.cpp147 auto xfermode = in onDraw() local
151 paint.setImageFilter(xfermode); in onDraw()
/external/skqp/gm/
Dtextbloblooper.cpp164 LooperSettings xfermode[] = { in onOnceBeforeDraw() local
199 xfermode, SK_ARRAY_COUNT(xfermode))); in onOnceBeforeDraw()
/external/skia/gm/
Dtextbloblooper.cpp186 LooperSettings xfermode[] = { in onOnceBeforeDraw() local
221 xfermode, SK_ARRAY_COUNT(xfermode))); in onOnceBeforeDraw()
/external/skqp/site/user/api/
Dskcanvas_overview.md49 course) with whatever color or shader (and xfermode) is specified by
52 to draw a color (with an optional xfermode), you can just call
Dskpaint_overview.md71 xfermode (e.g. color matrix)
/external/skia/site/user/api/
Dskcanvas_overview.md49 course) with whatever color or shader (and xfermode) is specified by
52 to draw a color (with an optional xfermode), you can just call
Dskpaint_overview.md71 xfermode (e.g. color matrix)