Home
last modified time | relevance | path

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

12345678910>>...12

/third_party/flutter/skia/gm/
Dtextbloblooper.cpp138 info.fColorMode = SkBlendMode::kSrc; in setupLooper()
174 { SkBlendMode::kSrc, SK_ColorMAGENTA, SkPaint::kFill_Style, 0, 0, 0, false }, in onOnceBeforeDraw()
180 { SkBlendMode::kSrc, SK_ColorWHITE, SkPaint::kStroke_Style, 1.f * 3/4, 0, 0, false }, in onOnceBeforeDraw()
181 { SkBlendMode::kSrc, SK_ColorRED, SkPaint::kStroke_Style, 4.f, 0, 0, false }, in onOnceBeforeDraw()
182 { SkBlendMode::kSrc, SK_ColorBLUE, SkPaint::kFill_Style, 0, 0, 0, false }, in onOnceBeforeDraw()
194 { SkBlendMode::kSrc, SK_ColorRED, SkPaint::kFill_Style, 0, 0, -1.f, false }, in onOnceBeforeDraw()
195 { SkBlendMode::kSrc, SK_ColorGREEN, SkPaint::kFill_Style, 0, 10.f, -1.f, false }, in onOnceBeforeDraw()
196 { SkBlendMode::kSrc, SK_ColorBLUE, SkPaint::kFill_Style, 0, 20.f, -1.f, false }, in onOnceBeforeDraw()
200 { SkBlendMode::kSrc, SK_ColorWHITE, SkPaint::kStroke_Style, 1.f * 3/4, 0, 0, false }, in onOnceBeforeDraw()
201 { SkBlendMode::kSrc, SK_ColorBLACK, SkPaint::kFill_Style, 0, 0, 0, false }, in onOnceBeforeDraw()
[all …]
Dlcdoverlap.cpp84 drawTestCase(canvas, offsetX, offsetY, SkBlendMode::kSrc, SkBlendMode::kSrc); in onDraw()
88 drawTestCase(canvas, 3 * offsetX, 3 * offsetY, SkBlendMode::kSrcOver, SkBlendMode::kSrc); in onDraw()
Dunpremul.cpp55 paint.setBlendMode(SkBlendMode::kSrc);
66 paint.setBlendMode(SkBlendMode::kSrc);
Dbitmappremul.cpp54 paint.setBlendMode(SkBlendMode::kSrc); in make_argb4444_gradient()
83 paint.setBlendMode(SkBlendMode::kSrc); in make_argb4444_stripes()
Dskinning.cpp161 SkBlendMode::kSrc, in drawPermutations()
168 SkBlendMode::kSrc, in drawPermutations()
/third_party/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()
/third_party/flutter/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()
/third_party/flutter/skia/tests/
DLayerDrawLooperTest.cpp56 layerPaint->setBlendMode(SkBlendMode::kSrc); in test_frontToBack()
66 REPORTER_ASSERT(reporter, paint.getBlendMode() == SkBlendMode::kSrc); in test_frontToBack()
92 layerPaint->setBlendMode(SkBlendMode::kSrc); in test_backToFront()
109 REPORTER_ASSERT(reporter, paint.getBlendMode() == SkBlendMode::kSrc); in test_backToFront()
128 layerPaint->setBlendMode(SkBlendMode::kSrc); in test_mixed()
145 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()
/third_party/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()
/third_party/skia/bench/
DColorFilterBench.cpp167 []() { return SkColorFilters::Blend(0x80808080, SkBlendMode::kSrc); }); ) in __anone89ca03e0302()
179 []() { return SkColorFilters::Compose(SkColorFilters::Blend(0x80808080, SkBlendMode::kSrc), in __anone89ca03e0902()
180 SkColorFilters::Blend(0x80808080, SkBlendMode::kSrc)); in __anone89ca03e0902()
184 SkColorFilters::Blend(0x80808080, SkBlendMode::kSrc), in __anone89ca03e0a02()
185 SkColorFilters::Blend(0x80808080, SkBlendMode::kSrc)); in __anone89ca03e0a02()
/third_party/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()
DDMSAATest.cpp94 draw_paint_with_dmsaa(sdc.get(), SK_PMColor4fTRANSPARENT, SkBlendMode::kSrc);
125 draw_paint_with_dmsaa(sdc.get(), SK_PMColor4fTRANSPARENT, SkBlendMode::kSrc);
149 draw_paint_with_dmsaa(sdc.get(), SK_PMColor4fTRANSPARENT, SkBlendMode::kSrc);
174 draw_paint_with_dmsaa(sdc.get(), SK_PMColor4fTRANSPARENT, SkBlendMode::kSrc);
233 paint.setBlendMode(SkBlendMode::kSrc); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
/third_party/skia/tests/graphite/
DProgramCacheTest.cpp26 Combination c1 { ShaderCombo::ShaderType::kNone, SkTileMode::kRepeat, SkBlendMode::kSrc }; in DEF_GRAPHITE_TEST_FOR_CONTEXTS()
38 Combination c2 { ShaderCombo::ShaderType::kNone, SkTileMode::kRepeat, SkBlendMode::kSrc }; in DEF_GRAPHITE_TEST_FOR_CONTEXTS()
53 SkBlendMode::kSrc }; in DEF_GRAPHITE_TEST_FOR_CONTEXTS()
/third_party/flutter/skia/src/gpu/
DGrPaint.cpp63 static const GrXPFactory* kSrc = GrPorterDuffXPFactory::Get(SkBlendMode::kSrc); in isConstantBlendedColor() local
72 if (kSrc == fXPFactory || (!fXPFactory && fColor.isOpaque())) { in isConstantBlendedColor()
/third_party/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()
/third_party/flutter/skia/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.cpp118 mode = SkBlendMode::kSrc; in Blend()
123 mode = SkBlendMode::kSrc; in Blend()
/third_party/skia/src/core/
DSkSpriteBlitter_RGB565.cpp35 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()
173 case SkBlendMode::kSrc: in ChooseLA8()
/third_party/flutter/skia/src/gpu/effects/
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()
475 (SkBlendMode::kSrc == mode && child == kDst_Child)); in TestCreate()
504 case SkBlendMode::kSrc: in MakeFromDstProcessor()
/third_party/flutter/skia/src/gpu/effects/generated/
DGrConfigConversionEffect.h93 paint1.setPorterDuffXPFactory(SkBlendMode::kSrc); in TestForPreservingPMConversions()
107 paint2.setPorterDuffXPFactory(SkBlendMode::kSrc); in TestForPreservingPMConversions()
114 paint3.setPorterDuffXPFactory(SkBlendMode::kSrc); in TestForPreservingPMConversions()
/third_party/skia/src/gpu/effects/
DGrBlendFragmentProcessor.cpp66 case SkBlendMode::kSrc: in OptFlags()
186 } while (SkBlendMode::kClear == mode || SkBlendMode::kSrc == mode || SkBlendMode::kDst == mode); in TestCreate()
230 case SkBlendMode::kSrc: in Make()

12345678910>>...12