/external/skqp/gm/ |
D | textbloblooper.cpp | 116 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 …]
|
D | lcdoverlap.cpp | 79 drawTestCase(canvas, offsetX, offsetY, SkBlendMode::kSrc, SkBlendMode::kSrc); in onDraw() 83 drawTestCase(canvas, 3 * offsetX, 3 * offsetY, SkBlendMode::kSrcOver, SkBlendMode::kSrc); in onDraw()
|
D | unpremul.cpp | 47 paint.setBlendMode(SkBlendMode::kSrc); 58 paint.setBlendMode(SkBlendMode::kSrc);
|
D | gm.cpp | 46 canvas->drawColor(fBGColor, SkBlendMode::kSrc); in drawBackground() 130 paint.setBlendMode(SkBlendMode::kSrc); in MarkGMGood() 150 paint.setBlendMode(SkBlendMode::kSrc); in MarkGMBad()
|
D | bitmappremul.cpp | 46 paint.setBlendMode(SkBlendMode::kSrc); in make_argb4444_gradient() 75 paint.setBlendMode(SkBlendMode::kSrc); in make_argb4444_stripes()
|
D | skinning.cpp | 156 SkBlendMode::kSrc, in drawPermutations() 163 SkBlendMode::kSrc, in drawPermutations()
|
/external/skia/docs/examples/ |
D | Modulate.cpp | 20 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/ |
D | LayerDrawLooperTest.cpp | 56 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()
|
D | PDFOpaqueSrcModeToSrcOverTest.cpp | 35 run_test(&srcMode, SkBlendMode::kSrc, alpha); in DEF_TEST() 44 run_test(&srcMode, SkBlendMode::kSrc, alpha); in DEF_TEST()
|
/external/skia/src/gpu/ |
D | GrPaint.cpp | 39 static const GrXPFactory* kSrc = GrPorterDuffXPFactory::Get(SkBlendMode::kSrc); in isConstantBlendedColor() local 48 if (kSrc == fXPFactory || (!fXPFactory && fColor.isOpaque())) { in isConstantBlendedColor()
|
/external/skia/bench/ |
D | ColorFilterBench.cpp | 167 []() { 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/ |
D | CodecAnimTest.cpp | 76 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()
|
D | PDFOpaqueSrcModeToSrcOverTest.cpp | 35 run_test(&srcMode, SkBlendMode::kSrc, alpha); in DEF_TEST() 44 run_test(&srcMode, SkBlendMode::kSrc, alpha); in DEF_TEST()
|
/external/skqp/src/gpu/ |
D | GrPaint.cpp | 63 static const GrXPFactory* kSrc = GrPorterDuffXPFactory::Get(SkBlendMode::kSrc); in isConstantBlendedColor() local 72 if (kSrc == fXPFactory || (!fXPFactory && fColor.isOpaque())) { in isConstantBlendedColor()
|
/external/skia/gm/ |
D | lcdoverlap.cpp | 83 drawTestCase(canvas, offsetX, offsetY, SkBlendMode::kSrc, SkBlendMode::kSrc); in onDraw() 87 drawTestCase(canvas, 3 * offsetX, 3 * offsetY, SkBlendMode::kSrcOver, SkBlendMode::kSrc); in onDraw()
|
D | unpremul.cpp | 56 paint.setBlendMode(SkBlendMode::kSrc); 67 paint.setBlendMode(SkBlendMode::kSrc);
|
D | bitmappremul.cpp | 55 paint.setBlendMode(SkBlendMode::kSrc); in make_argb4444_gradient() 84 paint.setBlendMode(SkBlendMode::kSrc); in make_argb4444_stripes()
|
D | gm.cpp | 129 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/ |
D | SkSpriteBlitter_RGB565.cpp | 36 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()
|
D | SkModeColorFilter.cpp | 129 mode = SkBlendMode::kSrc; in MakeModeFilter() 134 mode = SkBlendMode::kSrc; in MakeModeFilter()
|
/external/skia/src/core/ |
D | SkSpriteBlitter_RGB565.cpp | 35 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/ |
D | Enum.sksl | 37 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/ |
D | GrConfigConversionEffect.h | 95 paint1.setPorterDuffXPFactory(SkBlendMode::kSrc); in TestForPreservingPMConversions() 109 paint2.setPorterDuffXPFactory(SkBlendMode::kSrc); in TestForPreservingPMConversions() 116 paint3.setPorterDuffXPFactory(SkBlendMode::kSrc); in TestForPreservingPMConversions()
|
D | GrXfermodeFragmentProcessor.cpp | 76 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/ |
D | SkComposeShader.cpp | 29 if (mode == SkBlendMode::kSrc) { in MakeCompose() 123 SkASSERT(fMode != SkBlendMode::kSrc && fMode != SkBlendMode::kDst); // caught in factory in asFragmentProcessor()
|