Home
last modified time | relevance | path

Searched refs:kSrcOver (Results 1 – 25 of 229) sorted by relevance

12345678910

/third_party/skia/tests/
DCodecAnimTest.cpp74 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 …]
DBulkRectTest.cpp186 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()
DPDFOpaqueSrcModeToSrcOverTest.cpp36 run_test(&srcOverMode, SkBlendMode::kSrcOver, alpha); in DEF_TEST()
45 run_test(&srcOverMode, SkBlendMode::kSrcOver, alpha); in DEF_TEST()
/third_party/skia/src/core/
DSkSpriteBlitter_RGB565.cpp35 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()
DSkBlendMode.cpp33 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/
DSkSpriteBlitter_RGB565.cpp36 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()
DSkBlendMode.cpp34 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/
Dtextbloblooper.cpp175 { 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()
Dlcdoverlap.cpp85 drawTestCase(canvas, 3 * offsetX, offsetY, SkBlendMode::kSrcOver, SkBlendMode::kSrcOver); in onDraw()
88 drawTestCase(canvas, 3 * offsetX, 3 * offsetY, SkBlendMode::kSrcOver, SkBlendMode::kSrc); in onDraw()
Dxfermodeimagefilter.cpp63 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/
DPaint_getBlendMode.cpp9 SkBlendMode::kSrcOver == paint.getBlendMode() ? '=' : '!'); in draw()
12 SkBlendMode::kSrcOver == paint.getBlendMode() ? '=' : '!'); in draw()
DBlend_Mode_Methods.cpp11 for (SkBlendMode m : { SkBlendMode::kSrcOver, SkBlendMode::kSrcIn, SkBlendMode::kSrcOut } ) { in draw()
12 normal.setBlendMode(SkBlendMode::kSrcOver); in draw()
/third_party/skia/gm/
Dlcdoverlap.cpp84 drawTestCase(canvas, 3 * offsetX, offsetY, SkBlendMode::kSrcOver, SkBlendMode::kSrcOver); in onDraw()
87 drawTestCase(canvas, 3 * offsetX, 3 * offsetY, SkBlendMode::kSrcOver, SkBlendMode::kSrc); in onDraw()
Dxfermodeimagefilter.cpp62 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/
DGrPorterDuffXferProcessor.cpp581 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/
DBlend_Mode_Methods.cpp11 for (SkBlendMode m : { SkBlendMode::kSrcOver, SkBlendMode::kSrcIn, SkBlendMode::kSrcOut } ) { in draw()
12 normal.setBlendMode(SkBlendMode::kSrcOver); in draw()
Ddraw_vertices.cpp14 SkBlendMode::kSrcOver, p); in draw()
22 SkBlendMode::kSrcOver, p); in draw()
/third_party/flutter/skia/src/gpu/effects/
DGrPorterDuffXferProcessor.cpp666 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/
DPDFOpaqueSrcModeToSrcOverTest.cpp36 run_test(&srcOverMode, SkBlendMode::kSrcOver, alpha); in DEF_TEST()
45 run_test(&srcOverMode, SkBlendMode::kSrcOver, alpha); in DEF_TEST()
DLayerDrawLooperTest.cpp73 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/
DRotatedRectBench.cpp201 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/
DRotatedRectBench.cpp201 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/
DSkSVGFeComposite.cpp29 return SkBlendMode::kSrcOver; in BlendModeForOperator()
41 return SkBlendMode::kSrcOver; in BlendModeForOperator()
/third_party/flutter/skia/samplecode/
DSampleXfer.cpp20 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/
DSkSGRenderNode.cpp91 || fBlendMode != SkBlendMode::kSrcOver; in requiresIsolation()
101 if (fBlendMode != SkBlendMode::kSrcOver) { in modulatePaint()
202 fCtx.fBlendMode = SkBlendMode::kSrcOver; in setIsolation()

12345678910