Home
last modified time | relevance | path

Searched refs:kSrc (Results 1 – 25 of 288) sorted by relevance

12345678910>>...12

/external/skqp/gm/
Dtextbloblooper.cpp116 info.fColorMode = SkBlendMode::kSrc; in setupLooper()
152 { SkBlendMode::kSrc, SK_ColorMAGENTA, SkPaint::kFill_Style, 0, 0, 0, false }, in onOnceBeforeDraw()
158 { SkBlendMode::kSrc, SK_ColorWHITE, SkPaint::kStroke_Style, 1.f * 3/4, 0, 0, false }, in onOnceBeforeDraw()
159 { SkBlendMode::kSrc, SK_ColorRED, SkPaint::kStroke_Style, 4.f, 0, 0, false }, in onOnceBeforeDraw()
160 { SkBlendMode::kSrc, SK_ColorBLUE, SkPaint::kFill_Style, 0, 0, 0, false }, in onOnceBeforeDraw()
172 { SkBlendMode::kSrc, SK_ColorRED, SkPaint::kFill_Style, 0, 0, -1.f, false }, in onOnceBeforeDraw()
173 { SkBlendMode::kSrc, SK_ColorGREEN, SkPaint::kFill_Style, 0, 10.f, -1.f, false }, in onOnceBeforeDraw()
174 { SkBlendMode::kSrc, SK_ColorBLUE, SkPaint::kFill_Style, 0, 20.f, -1.f, false }, in onOnceBeforeDraw()
178 { SkBlendMode::kSrc, SK_ColorWHITE, SkPaint::kStroke_Style, 1.f * 3/4, 0, 0, false }, in onOnceBeforeDraw()
179 { SkBlendMode::kSrc, SK_ColorBLACK, SkPaint::kFill_Style, 0, 0, 0, false }, in onOnceBeforeDraw()
[all …]
Dlcdoverlap.cpp79 drawTestCase(canvas, offsetX, offsetY, SkBlendMode::kSrc, SkBlendMode::kSrc); in onDraw()
83 drawTestCase(canvas, 3 * offsetX, 3 * offsetY, SkBlendMode::kSrcOver, SkBlendMode::kSrc); in onDraw()
Dunpremul.cpp47 paint.setBlendMode(SkBlendMode::kSrc);
58 paint.setBlendMode(SkBlendMode::kSrc);
Dgm.cpp46 canvas->drawColor(fBGColor, SkBlendMode::kSrc); in drawBackground()
130 paint.setBlendMode(SkBlendMode::kSrc); in MarkGMGood()
150 paint.setBlendMode(SkBlendMode::kSrc); in MarkGMBad()
Dbitmappremul.cpp46 paint.setBlendMode(SkBlendMode::kSrc); in make_argb4444_gradient()
75 paint.setBlendMode(SkBlendMode::kSrc); in make_argb4444_stripes()
Dskinning.cpp156 SkBlendMode::kSrc, in drawPermutations()
163 SkBlendMode::kSrc, in drawPermutations()
/external/skia/docs/examples/
DModulate.cpp20 drawSquare(0, 0, SkBlendMode::kSrc, "destination"); in draw()
21 drawSquare(128, 0, SkBlendMode::kSrc, ""); in draw()
22 drawSquare(0, 128, SkBlendMode::kSrc, ""); in draw()
25 drawSquare(0, 0, SkBlendMode::kSrc, "source"); in draw()
/external/skqp/tests/
DLayerDrawLooperTest.cpp56 layerPaint->setBlendMode(SkBlendMode::kSrc); in test_frontToBack()
67 REPORTER_ASSERT(reporter, paint.getBlendMode() == SkBlendMode::kSrc); in test_frontToBack()
95 layerPaint->setBlendMode(SkBlendMode::kSrc); in test_backToFront()
114 REPORTER_ASSERT(reporter, paint.getBlendMode() == SkBlendMode::kSrc); in test_backToFront()
134 layerPaint->setBlendMode(SkBlendMode::kSrc); in test_mixed()
153 REPORTER_ASSERT(reporter, paint.getBlendMode() == SkBlendMode::kSrc); in test_mixed()
DPDFOpaqueSrcModeToSrcOverTest.cpp35 run_test(&srcMode, SkBlendMode::kSrc, alpha); in DEF_TEST()
44 run_test(&srcMode, SkBlendMode::kSrc, alpha); in DEF_TEST()
/external/skia/src/gpu/
DGrPaint.cpp39 static const GrXPFactory* kSrc = GrPorterDuffXPFactory::Get(SkBlendMode::kSrc); in isConstantBlendedColor() local
48 if (kSrc == fXPFactory || (!fXPFactory && fColor.isOpaque())) { in isConstantBlendedColor()
/external/skia/bench/
DColorFilterBench.cpp167 []() { return SkColorFilters::Blend(0x80808080, SkBlendMode::kSrc); }); ) in __anonb80003540302()
179 []() { return SkColorFilters::Compose(SkColorFilters::Blend(0x80808080, SkBlendMode::kSrc), in __anonb80003540902()
180 SkColorFilters::Blend(0x80808080, SkBlendMode::kSrc)); in __anonb80003540902()
184 SkColorFilters::Blend(0x80808080, SkBlendMode::kSrc), in __anonb80003540a02()
185 SkColorFilters::Blend(0x80808080, SkBlendMode::kSrc)); in __anonb80003540a02()
/external/skia/tests/
DCodecAnimTest.cpp76 case SkCodecAnimation::Blend::kSrc: in to_string()
106 constexpr auto kSrc = SkCodecAnimation::Blend::kSrc; in DEF_TEST() local
228 { kSrc, kSrcOver, kSrc, kSrc, kSrc, kSrc, kSrc }, in DEF_TEST()
239 { kSrc, kSrcOver, kSrcOver, kSrcOver, kSrc, kSrcOver, in DEF_TEST()
DPDFOpaqueSrcModeToSrcOverTest.cpp35 run_test(&srcMode, SkBlendMode::kSrc, alpha); in DEF_TEST()
44 run_test(&srcMode, SkBlendMode::kSrc, alpha); in DEF_TEST()
/external/skqp/src/gpu/
DGrPaint.cpp63 static const GrXPFactory* kSrc = GrPorterDuffXPFactory::Get(SkBlendMode::kSrc); in isConstantBlendedColor() local
72 if (kSrc == fXPFactory || (!fXPFactory && fColor.isOpaque())) { in isConstantBlendedColor()
/external/skia/gm/
Dlcdoverlap.cpp83 drawTestCase(canvas, offsetX, offsetY, SkBlendMode::kSrc, SkBlendMode::kSrc); in onDraw()
87 drawTestCase(canvas, 3 * offsetX, 3 * offsetY, SkBlendMode::kSrcOver, SkBlendMode::kSrc); in onDraw()
Dunpremul.cpp56 paint.setBlendMode(SkBlendMode::kSrc);
67 paint.setBlendMode(SkBlendMode::kSrc);
Dbitmappremul.cpp55 paint.setBlendMode(SkBlendMode::kSrc); in make_argb4444_gradient()
84 paint.setBlendMode(SkBlendMode::kSrc); in make_argb4444_stripes()
Dgm.cpp129 canvas->drawColor(fBGColor, SkBlendMode::kSrc); in drawBackground()
234 paint.setBlendMode(SkBlendMode::kSrc); in MarkGMGood()
251 paint.setBlendMode(SkBlendMode::kSrc); in MarkGMBad()
/external/skqp/src/core/
DSkSpriteBlitter_RGB565.cpp36 SkASSERT(mode == SkBlendMode::kSrc || mode == SkBlendMode::kSrcOver); in Sprite_D16_S32()
84 case SkBlendMode::kSrc: in ChooseL565()
124 SkASSERT(mode == SkBlendMode::kSrc || mode == SkBlendMode::kSrcOver); in Sprite_D8_S32()
172 case SkBlendMode::kSrc: in ChooseLA8()
DSkModeColorFilter.cpp129 mode = SkBlendMode::kSrc; in MakeModeFilter()
134 mode = SkBlendMode::kSrc; in MakeModeFilter()
/external/skia/src/core/
DSkSpriteBlitter_RGB565.cpp35 SkASSERT(mode == SkBlendMode::kSrc || mode == SkBlendMode::kSrcOver); in Sprite_D16_S32()
83 case SkBlendMode::kSrc: in ChooseL565()
123 SkASSERT(mode == SkBlendMode::kSrc || mode == SkBlendMode::kSrcOver); in Sprite_D8_S32()
171 case SkBlendMode::kSrc: in ChooseLA8()
/external/skia/resources/sksl/shared/
DEnum.sksl37 if (m == SkBlendMode::kSrc) { sk_FragColor = half4(17); }
41 sk_FragColor = (m != SkBlendMode::kSrc) ? half4(20) : half4(-20);
45 case SkBlendMode::kSrc: sk_FragColor = half4(22); break;
/external/skqp/src/gpu/effects/
DGrConfigConversionEffect.h95 paint1.setPorterDuffXPFactory(SkBlendMode::kSrc); in TestForPreservingPMConversions()
109 paint2.setPorterDuffXPFactory(SkBlendMode::kSrc); in TestForPreservingPMConversions()
116 paint3.setPorterDuffXPFactory(SkBlendMode::kSrc); in TestForPreservingPMConversions()
DGrXfermodeFragmentProcessor.cpp76 case SkBlendMode::kSrc: in OptFlags()
192 } while (SkBlendMode::kClear == mode || SkBlendMode::kSrc == mode || SkBlendMode::kDst == mode); in TestCreate()
252 case SkBlendMode::kSrc: in MakeFromTwoProcessors()
311 case SkBlendMode::kSrc: in OptFlags()
484 (SkBlendMode::kSrc == mode && child == kDst_Child)); in TestCreate()
513 case SkBlendMode::kSrc: in MakeFromDstProcessor()
/external/skqp/src/shaders/
DSkComposeShader.cpp29 if (mode == SkBlendMode::kSrc) { in MakeCompose()
123 SkASSERT(fMode != SkBlendMode::kSrc && fMode != SkBlendMode::kDst); // caught in factory in asFragmentProcessor()

12345678910>>...12