/external/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 | 184 if (blendMode != SkBlendMode::kSrcOver || in textureop_creation_test() 191 uint32_t expectedOpID = blendMode == SkBlendMode::kSrcOver ? GrTextureOp::ClassID() in textureop_creation_test() 222 test(reporter, dContext, noAA, GrAAType::kNone, SkBlendMode::kSrcOver, in run_test() 235 test(reporter, dContext, noAA, GrAAType::kCoverage, SkBlendMode::kSrcOver, in run_test() 249 test(reporter, dContext, alternateAA, GrAAType::kCoverage, SkBlendMode::kSrcOver, in run_test() 264 test(reporter, dContext, runOfNonAA, GrAAType::kCoverage, SkBlendMode::kSrcOver, in run_test() 293 test(reporter, dContext, onlyOneAA, GrAAType::kCoverage, SkBlendMode::kSrcOver, in run_test() 306 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()
|
/external/skqp/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
|
/external/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() 84 case SkBlendMode::kSrcOver: in ChooseL565() 123 SkASSERT(mode == SkBlendMode::kSrc || mode == SkBlendMode::kSrcOver); in Sprite_D8_S32() 125 fUseSrcOver = (mode == SkBlendMode::kSrcOver) && !src.isOpaque(); in Sprite_D8_S32() 172 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()
|
/external/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()
|
D | draw_vertices.cpp | 14 SkBlendMode::kSrcOver, p); in draw() 22 SkBlendMode::kSrcOver, p); in draw()
|
/external/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()
|
/external/skqp/gm/ |
D | lcdoverlap.cpp | 80 drawTestCase(canvas, 3 * offsetX, offsetY, SkBlendMode::kSrcOver, SkBlendMode::kSrcOver); in onDraw() 83 drawTestCase(canvas, 3 * offsetX, 3 * offsetY, SkBlendMode::kSrcOver, SkBlendMode::kSrc); in onDraw()
|
D | textbloblooper.cpp | 153 { SkBlendMode::kSrcOver, 0x88000000, SkPaint::kFill_Style, 0, 10.f, 0, true }, in onOnceBeforeDraw() 154 { SkBlendMode::kSrcOver, 0x50FF00FF, SkPaint::kFill_Style, 0, 20.f, 0, false }, in onOnceBeforeDraw() 161 { SkBlendMode::kSrcOver, 0x88000000, SkPaint::kFill_Style, 0, 10.f, 0, true } in onOnceBeforeDraw() 166 { SkBlendMode::kSrcOver, 0xFF000000, SkPaint::kFill_Style, 0, 1.f, 0, true }, in onOnceBeforeDraw() 167 { SkBlendMode::kSrcOver, 0x50FF00FF, SkPaint::kFill_Style, 0, 2.f, 0, false }, in onOnceBeforeDraw() 182 { SkBlendMode::kSrcOver, 0x50FF00FF, SkPaint::kFill_Style, 0, 20.f, 0, false }, in onOnceBeforeDraw()
|
D | xfermodeimagefilter.cpp | 55 SkBlendMode::kSrcOver, in onDraw() 105 paint.setImageFilter(SkXfermodeImageFilter::Make(SkBlendMode::kSrcOver, background)); in onDraw() 123 paint.setImageFilter(SkXfermodeImageFilter::Make(SkBlendMode::kSrcOver, in onDraw() 147 SkBlendMode::kOverlay, SkBlendMode::kSrcOver, SkBlendMode::kPlus in onDraw()
|
D | localmatrixshader.cpp | 54 SkBlendMode::kSrcOver) in __anon1a544d110302() 62 SkBlendMode::kSrcOver) in __anon1a544d110402()
|
/external/skia/src/gpu/effects/ |
D | GrPorterDuffXferProcessor.cpp | 640 if (SkBlendMode::kSrcOver != mode) { in Make() 676 static constexpr const GrPorterDuffXPFactory gSrcOverPDXPF(SkBlendMode::kSrcOver); in Get() 696 case SkBlendMode::kSrcOver: in Get() 731 SkBlendMode::kSrcOver == fBlendMode && color.isConstant() && /*color.isOpaque() &&*/ in makeXferProcessor() 742 if (fBlendMode == SkBlendMode::kSrcOver && color.isOpaque() && in makeXferProcessor() 755 (isLCD && (SkBlendMode::kSrcOver != fBlendMode /*|| !color.isOpaque()*/)) || in makeXferProcessor() 782 if (SkBlendMode::kSrcOver == mode && color.isConstant() && /*color.isOpaque() &&*/ in analysis_properties() 792 if (SkBlendMode::kSrcOver != mode || in analysis_properties() 896 return PDLCDXferProcessor::Make(SkBlendMode::kSrcOver, color); in MakeSrcOverXferProcessor() 899 BlendFormula blendFormula = get_lcd_blend_formula(SkBlendMode::kSrcOver); in MakeSrcOverXferProcessor() [all …]
|
/external/skqp/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() 767 if (SkBlendMode::kSrcOver == fBlendMode && color.isConstant() && /*color.isOpaque() &&*/ in makeXferProcessor() 782 (isLCD && (SkBlendMode::kSrcOver != fBlendMode /*|| !color.isOpaque()*/))) { in makeXferProcessor() 809 if (SkBlendMode::kSrcOver == mode && color.isConstant() && /*color.isOpaque() &&*/ in analysis_properties() 819 if (SkBlendMode::kSrcOver != mode || in analysis_properties() 913 return PDLCDXferProcessor::Make(SkBlendMode::kSrcOver, color); in MakeSrcOverXferProcessor() 917 blendFormula = get_lcd_blend_formula(SkBlendMode::kSrcOver); in MakeSrcOverXferProcessor() 922 new ShaderPDXferProcessor(hasMixedSamples, SkBlendMode::kSrcOver, coverage)); in MakeSrcOverXferProcessor() [all …]
|
/external/skqp/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 | 75 REPORTER_ASSERT(reporter, paint.getBlendMode() == SkBlendMode::kSrcOver); in test_frontToBack() 106 REPORTER_ASSERT(reporter, paint.getBlendMode() == SkBlendMode::kSrcOver); in test_backToFront() 145 REPORTER_ASSERT(reporter, paint.getBlendMode() == SkBlendMode::kSrcOver); in test_mixed()
|
/external/skqp/bench/ |
D | RotatedRectBench.cpp | 203 DEF_FOR_AA_MODES(SkBlendMode::kSrcOver) 209 DEF_BENCH(return new RotRectBench(aa, kConstantOpaque_ColorType, SkBlendMode::kSrcOver, true);)\ 210 DEF_BENCH(return new RotRectBench(aa, kShaderOpaque_ColorType, SkBlendMode::kSrcOver, true);)
|
/external/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);)
|
/external/skia/modules/svg/src/ |
D | SkSVGFeComposite.cpp | 29 return SkBlendMode::kSrcOver; in BlendModeForOperator() 41 return SkBlendMode::kSrcOver; in BlendModeForOperator()
|
/external/skqp/samplecode/ |
D | SampleXfer.cpp | 22 SkBlendMode::kSrcOver, 69 ModeDrawable() : fMode(SkBlendMode::kSrcOver), fLoc(SkPoint::Make(0, 0)) {} in ModeDrawable() 133 fDrs[i]->fMode = SkBlendMode::kSrcOver; in XferDemo()
|
/external/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()
|