Home
last modified time | relevance | path

Searched refs:kSrc_Mode (Results 1 – 25 of 104) sorted by relevance

12345

/external/skia/bench/
DRotatedRectBench.cpp172 …return new RotRectBench(true, kConstantOpaque_ColorType, SkXfermode::kSrc_Mode);)
173 …return new RotRectBench(true, kConstantTransparent_ColorType, SkXfermode::kSrc_Mode);)
174 …return new RotRectBench(true, kChangingOpaque_ColorType, SkXfermode::kSrc_Mode);)
175 …return new RotRectBench(true, kChangingTransparent_ColorType, SkXfermode::kSrc_Mode);)
176 …return new RotRectBench(true, kAlternatingOpaqueAndTransparent_ColorType, SkXfermode::kSrc_Mode);)
178 …return new RotRectBench(false, kConstantOpaque_ColorType, SkXfermode::kSrc_Mode);)
179 …return new RotRectBench(false, kConstantTransparent_ColorType, SkXfermode::kSrc_Mode);)
180 …return new RotRectBench(false, kChangingOpaque_ColorType, SkXfermode::kSrc_Mode);)
181 …return new RotRectBench(false, kChangingTransparent_ColorType, SkXfermode::kSrc_Mode);)
182 …return new RotRectBench(false, kAlternatingOpaqueAndTransparent_ColorType, SkXfermode::kSrc_Mode);)
DBlurRoundRectBench.cpp48 info.fColorMode = SkXfermode::kSrc_Mode; in onDraw()
/external/skia/gm/
Dtextbloblooper.cpp120 info.fColorMode = SkXfermode::kSrc_Mode; in setupLooper()
157 { SkXfermode::kSrc_Mode, SK_ColorMAGENTA, SkPaint::kFill_Style, 0, 0, 0, false }, in onOnceBeforeDraw()
163 … { SkXfermode::kSrc_Mode, SK_ColorWHITE, SkPaint::kStroke_Style, 1.f * 3/4, 0, 0, false }, in onOnceBeforeDraw()
164 { SkXfermode::kSrc_Mode, SK_ColorRED, SkPaint::kStroke_Style, 4.f, 0, 0, false }, in onOnceBeforeDraw()
165 { SkXfermode::kSrc_Mode, SK_ColorBLUE, SkPaint::kFill_Style, 0, 0, 0, false }, in onOnceBeforeDraw()
177 { SkXfermode::kSrc_Mode, SK_ColorRED, SkPaint::kFill_Style, 0, 0, -1.f, false }, in onOnceBeforeDraw()
178 { SkXfermode::kSrc_Mode, SK_ColorGREEN, SkPaint::kFill_Style, 0, 10.f, -1.f, false }, in onOnceBeforeDraw()
179 { SkXfermode::kSrc_Mode, SK_ColorBLUE, SkPaint::kFill_Style, 0, 20.f, -1.f, false }, in onOnceBeforeDraw()
183 … { SkXfermode::kSrc_Mode, SK_ColorWHITE, SkPaint::kStroke_Style, 1.f * 3/4, 0, 0, false }, in onOnceBeforeDraw()
184 { SkXfermode::kSrc_Mode, SK_ColorBLACK, SkPaint::kFill_Style, 0, 0, 0, false }, in onOnceBeforeDraw()
[all …]
Dlcdoverlap.cpp82 drawTestCase(canvas, offsetX, offsetY, SkXfermode::kSrc_Mode, SkXfermode::kSrc_Mode); in onDraw()
88 SkXfermode::kSrc_Mode); in onDraw()
Dmodecolorfilters.cpp82 bgPaint.setXfermodeMode(SkXfermode::kSrc_Mode); in onDraw()
105 SkXfermode::kSrc_Mode, in onDraw()
Ddrawatlascolor.cpp29 paint.setXfermode(SkXfermode::Create(SkXfermode::kSrc_Mode)); in make_atlas()
84 { SkXfermode::kSrc_Mode, "Src" }, in onDraw()
Dmegalooper.cpp170 info.fColorMode = SkXfermode::kSrc_Mode; in create1Looper()
214 info.fColorMode = SkXfermode::kSrc_Mode; in create4Looper()
Dblurredclippedcircle.cpp37 whitePaint.setXfermode(SkXfermode::Create(SkXfermode::kSrc_Mode))->unref(); in onDraw()
Dconvexpolyeffect.cpp197 GrPorterDuffXPFactory::Create(SkXfermode::kSrc_Mode))->unref(); in onDraw()
243 GrPorterDuffXPFactory::Create(SkXfermode::kSrc_Mode))->unref(); in onDraw()
Ddrawlooper.cpp80 info.fColorMode = SkXfermode::kSrc_Mode; in init()
Dgm.cpp61 canvas->drawColor(fBGColor, SkXfermode::kSrc_Mode); in onDrawBackground()
Dtexteffects.cpp27 p.setXfermodeMode(SkXfermode::kSrc_Mode); in r0()
35 p.setXfermodeMode(SkXfermode::kSrc_Mode); in r1()
59 p.setXfermodeMode(SkXfermode::kSrc_Mode); in r3()
/external/skia/tests/
DLayerDrawLooperTest.cpp56 layerPaint->setXfermodeMode(SkXfermode::kSrc_Mode); in test_frontToBack()
68 REPORTER_ASSERT(reporter, SkXfermode::IsMode(paint.getXfermode(), SkXfermode::kSrc_Mode)); in test_frontToBack()
96 layerPaint->setXfermodeMode(SkXfermode::kSrc_Mode); in test_backToFront()
116 REPORTER_ASSERT(reporter, SkXfermode::IsMode(paint.getXfermode(), SkXfermode::kSrc_Mode)); in test_backToFront()
136 layerPaint->setXfermodeMode(SkXfermode::kSrc_Mode); in test_mixed()
156 REPORTER_ASSERT(reporter, SkXfermode::IsMode(paint.getXfermode(), SkXfermode::kSrc_Mode)); in test_mixed()
DPDFOpaqueSrcModeToSrcOverTest.cpp34 run_test(&srcMode, SkXfermode::kSrc_Mode, alpha); in DEF_TEST()
43 run_test(&srcMode, SkXfermode::kSrc_Mode, alpha); in DEF_TEST()
DGpuColorFilterTest.cpp78 { kRGBA, gr_c2, c1, SkXfermode::kSrc_Mode, kRGBA, gr_c1 }, in DEF_GPUTEST_FOR_ALL_CONTEXTS()
79 { kA, gr_c1, c1, SkXfermode::kSrc_Mode, kRGBA, gr_c1 }, in DEF_GPUTEST_FOR_ALL_CONTEXTS()
/external/skia/src/core/
DSkModeColorFilter.cpp127 Src_SkModeColorFilter(SkColor color) : INHERITED(color, SkXfermode::kSrc_Mode) {} in Src_SkModeColorFilter()
162 mode = SkXfermode::kSrc_Mode; in CreateModeFilter()
167 mode = SkXfermode::kSrc_Mode; in CreateModeFilter()
185 case SkXfermode::kSrc_Mode: in CreateModeFilter()
DSkXfermodeInterpretation.cpp26 case SkXfermode::kSrc_Mode: in SkInterpretXfermode()
/external/skia/src/gpu/effects/
DGrConfigConversionEffect.cpp224 paint1.setPorterDuffXPFactory(SkXfermode::kSrc_Mode); in TestForPreservingPMConversions()
243 paint2.setPorterDuffXPFactory(SkXfermode::kSrc_Mode); in TestForPreservingPMConversions()
258 paint3.setPorterDuffXPFactory(SkXfermode::kSrc_Mode); in TestForPreservingPMConversions()
DGrXfermodeFragmentProcessor.cpp127 case SkXfermode::kSrc_Mode: in CreateFromTwoProcessors()
288 case SkXfermode::kSrc_Mode: in CreateFromDstProcessor()
/external/skia/samplecode/
DSampleColorFilter.cpp105 paint.setXfermodeMode(SkXfermode::kSrc_Mode); in createBitmap()
162 SkXfermode::kSrc_Mode, in onDrawContent()
/external/skia/src/effects/
DSkGpuBlurUtils.cpp62 paint.setPorterDuffXPFactory(SkXfermode::kSrc_Mode); in convolve_gaussian_1d()
93 paint.setPorterDuffXPFactory(SkXfermode::kSrc_Mode); in convolve_gaussian_2d()
251 paint.setPorterDuffXPFactory(SkXfermode::kSrc_Mode); in GaussianBlur()
379 paint.setPorterDuffXPFactory(SkXfermode::kSrc_Mode); in GaussianBlur()
DSkXfermodeImageFilter.cpp84 paint.setXfermodeMode(SkXfermode::kSrc_Mode); in onFilterImageDeprecated()
232 paint.setPorterDuffXPFactory(SkXfermode::kSrc_Mode); in filterImageGPUDeprecated()
DSkColorFilterImageFilter.cpp82 paint.setXfermodeMode(SkXfermode::kSrc_Mode); in onFilterImageDeprecated()
DSkLayerDrawLooper.cpp45 case SkXfermode::kSrc_Mode: in xferColor()
165 if (SkXfermode::kSrc_Mode != rec->fInfo.fColorMode) { in asABlurShadow()
/external/skia/src/utils/
DSkRGBAToYUV.cpp48 paint.setXfermodeMode(SkXfermode::kSrc_Mode); in SkRGBAToYUV()

12345