/third_party/skia/tests/ |
D | CodecAnimTest.cpp | 74 case SkCodecAnimation::Blend::kSrcOver: in to_string() 105 constexpr auto kSrcOver = SkCodecAnimation::Blend::kSrcOver; in DEF_TEST() local 132 { kSrcOver, kSrcOver, kSrcOver, kSrcOver, kSrcOver, kSrcOver, in DEF_TEST() 133 kSrcOver }, in DEF_TEST() 147 { kSrcOver, kSrcOver, kSrcOver, kSrcOver, kSrcOver, kSrcOver, in DEF_TEST() 148 kSrcOver, kSrcOver, kSrcOver, kSrcOver, kSrcOver, kSrcOver, in DEF_TEST() 149 kSrcOver }, in DEF_TEST() 166 { kSrcOver, kSrcOver, kSrcOver, kSrcOver }, in DEF_TEST() 183 { kSrcOver, kSrcOver, kSrcOver, kSrcOver, kSrcOver, kSrcOver, in DEF_TEST() 184 kSrcOver, kSrcOver, kSrcOver, kSrcOver, kSrcOver, kSrcOver, in DEF_TEST() [all …]
|
D | BulkRectTest.cpp | 186 if (blendMode != SkBlendMode::kSrcOver || in textureop_creation_test() 193 uint32_t expectedOpID = blendMode == SkBlendMode::kSrcOver ? skgpu::v1::TextureOp::ClassID() in textureop_creation_test() 224 test(reporter, dContext, noAA, GrAAType::kNone, SkBlendMode::kSrcOver, in run_test() 237 test(reporter, dContext, noAA, GrAAType::kCoverage, SkBlendMode::kSrcOver, in run_test() 251 test(reporter, dContext, alternateAA, GrAAType::kCoverage, SkBlendMode::kSrcOver, in run_test() 266 test(reporter, dContext, runOfNonAA, GrAAType::kCoverage, SkBlendMode::kSrcOver, in run_test() 295 test(reporter, dContext, onlyOneAA, GrAAType::kCoverage, SkBlendMode::kSrcOver, in run_test() 308 test(reporter, dContext, onlyOneAA, GrAAType::kCoverage, SkBlendMode::kSrcOver, in run_test()
|
D | PDFOpaqueSrcModeToSrcOverTest.cpp | 36 run_test(&srcOverMode, SkBlendMode::kSrcOver, alpha); in DEF_TEST() 45 run_test(&srcOverMode, SkBlendMode::kSrcOver, alpha); in DEF_TEST()
|
/third_party/skia/src/core/ |
D | SkSpriteBlitter_RGB565.cpp | 35 SkASSERT(mode == SkBlendMode::kSrc || mode == SkBlendMode::kSrcOver); in Sprite_D16_S32() 37 fUseSrcOver = (mode == SkBlendMode::kSrcOver) && !src.isOpaque(); in Sprite_D16_S32() 85 case SkBlendMode::kSrcOver: in ChooseL565() 124 SkASSERT(mode == SkBlendMode::kSrc || mode == SkBlendMode::kSrcOver); in Sprite_D8_S32() 126 fUseSrcOver = (mode == SkBlendMode::kSrcOver) && !src.isOpaque(); in Sprite_D8_S32() 174 case SkBlendMode::kSrcOver: in ChooseLA8()
|
D | SkBlendMode.cpp | 33 case SkBlendMode::kSrcOver: // s + d*inv(sa) in SkBlendMode_ShouldPreScaleCoverage() 93 case SkBlendMode::kSrcOver: stage = SkRasterPipeline::srcover; break; in SkBlendMode_AppendStages() 131 case SkBlendMode::kSrcOver: { in SkBlendMode_Apply()
|
/third_party/flutter/skia/src/core/ |
D | SkSpriteBlitter_RGB565.cpp | 36 SkASSERT(mode == SkBlendMode::kSrc || mode == SkBlendMode::kSrcOver); in Sprite_D16_S32() 38 fUseSrcOver = (mode == SkBlendMode::kSrcOver) && !src.isOpaque(); in Sprite_D16_S32() 85 case SkBlendMode::kSrcOver: in ChooseL565() 124 SkASSERT(mode == SkBlendMode::kSrc || mode == SkBlendMode::kSrcOver); in Sprite_D8_S32() 126 fUseSrcOver = (mode == SkBlendMode::kSrcOver) && !src.isOpaque(); in Sprite_D8_S32() 173 case SkBlendMode::kSrcOver: in ChooseLA8()
|
D | SkBlendMode.cpp | 34 case SkBlendMode::kSrcOver: // s + d*inv(sa) in SkBlendMode_ShouldPreScaleCoverage() 91 case SkBlendMode::kSrcOver: stage = SkRasterPipeline::srcover; break; in SkBlendMode_AppendStages() 129 case SkBlendMode::kSrcOver: { in SkBlendMode_Apply() 157 SkBlendMode::kSrcOver, // or DstOver
|
/third_party/flutter/skia/gm/ |
D | textbloblooper.cpp | 175 { SkBlendMode::kSrcOver, 0x88000000, SkPaint::kFill_Style, 0, 10.f, 0, true }, in onOnceBeforeDraw() 176 { SkBlendMode::kSrcOver, 0x50FF00FF, SkPaint::kFill_Style, 0, 20.f, 0, false }, in onOnceBeforeDraw() 183 { SkBlendMode::kSrcOver, 0x88000000, SkPaint::kFill_Style, 0, 10.f, 0, true } in onOnceBeforeDraw() 188 { SkBlendMode::kSrcOver, 0xFF000000, SkPaint::kFill_Style, 0, 1.f, 0, true }, in onOnceBeforeDraw() 189 { SkBlendMode::kSrcOver, 0x50FF00FF, SkPaint::kFill_Style, 0, 2.f, 0, false }, in onOnceBeforeDraw() 204 { SkBlendMode::kSrcOver, 0x50FF00FF, SkPaint::kFill_Style, 0, 20.f, 0, false }, in onOnceBeforeDraw()
|
D | lcdoverlap.cpp | 85 drawTestCase(canvas, 3 * offsetX, offsetY, SkBlendMode::kSrcOver, SkBlendMode::kSrcOver); in onDraw() 88 drawTestCase(canvas, 3 * offsetX, 3 * offsetY, SkBlendMode::kSrcOver, SkBlendMode::kSrc); in onDraw()
|
D | xfermodeimagefilter.cpp | 63 SkBlendMode::kSrcOver, in onDraw() 112 paint.setImageFilter(SkImageFilters::Xfermode(SkBlendMode::kSrcOver, background)); in onDraw() 127 SkBlendMode::kSrcOver, offsetBackground, offsetForeground)); in onDraw() 146 SkBlendMode::kOverlay, SkBlendMode::kSrcOver, SkBlendMode::kPlus in onDraw()
|
/third_party/flutter/skia/docs/examples/ |
D | Paint_getBlendMode.cpp | 9 SkBlendMode::kSrcOver == paint.getBlendMode() ? '=' : '!'); in draw() 12 SkBlendMode::kSrcOver == paint.getBlendMode() ? '=' : '!'); in draw()
|
D | Blend_Mode_Methods.cpp | 11 for (SkBlendMode m : { SkBlendMode::kSrcOver, SkBlendMode::kSrcIn, SkBlendMode::kSrcOut } ) { in draw() 12 normal.setBlendMode(SkBlendMode::kSrcOver); in draw()
|
/third_party/skia/gm/ |
D | lcdoverlap.cpp | 84 drawTestCase(canvas, 3 * offsetX, offsetY, SkBlendMode::kSrcOver, SkBlendMode::kSrcOver); in onDraw() 87 drawTestCase(canvas, 3 * offsetX, 3 * offsetY, SkBlendMode::kSrcOver, SkBlendMode::kSrc); in onDraw()
|
D | xfermodeimagefilter.cpp | 62 SkBlendMode::kSrcOver, in onDraw() 111 paint.setImageFilter(SkImageFilters::Blend(SkBlendMode::kSrcOver, background)); in onDraw() 126 SkBlendMode::kSrcOver, offsetBackground, offsetForeground)); in onDraw() 145 SkBlendMode::kOverlay, SkBlendMode::kSrcOver, SkBlendMode::kPlus in onDraw()
|
/third_party/skia/src/gpu/effects/ |
D | GrPorterDuffXferProcessor.cpp | 581 if (SkBlendMode::kSrcOver != mode) { in Make() 641 static constexpr const GrPorterDuffXPFactory gSrcOverPDXPF(SkBlendMode::kSrcOver); in Get() 661 case SkBlendMode::kSrcOver: in Get() 696 SkBlendMode::kSrcOver == fBlendMode && color.isConstant() && /*color.isOpaque() &&*/ in makeXferProcessor() 707 if (fBlendMode == SkBlendMode::kSrcOver && color.isOpaque() && in makeXferProcessor() 720 (isLCD && (SkBlendMode::kSrcOver != fBlendMode /*|| !color.isOpaque()*/)) || in makeXferProcessor() 747 if (SkBlendMode::kSrcOver == mode && color.isConstant() && /*color.isOpaque() &&*/ in analysis_properties() 757 if (SkBlendMode::kSrcOver != mode || in analysis_properties() 861 return PDLCDXferProcessor::Make(SkBlendMode::kSrcOver, color); in MakeSrcOverXferProcessor() 864 BlendFormula blendFormula = get_lcd_blend_formula(SkBlendMode::kSrcOver); in MakeSrcOverXferProcessor() [all …]
|
/third_party/skia/docs/examples/ |
D | Blend_Mode_Methods.cpp | 11 for (SkBlendMode m : { SkBlendMode::kSrcOver, SkBlendMode::kSrcIn, SkBlendMode::kSrcOut } ) { in draw() 12 normal.setBlendMode(SkBlendMode::kSrcOver); in draw()
|
D | draw_vertices.cpp | 14 SkBlendMode::kSrcOver, p); in draw() 22 SkBlendMode::kSrcOver, p); in draw()
|
/third_party/flutter/skia/src/gpu/effects/ |
D | GrPorterDuffXferProcessor.cpp | 666 if (SkBlendMode::kSrcOver != mode) { in Make() 709 static _CONSTEXPR_ const GrPorterDuffXPFactory gSrcOverPDXPF(SkBlendMode::kSrcOver); in Get() 730 case SkBlendMode::kSrcOver: in Get() 766 if (SkBlendMode::kSrcOver == fBlendMode && color.isConstant() && /*color.isOpaque() &&*/ in makeXferProcessor() 783 (isLCD && (SkBlendMode::kSrcOver != fBlendMode /*|| !color.isOpaque()*/)) || in makeXferProcessor() 811 if (SkBlendMode::kSrcOver == mode && color.isConstant() && /*color.isOpaque() &&*/ in analysis_properties() 821 if (SkBlendMode::kSrcOver != mode || in analysis_properties() 920 return PDLCDXferProcessor::Make(SkBlendMode::kSrcOver, color); in MakeSrcOverXferProcessor() 924 blendFormula = get_lcd_blend_formula(SkBlendMode::kSrcOver); in MakeSrcOverXferProcessor() 929 new ShaderPDXferProcessor(hasMixedSamples, SkBlendMode::kSrcOver, coverage)); in MakeSrcOverXferProcessor() [all …]
|
/third_party/flutter/skia/tests/ |
D | PDFOpaqueSrcModeToSrcOverTest.cpp | 36 run_test(&srcOverMode, SkBlendMode::kSrcOver, alpha); in DEF_TEST() 45 run_test(&srcOverMode, SkBlendMode::kSrcOver, alpha); in DEF_TEST()
|
D | LayerDrawLooperTest.cpp | 73 REPORTER_ASSERT(reporter, paint.getBlendMode() == SkBlendMode::kSrcOver); in test_frontToBack() 102 REPORTER_ASSERT(reporter, paint.getBlendMode() == SkBlendMode::kSrcOver); in test_backToFront() 138 REPORTER_ASSERT(reporter, paint.getBlendMode() == SkBlendMode::kSrcOver); in test_mixed()
|
/third_party/flutter/skia/bench/ |
D | RotatedRectBench.cpp | 201 DEF_FOR_AA_MODES(SkBlendMode::kSrcOver) 207 DEF_BENCH(return new RotRectBench(aa, kConstantOpaque_ColorType, SkBlendMode::kSrcOver, true);)\ 208 DEF_BENCH(return new RotRectBench(aa, kShaderOpaque_ColorType, SkBlendMode::kSrcOver, true);)
|
/third_party/skia/bench/ |
D | RotatedRectBench.cpp | 201 DEF_FOR_AA_MODES(SkBlendMode::kSrcOver) 207 DEF_BENCH(return new RotRectBench(aa, kConstantOpaque_ColorType, SkBlendMode::kSrcOver, true);)\ 208 DEF_BENCH(return new RotRectBench(aa, kShaderOpaque_ColorType, SkBlendMode::kSrcOver, true);)
|
/third_party/skia/modules/svg/src/ |
D | SkSVGFeComposite.cpp | 29 return SkBlendMode::kSrcOver; in BlendModeForOperator() 41 return SkBlendMode::kSrcOver; in BlendModeForOperator()
|
/third_party/flutter/skia/samplecode/ |
D | SampleXfer.cpp | 20 SkBlendMode::kSrcOver, 67 ModeDrawable() : fMode(SkBlendMode::kSrcOver), fLoc(SkPoint::Make(0, 0)) {} in ModeDrawable() 131 fDrs[i]->fMode = SkBlendMode::kSrcOver; in XferDemo()
|
/third_party/skia/modules/sksg/src/ |
D | SkSGRenderNode.cpp | 91 || fBlendMode != SkBlendMode::kSrcOver; in requiresIsolation() 101 if (fBlendMode != SkBlendMode::kSrcOver) { in modulatePaint() 202 fCtx.fBlendMode = SkBlendMode::kSrcOver; in setIsolation()
|