Home
last modified time | relevance | path

Searched refs:kSrcOver_Mode (Results 1 – 25 of 60) sorted by relevance

123

/external/skia/bench/
DXfer4fBench.cpp87 DEF_BENCH( return new XferD32Bench(SkXfermode::kSrcOver_Mode, "srcover", false, F10); )
88 DEF_BENCH( return new XferD32Bench(SkXfermode::kSrcOver_Mode, "srcover", false, F00); )
89 DEF_BENCH( return new XferD32Bench(SkXfermode::kSrcOver_Mode, "srcover", false, F11); )
90 DEF_BENCH( return new XferD32Bench(SkXfermode::kSrcOver_Mode, "srcover", false, F01); )
92 DEF_BENCH( return new XferD32Bench(SkXfermode::kSrcOver_Mode, "srcover", true, F10); )
93 DEF_BENCH( return new XferD32Bench(SkXfermode::kSrcOver_Mode, "srcover", true, F00); )
94 DEF_BENCH( return new XferD32Bench(SkXfermode::kSrcOver_Mode, "srcover", true, F11); )
95 DEF_BENCH( return new XferD32Bench(SkXfermode::kSrcOver_Mode, "srcover", true, F01); )
97 DEF_BENCH( return new XferD32Bench(SkXfermode::kSrcOver_Mode, "srcover", false, F10 | USE_AA); )
98 DEF_BENCH( return new XferD32Bench(SkXfermode::kSrcOver_Mode, "srcover", false, F00 | USE_AA); )
[all …]
DRotatedRectBench.cpp160 …rn new RotRectBench(true, kConstantOpaque_ColorType, SkXfermode::kSrcOver_Mode);)
161 …rn new RotRectBench(true, kConstantTransparent_ColorType, SkXfermode::kSrcOver_Mode);)
162 …rn new RotRectBench(true, kChangingOpaque_ColorType, SkXfermode::kSrcOver_Mode);)
163 …rn new RotRectBench(true, kChangingTransparent_ColorType, SkXfermode::kSrcOver_Mode);)
164 …rn new RotRectBench(true, kAlternatingOpaqueAndTransparent_ColorType, SkXfermode::kSrcOver_Mode);)
166 …rn new RotRectBench(false, kConstantOpaque_ColorType, SkXfermode::kSrcOver_Mode);)
167 …rn new RotRectBench(false, kConstantTransparent_ColorType, SkXfermode::kSrcOver_Mode);)
168 …rn new RotRectBench(false, kChangingOpaque_ColorType, SkXfermode::kSrcOver_Mode);)
169 …rn new RotRectBench(false, kChangingTransparent_ColorType, SkXfermode::kSrcOver_Mode);)
170 …rn new RotRectBench(false, kAlternatingOpaqueAndTransparent_ColorType, SkXfermode::kSrcOver_Mode);)
DXfermodeBench.cpp22 SkASSERT(fXfermode.get() || SkXfermode::kSrcOver_Mode == mode); in XfermodeBench()
110 BENCH(SkXfermode::kSrcOver_Mode)
DXferU64Bench.cpp87 #define MODE SkXfermode::kSrcOver_Mode
/external/skia/tests/
DXfermodeTest.cpp32 REPORTER_ASSERT(reporter, SkXfermode::kSrcOver_Mode == mode); in test_asMode()
39 SkXfermode::kSrcOver_Mode)); in test_IsMode()
48 if (SkXfermode::kSrcOver_Mode != mode) { in test_IsMode()
DGpuColorFilterTest.cpp82 …{ kRGBA, gr_whiteTrans, SkColorSetARGB(128, 200, 200, 200), SkXfermode::kSrcOver_Mode, kRGBA, GrCo… in DEF_GPUTEST_FOR_ALL_CONTEXTS()
84 …{ kA , gr_whiteTrans, SkColorSetARGB(128, 200, 200, 200), SkXfermode::kSrcOver_Mode, kA , GrCo… in DEF_GPUTEST_FOR_ALL_CONTEXTS()
86 …{ kRGB , gr_whiteTrans, SkColorSetARGB(128, 200, 200, 200), SkXfermode::kSrcOver_Mode, kRGB, GrCol… in DEF_GPUTEST_FOR_ALL_CONTEXTS()
DPDFOpaqueSrcModeToSrcOverTest.cpp35 run_test(&srcOverMode, SkXfermode::kSrcOver_Mode, alpha); in DEF_TEST()
44 run_test(&srcOverMode, SkXfermode::kSrcOver_Mode, alpha); in DEF_TEST()
DLayerDrawLooperTest.cpp76 REPORTER_ASSERT(reporter, SkXfermode::IsMode(paint.getXfermode(), SkXfermode::kSrcOver_Mode)); in test_frontToBack()
108 REPORTER_ASSERT(reporter, SkXfermode::IsMode(paint.getXfermode(), SkXfermode::kSrcOver_Mode)); in test_backToFront()
148 REPORTER_ASSERT(reporter, SkXfermode::IsMode(paint.getXfermode(), SkXfermode::kSrcOver_Mode)); in test_mixed()
DBlendTest.cpp80 if (mode == SkXfermode::kSrcOver_Mode) { in DEF_TEST()
/external/skia/gm/
Dtextbloblooper.cpp158 { SkXfermode::kSrcOver_Mode, 0x88000000, SkPaint::kFill_Style, 0, 10.f, 0, true }, in onOnceBeforeDraw()
159 { SkXfermode::kSrcOver_Mode, 0x50FF00FF, SkPaint::kFill_Style, 0, 20.f, 0, false }, in onOnceBeforeDraw()
166 { SkXfermode::kSrcOver_Mode, 0x88000000, SkPaint::kFill_Style, 0, 10.f, 0, true } in onOnceBeforeDraw()
171 { SkXfermode::kSrcOver_Mode, 0xFF000000, SkPaint::kFill_Style, 0, 1.f, 0, true }, in onOnceBeforeDraw()
172 { SkXfermode::kSrcOver_Mode, 0x50FF00FF, SkPaint::kFill_Style, 0, 2.f, 0, false }, in onOnceBeforeDraw()
187 { SkXfermode::kSrcOver_Mode, 0x50FF00FF, SkPaint::kFill_Style, 0, 20.f, 0, false }, in onOnceBeforeDraw()
Dlcdoverlap.cpp83 drawTestCase(canvas, 3 * offsetX, offsetY, SkXfermode::kSrcOver_Mode, in onDraw()
84 SkXfermode::kSrcOver_Mode); in onDraw()
87 drawTestCase(canvas, 3 * offsetX, 3 * offsetY, SkXfermode::kSrcOver_Mode, in onDraw()
Dxfermodeimagefilter.cpp58 { SkXfermode::kSrcOver_Mode, "SrcOver" }, in onDraw()
128 mode.reset(SkXfermode::Create(SkXfermode::kSrcOver_Mode)); in onDraw()
150 SkXfermode::kSrcOver_Mode, in onDraw()
Dlcdblendmodes.cpp82 SkAutoTUnref<SkXfermode> xfermode(SkXfermode::Create(SkXfermode::kSrcOver_Mode)); in onDraw()
95 { SkXfermode::kSrcOver_Mode, "SrcOver" }, in drawColumn()
Dxfermodes.cpp82 { SkXfermode::kSrcOver_Mode, "SrcOver", kAll_SrcType },
181 p.setXfermodeMode(SkXfermode::kSrcOver_Mode); in draw_mode()
Dhairmodes.cpp20 { SkXfermode::kSrcOver_Mode, "SrcOver" },
Dtexdata.cpp84 paint.setPorterDuffXPFactory(SkXfermode::kSrcOver_Mode);
/external/skia/src/core/
DSkModeColorFilter.cpp139 SrcOver_SkModeColorFilter(SkColor color) : INHERITED(color, SkXfermode::kSrcOver_Mode) { } in SrcOver_SkModeColorFilter()
163 } else if (SkXfermode::kSrcOver_Mode == mode) { in CreateModeFilter()
174 (0 == alpha && (SkXfermode::kSrcOver_Mode == mode || in CreateModeFilter()
187 case SkXfermode::kSrcOver_Mode: in CreateModeFilter()
DSkXfermodeInterpretation.cpp24 case SkXfermode::kSrcOver_Mode: in SkInterpretXfermode()
DSkXfermodeU64.cpp237 case SkXfermode::kSrcOver_Mode: return gProcs_SrcOver[flags]; in find_proc()
253 return xfer ? xfer->onGetD64Proc(flags) : find_proc(SkXfermode::kSrcOver_Mode, flags); in GetD64Proc()
/external/skia/src/pdf/
DSkPDFGraphicState.cpp18 case SkXfermode::kSrcOver_Mode: in as_blend_mode()
76 SkXfermode::Mode mode = SkXfermode::kSrcOver_Mode; in mode_for_pdf()
81 case SkXfermode::kSrcOver_Mode: in mode_for_pdf()
100 return SkXfermode::kSrcOver_Mode; // Default mode. in mode_for_pdf()
/external/skia/src/gpu/effects/
DGrPorterDuffXferProcessor.cpp659 if (SkXfermode::kSrcOver_Mode != xfermode) { in Create()
711 static GrPorterDuffXPFactory gSrcOverPDXPF(SkXfermode::kSrcOver_Mode); in Create()
747 if (SkXfermode::kSrcOver_Mode == fXfermode && in onCreateXferProcessor()
812 if (SkXfermode::kSrcOver_Mode == fXfermode && in onWillReadDstColor()
861 return new ShaderPDXferProcessor(dstTexture, hasMixedSamples, SkXfermode::kSrcOver_Mode); in CreateSrcOverXferProcessor()
883 return PDLCDXferProcessor::Create(SkXfermode::kSrcOver_Mode, optimizations.fColorPOI); in CreateSrcOverXferProcessor()
885 blendFormula = get_lcd_blend_formula(optimizations.fCoveragePOI, SkXfermode::kSrcOver_Mode); in CreateSrcOverXferProcessor()
888 hasMixedSamples, SkXfermode::kSrcOver_Mode); in CreateSrcOverXferProcessor()
892 return new ShaderPDXferProcessor(dstTexture, hasMixedSamples, SkXfermode::kSrcOver_Mode); in CreateSrcOverXferProcessor()
916 SkXfermode::kSrcOver_Mode).hasSecondaryOutput(); in SrcOverWillNeedDstTexture()
[all …]
/external/skia/samplecode/
DSampleXfer.cpp24 { SkXfermode::kSrcOver_Mode, "src-over" },
112 ModeDrawable() : fMode(SkXfermode::kSrcOver_Mode), fLoc(SkPoint::Make(0, 0)) {} in ModeDrawable()
182 fDrs[i]->fMode = SkXfermode::kSrcOver_Mode; in XferDemo()
DSampleHairModes.cpp22 { SkXfermode::kSrcOver_Mode, "SrcOver" },
/external/skia/src/effects/
DSkXfermodeImageFilter.cpp216 rec.fProc = SkXfermode::GetProc(SkXfermode::kSrcOver_Mode); in filterImageGPUDeprecated()
217 SkXfermode::ModeAsCoeff(SkXfermode::kSrcOver_Mode, &rec.fSC, &rec.fDC); in filterImageGPUDeprecated()
219 mode.reset(new SkProcCoeffXfermode(rec, SkXfermode::kSrcOver_Mode)); in filterImageGPUDeprecated()
/external/skia/include/effects/
DSkMergeImageFilter.h20 SkXfermode::Mode mode = SkXfermode::kSrcOver_Mode,

123