Home
last modified time | relevance | path

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

123456789

/external/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.cpp184 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()
DPDFOpaqueSrcModeToSrcOverTest.cpp36 run_test(&srcOverMode, SkBlendMode::kSrcOver, alpha); in DEF_TEST()
45 run_test(&srcOverMode, SkBlendMode::kSrcOver, alpha); in DEF_TEST()
/external/skqp/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
/external/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()
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()
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()
/external/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()
Ddraw_vertices.cpp14 SkBlendMode::kSrcOver, p); in draw()
22 SkBlendMode::kSrcOver, p); in draw()
/external/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()
/external/skqp/gm/
Dlcdoverlap.cpp80 drawTestCase(canvas, 3 * offsetX, offsetY, SkBlendMode::kSrcOver, SkBlendMode::kSrcOver); in onDraw()
83 drawTestCase(canvas, 3 * offsetX, 3 * offsetY, SkBlendMode::kSrcOver, SkBlendMode::kSrc); in onDraw()
Dtextbloblooper.cpp153 { 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()
Dxfermodeimagefilter.cpp55 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()
Dlocalmatrixshader.cpp54 SkBlendMode::kSrcOver) in __anon1a544d110302()
62 SkBlendMode::kSrcOver) in __anon1a544d110402()
/external/skia/src/gpu/effects/
DGrPorterDuffXferProcessor.cpp640 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/
DGrPorterDuffXferProcessor.cpp666 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/
DPDFOpaqueSrcModeToSrcOverTest.cpp36 run_test(&srcOverMode, SkBlendMode::kSrcOver, alpha); in DEF_TEST()
45 run_test(&srcOverMode, SkBlendMode::kSrcOver, alpha); in DEF_TEST()
DLayerDrawLooperTest.cpp75 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/
DRotatedRectBench.cpp203 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/
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);)
/external/skia/modules/svg/src/
DSkSVGFeComposite.cpp29 return SkBlendMode::kSrcOver; in BlendModeForOperator()
41 return SkBlendMode::kSrcOver; in BlendModeForOperator()
/external/skqp/samplecode/
DSampleXfer.cpp22 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/
DSkSGRenderNode.cpp91 || fBlendMode != SkBlendMode::kSrcOver; in requiresIsolation()
101 if (fBlendMode != SkBlendMode::kSrcOver) { in modulatePaint()
202 fCtx.fBlendMode = SkBlendMode::kSrcOver; in setIsolation()

123456789