Home
last modified time | relevance | path

Searched refs:kSrc (Results 1 – 25 of 276) sorted by relevance

12345678910>>...12

/external/skia/gm/
Dtextbloblooper.cpp116 info.fColorMode = SkBlendMode::kSrc; in setupLooper()
152 { SkBlendMode::kSrc, SK_ColorMAGENTA, SkPaint::kFill_Style, 0, 0, 0, false }, in onOnceBeforeDraw()
158 { SkBlendMode::kSrc, SK_ColorWHITE, SkPaint::kStroke_Style, 1.f * 3/4, 0, 0, false }, in onOnceBeforeDraw()
159 { SkBlendMode::kSrc, SK_ColorRED, SkPaint::kStroke_Style, 4.f, 0, 0, false }, in onOnceBeforeDraw()
160 { SkBlendMode::kSrc, SK_ColorBLUE, SkPaint::kFill_Style, 0, 0, 0, false }, in onOnceBeforeDraw()
172 { SkBlendMode::kSrc, SK_ColorRED, SkPaint::kFill_Style, 0, 0, -1.f, false }, in onOnceBeforeDraw()
173 { SkBlendMode::kSrc, SK_ColorGREEN, SkPaint::kFill_Style, 0, 10.f, -1.f, false }, in onOnceBeforeDraw()
174 { SkBlendMode::kSrc, SK_ColorBLUE, SkPaint::kFill_Style, 0, 20.f, -1.f, false }, in onOnceBeforeDraw()
178 { SkBlendMode::kSrc, SK_ColorWHITE, SkPaint::kStroke_Style, 1.f * 3/4, 0, 0, false }, in onOnceBeforeDraw()
179 { SkBlendMode::kSrc, SK_ColorBLACK, SkPaint::kFill_Style, 0, 0, 0, false }, in onOnceBeforeDraw()
[all …]
Dlcdoverlap.cpp79 drawTestCase(canvas, offsetX, offsetY, SkBlendMode::kSrc, SkBlendMode::kSrc); in onDraw()
83 drawTestCase(canvas, 3 * offsetX, 3 * offsetY, SkBlendMode::kSrcOver, SkBlendMode::kSrc); in onDraw()
Dunpremul.cpp47 paint.setBlendMode(SkBlendMode::kSrc);
58 paint.setBlendMode(SkBlendMode::kSrc);
Dbitmappremul.cpp46 paint.setBlendMode(SkBlendMode::kSrc); in make_argb4444_gradient()
75 paint.setBlendMode(SkBlendMode::kSrc); in make_argb4444_stripes()
Dgm.cpp96 canvas->drawColor(fBGColor, SkBlendMode::kSrc); in drawBackground()
201 paint.setBlendMode(SkBlendMode::kSrc); in MarkGMGood()
221 paint.setBlendMode(SkBlendMode::kSrc); in MarkGMBad()
Dskinning.cpp156 SkBlendMode::kSrc, in drawPermutations()
163 SkBlendMode::kSrc, in drawPermutations()
/external/skqp/gm/
Dtextbloblooper.cpp116 info.fColorMode = SkBlendMode::kSrc; in setupLooper()
152 { SkBlendMode::kSrc, SK_ColorMAGENTA, SkPaint::kFill_Style, 0, 0, 0, false }, in onOnceBeforeDraw()
158 { SkBlendMode::kSrc, SK_ColorWHITE, SkPaint::kStroke_Style, 1.f * 3/4, 0, 0, false }, in onOnceBeforeDraw()
159 { SkBlendMode::kSrc, SK_ColorRED, SkPaint::kStroke_Style, 4.f, 0, 0, false }, in onOnceBeforeDraw()
160 { SkBlendMode::kSrc, SK_ColorBLUE, SkPaint::kFill_Style, 0, 0, 0, false }, in onOnceBeforeDraw()
172 { SkBlendMode::kSrc, SK_ColorRED, SkPaint::kFill_Style, 0, 0, -1.f, false }, in onOnceBeforeDraw()
173 { SkBlendMode::kSrc, SK_ColorGREEN, SkPaint::kFill_Style, 0, 10.f, -1.f, false }, in onOnceBeforeDraw()
174 { SkBlendMode::kSrc, SK_ColorBLUE, SkPaint::kFill_Style, 0, 20.f, -1.f, false }, in onOnceBeforeDraw()
178 { SkBlendMode::kSrc, SK_ColorWHITE, SkPaint::kStroke_Style, 1.f * 3/4, 0, 0, false }, in onOnceBeforeDraw()
179 { SkBlendMode::kSrc, SK_ColorBLACK, SkPaint::kFill_Style, 0, 0, 0, false }, in onOnceBeforeDraw()
[all …]
Dlcdoverlap.cpp79 drawTestCase(canvas, offsetX, offsetY, SkBlendMode::kSrc, SkBlendMode::kSrc); in onDraw()
83 drawTestCase(canvas, 3 * offsetX, 3 * offsetY, SkBlendMode::kSrcOver, SkBlendMode::kSrc); in onDraw()
Dgm.cpp46 canvas->drawColor(fBGColor, SkBlendMode::kSrc); in drawBackground()
130 paint.setBlendMode(SkBlendMode::kSrc); in MarkGMGood()
150 paint.setBlendMode(SkBlendMode::kSrc); in MarkGMBad()
Dunpremul.cpp47 paint.setBlendMode(SkBlendMode::kSrc);
58 paint.setBlendMode(SkBlendMode::kSrc);
Dbitmappremul.cpp46 paint.setBlendMode(SkBlendMode::kSrc); in make_argb4444_gradient()
75 paint.setBlendMode(SkBlendMode::kSrc); in make_argb4444_stripes()
Dskinning.cpp156 SkBlendMode::kSrc, in drawPermutations()
163 SkBlendMode::kSrc, in drawPermutations()
/external/skia/tests/
DLayerDrawLooperTest.cpp56 layerPaint->setBlendMode(SkBlendMode::kSrc); in test_frontToBack()
67 REPORTER_ASSERT(reporter, paint.getBlendMode() == SkBlendMode::kSrc); in test_frontToBack()
95 layerPaint->setBlendMode(SkBlendMode::kSrc); in test_backToFront()
114 REPORTER_ASSERT(reporter, paint.getBlendMode() == SkBlendMode::kSrc); in test_backToFront()
134 layerPaint->setBlendMode(SkBlendMode::kSrc); in test_mixed()
153 REPORTER_ASSERT(reporter, paint.getBlendMode() == SkBlendMode::kSrc); in test_mixed()
DPDFOpaqueSrcModeToSrcOverTest.cpp35 run_test(&srcMode, SkBlendMode::kSrc, alpha); in DEF_TEST()
44 run_test(&srcMode, SkBlendMode::kSrc, alpha); in DEF_TEST()
/external/skqp/tests/
DLayerDrawLooperTest.cpp56 layerPaint->setBlendMode(SkBlendMode::kSrc); in test_frontToBack()
67 REPORTER_ASSERT(reporter, paint.getBlendMode() == SkBlendMode::kSrc); in test_frontToBack()
95 layerPaint->setBlendMode(SkBlendMode::kSrc); in test_backToFront()
114 REPORTER_ASSERT(reporter, paint.getBlendMode() == SkBlendMode::kSrc); in test_backToFront()
134 layerPaint->setBlendMode(SkBlendMode::kSrc); in test_mixed()
153 REPORTER_ASSERT(reporter, paint.getBlendMode() == SkBlendMode::kSrc); in test_mixed()
DPDFOpaqueSrcModeToSrcOverTest.cpp35 run_test(&srcMode, SkBlendMode::kSrc, alpha); in DEF_TEST()
44 run_test(&srcMode, SkBlendMode::kSrc, alpha); in DEF_TEST()
/external/skqp/src/gpu/
DGrPaint.cpp63 static const GrXPFactory* kSrc = GrPorterDuffXPFactory::Get(SkBlendMode::kSrc); in isConstantBlendedColor() local
72 if (kSrc == fXPFactory || (!fXPFactory && fColor.isOpaque())) { in isConstantBlendedColor()
/external/skia/src/gpu/
DGrPaint.cpp63 static const GrXPFactory* kSrc = GrPorterDuffXPFactory::Get(SkBlendMode::kSrc); in isConstantBlendedColor() local
72 if (kSrc == fXPFactory || (!fXPFactory && fColor.isOpaque())) { in isConstantBlendedColor()
/external/skqp/src/core/
DSkSpriteBlitter_RGB565.cpp36 SkASSERT(mode == SkBlendMode::kSrc || mode == SkBlendMode::kSrcOver); in Sprite_D16_S32()
84 case SkBlendMode::kSrc: in ChooseL565()
124 SkASSERT(mode == SkBlendMode::kSrc || mode == SkBlendMode::kSrcOver); in Sprite_D8_S32()
172 case SkBlendMode::kSrc: in ChooseLA8()
/external/skia/src/core/
DSkSpriteBlitter_RGB565.cpp36 SkASSERT(mode == SkBlendMode::kSrc || mode == SkBlendMode::kSrcOver); in Sprite_D16_S32()
84 case SkBlendMode::kSrc: in ChooseL565()
124 SkASSERT(mode == SkBlendMode::kSrc || mode == SkBlendMode::kSrcOver); in Sprite_D8_S32()
172 case SkBlendMode::kSrc: in ChooseLA8()
DSkModeColorFilter.cpp129 mode = SkBlendMode::kSrc; in MakeModeFilter()
134 mode = SkBlendMode::kSrc; in MakeModeFilter()
/external/skia/src/gpu/effects/
DGrXfermodeFragmentProcessor.cpp76 case SkBlendMode::kSrc: in OptFlags()
192 } while (SkBlendMode::kClear == mode || SkBlendMode::kSrc == mode || SkBlendMode::kDst == mode); in TestCreate()
252 case SkBlendMode::kSrc: in MakeFromTwoProcessors()
311 case SkBlendMode::kSrc: in OptFlags()
475 (SkBlendMode::kSrc == mode && child == kDst_Child)); in TestCreate()
504 case SkBlendMode::kSrc: in MakeFromDstProcessor()
DGrConfigConversionEffect.h95 paint1.setPorterDuffXPFactory(SkBlendMode::kSrc); in TestForPreservingPMConversions()
109 paint2.setPorterDuffXPFactory(SkBlendMode::kSrc); in TestForPreservingPMConversions()
116 paint3.setPorterDuffXPFactory(SkBlendMode::kSrc); in TestForPreservingPMConversions()
/external/skqp/src/gpu/effects/
DGrXfermodeFragmentProcessor.cpp76 case SkBlendMode::kSrc: in OptFlags()
192 } while (SkBlendMode::kClear == mode || SkBlendMode::kSrc == mode || SkBlendMode::kDst == mode); in TestCreate()
252 case SkBlendMode::kSrc: in MakeFromTwoProcessors()
311 case SkBlendMode::kSrc: in OptFlags()
484 (SkBlendMode::kSrc == mode && child == kDst_Child)); in TestCreate()
513 case SkBlendMode::kSrc: in MakeFromDstProcessor()
DGrConfigConversionEffect.h95 paint1.setPorterDuffXPFactory(SkBlendMode::kSrc); in TestForPreservingPMConversions()
109 paint2.setPorterDuffXPFactory(SkBlendMode::kSrc); in TestForPreservingPMConversions()
116 paint3.setPorterDuffXPFactory(SkBlendMode::kSrc); in TestForPreservingPMConversions()

12345678910>>...12