/external/skia/bench/ |
D | Xfer4fBench.cpp | 87 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 …]
|
D | RotatedRectBench.cpp | 160 …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);)
|
D | XfermodeBench.cpp | 22 SkASSERT(fXfermode.get() || SkXfermode::kSrcOver_Mode == mode); in XfermodeBench() 110 BENCH(SkXfermode::kSrcOver_Mode)
|
D | XferU64Bench.cpp | 87 #define MODE SkXfermode::kSrcOver_Mode
|
/external/skia/tests/ |
D | XfermodeTest.cpp | 32 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()
|
D | GpuColorFilterTest.cpp | 82 …{ 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()
|
D | PDFOpaqueSrcModeToSrcOverTest.cpp | 35 run_test(&srcOverMode, SkXfermode::kSrcOver_Mode, alpha); in DEF_TEST() 44 run_test(&srcOverMode, SkXfermode::kSrcOver_Mode, alpha); in DEF_TEST()
|
D | LayerDrawLooperTest.cpp | 76 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()
|
D | BlendTest.cpp | 80 if (mode == SkXfermode::kSrcOver_Mode) { in DEF_TEST()
|
/external/skia/gm/ |
D | textbloblooper.cpp | 158 { 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()
|
D | lcdoverlap.cpp | 83 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()
|
D | xfermodeimagefilter.cpp | 58 { SkXfermode::kSrcOver_Mode, "SrcOver" }, in onDraw() 128 mode.reset(SkXfermode::Create(SkXfermode::kSrcOver_Mode)); in onDraw() 150 SkXfermode::kSrcOver_Mode, in onDraw()
|
D | lcdblendmodes.cpp | 82 SkAutoTUnref<SkXfermode> xfermode(SkXfermode::Create(SkXfermode::kSrcOver_Mode)); in onDraw() 95 { SkXfermode::kSrcOver_Mode, "SrcOver" }, in drawColumn()
|
D | xfermodes.cpp | 82 { SkXfermode::kSrcOver_Mode, "SrcOver", kAll_SrcType }, 181 p.setXfermodeMode(SkXfermode::kSrcOver_Mode); in draw_mode()
|
D | hairmodes.cpp | 20 { SkXfermode::kSrcOver_Mode, "SrcOver" },
|
D | texdata.cpp | 84 paint.setPorterDuffXPFactory(SkXfermode::kSrcOver_Mode);
|
/external/skia/src/core/ |
D | SkModeColorFilter.cpp | 139 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()
|
D | SkXfermodeInterpretation.cpp | 24 case SkXfermode::kSrcOver_Mode: in SkInterpretXfermode()
|
D | SkXfermodeU64.cpp | 237 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/ |
D | SkPDFGraphicState.cpp | 18 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/ |
D | GrPorterDuffXferProcessor.cpp | 659 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/ |
D | SampleXfer.cpp | 24 { 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()
|
D | SampleHairModes.cpp | 22 { SkXfermode::kSrcOver_Mode, "SrcOver" },
|
/external/skia/src/effects/ |
D | SkXfermodeImageFilter.cpp | 216 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/ |
D | SkMergeImageFilter.h | 20 SkXfermode::Mode mode = SkXfermode::kSrcOver_Mode,
|