/external/skia/src/pdf/ |
D | SkPDFDevice.cpp | 1833 SkXfermode::Mode xfermode = SkXfermode::kSrcOver_Mode; in setUpContentEntry() local 1835 paint.getXfermode()->asMode(&xfermode); in setUpContentEntry() 1840 if (xfermode == SkXfermode::kClear_Mode || in setUpContentEntry() 1841 xfermode == SkXfermode::kSrc_Mode || in setUpContentEntry() 1842 xfermode == SkXfermode::kSrcIn_Mode || in setUpContentEntry() 1843 xfermode == SkXfermode::kDstIn_Mode || in setUpContentEntry() 1844 xfermode == SkXfermode::kSrcOut_Mode || in setUpContentEntry() 1845 xfermode == SkXfermode::kDstOut_Mode || in setUpContentEntry() 1846 xfermode == SkXfermode::kSrcATop_Mode || in setUpContentEntry() 1847 xfermode == SkXfermode::kDstATop_Mode || in setUpContentEntry() [all …]
|
D | SkPDFGraphicState.cpp | 75 static SkXfermode::Mode mode_for_pdf(const SkXfermode* xfermode) { in mode_for_pdf() argument 77 if (xfermode) { in mode_for_pdf() 78 xfermode->asMode(&mode); in mode_for_pdf()
|
D | SkPDFDevice.h | 273 void finishContentEntry(SkXfermode::Mode xfermode,
|
/external/skia/src/core/ |
D | SkSpriteBlitter_ARGB32.cpp | 127 SkXfermode* xfermode = fXfermode; in blitRect() local 137 if (xfermode) { in blitRect() 138 xfermode->xfer32(dst, tmp, width, nullptr); in blitRect() 174 SkXfermode* xfermode = fXfermode; in blitRect() local 182 if (xfermode) { in blitRect() 183 xfermode->xfer32(dst, buffer, width, nullptr); in blitRect() 266 SkXfermode* xfermode = paint.getXfermode(); in ChooseL32() local 275 if (xfermode || filter) { in ChooseL32() 284 if (xfermode || filter) { in ChooseL32()
|
D | SkRemote.h | 88 ID misc, patheffect, shader, xfermode, maskfilter, member
|
D | SkRecordDraw.cpp | 322 SkXfermode* xfermode = paint->getXfermode(); in PaintMayAffectTransparentBlack() local 327 if (xfermode && xfermode->asMode(&mode)) { in PaintMayAffectTransparentBlack()
|
D | SkRemote.cpp | 124 fIDs.xfermode = fEncoder->define(paint.getXfermode()); in AutoCommonIDs() 137 fEncoder->undefine(fIDs.xfermode); in ~AutoCommonIDs() 491 paint->setXfermode (fXfermode .find(common.xfermode)); in applyCommon()
|
/external/skia/src/gpu/effects/ |
D | GrPorterDuffXferProcessor.cpp | 326 SkXfermode::Mode xfermode) { in get_blend_formula() argument 327 SkASSERT(xfermode >= 0 && xfermode <= SkXfermode::kLastCoeffMode); in get_blend_formula() 331 return gBlendTable[colorPOI.isOpaque()][conflatesCoverage][xfermode]; in get_blend_formula() 335 SkXfermode::Mode xfermode) { in get_lcd_blend_formula() argument 336 SkASSERT(xfermode >= 0 && xfermode <= SkXfermode::kLastCoeffMode); in get_lcd_blend_formula() 339 return gLCDBlendTable[xfermode]; in get_lcd_blend_formula() 509 SkXfermode::Mode xfermode) in ShaderPDXferProcessor() argument 511 , fXfermode(xfermode) { in ShaderPDXferProcessor() 586 static GrXferProcessor* Create(SkXfermode::Mode xfermode, const GrProcOptInfo& colorPOI); 657 GrXferProcessor* PDLCDXferProcessor::Create(SkXfermode::Mode xfermode, in Create() argument [all …]
|
/external/skia/gm/ |
D | lcdblendmodes.cpp | 82 SkAutoTUnref<SkXfermode> xfermode(SkXfermode::Create(SkXfermode::kSrcOver_Mode)); in onDraw() local 83 surfPaint.setXfermode(xfermode); in onDraw() 129 SkAutoTUnref<SkXfermode> xfermode(SkXfermode::Create(gModes[m].fMode)); in drawColumn() local 136 paint.setXfermode(xfermode); in drawColumn()
|
D | aaxfermodes.cpp | 234 SkAutoTUnref<SkXfermode> xfermode; in drawShape() local 236 xfermode.reset(SkXfermode::Create(mode)); in drawShape() 238 xfermode.reset(SkArithmeticMode::Create(+1.0f, +0.25f, -0.5f, +0.1f)); in drawShape() 240 shapePaint.setXfermode(xfermode); in drawShape()
|
D | lcdoverlap.cpp | 63 SkAutoTUnref<SkXfermode> xfermode(SkXfermode::Create(mode)); in drawTestCase() local 73 textPaint.setXfermode(i % 2 == 0 ? xfermode : xfermode2); in drawTestCase()
|
D | textbloblooper.cpp | 169 LooperSettings xfermode[] = { in onOnceBeforeDraw() local 204 xfermode, SK_ARRAY_COUNT(xfermode))); in onOnceBeforeDraw()
|
/external/skia/tests/ |
D | BlendTest.cpp | 83 SkAutoTUnref<SkXfermode> xfermode(SkXfermode::Create(mode)); in DEF_TEST() local 84 SkASSERT(xfermode); in DEF_TEST() 93 xfermode->xfer32(&dst, &src, 1, nullptr); // To keep it simple, no AA. in DEF_TEST()
|
D | GrPorterDuffTest.cpp | 70 XPInfo(skiatest::Reporter* reporter, SkXfermode::Mode xfermode, const GrCaps& caps, in XPInfo() 72 SkAutoTUnref<GrXPFactory> xpf(GrPorterDuffXPFactory::Create(xfermode)); in XPInfo() 108 SkXfermode::Mode xfermode = static_cast<SkXfermode::Mode>(m); in test_lcd_coverage() local 109 const GrPorterDuffTest::XPInfo xpi(reporter, xfermode, caps, opt); in test_lcd_coverage() 111 switch (xfermode) { in test_lcd_coverage() 300 SkXfermode::Mode xfermode = static_cast<SkXfermode::Mode>(m); in test_color_unknown_with_coverage() local 301 const GrPorterDuffTest::XPInfo xpi(reporter, xfermode, caps, optimizations); in test_color_unknown_with_coverage() 304 switch (xfermode) { in test_color_unknown_with_coverage() 494 SkXfermode::Mode xfermode = static_cast<SkXfermode::Mode>(m); in test_color_unknown_no_coverage() local 495 const GrPorterDuffTest::XPInfo xpi(reporter, xfermode, caps, optimizations); in test_color_unknown_no_coverage() [all …]
|
/external/skia/src/animator/ |
D | SkDrawPaint.cpp | 60 SK_MEMBER(xfermode, Xfermode) 74 underline(-1), xfermode((SkXfermode::Mode) -1), fOwnsColor(false), fOwnsMaskFilter(false), in SkDrawPaint() 265 if (xfermode != -1) in setupPaint() 266 paint->setXfermodeMode((SkXfermode::Mode) xfermode); in setupPaint()
|
D | SkDrawPaint.h | 66 int /*SkXfermode::Modes*/ xfermode; variable
|
/external/skia/experimental/nanomsg/ |
D | picture_demo.cpp | 22 SkXfermode::Mode xfermode; member 29 , xfermode(SkXfermode::kSrcOver_Mode) in PictureHeader() 150 paint.setXfermodeMode(header.xfermode); in server()
|
/external/skia/site/user/api/ |
D | skcanvas.md | 84 course) with whatever color or shader (and xfermode) is specified by 87 to draw a color (with an optional xfermode), you can just call
|
/external/skia/src/gpu/ |
D | SkGr.cpp | 495 SkXfermode* xfermode = skPaint.getXfermode(); in skpaint_to_grpaint_impl() local 496 if (xfermode) { in skpaint_to_grpaint_impl() 499 SkSafeUnref(grPaint->setXPFactory(xfermode->asXPFactory())); in skpaint_to_grpaint_impl()
|
/external/skia/tools/debugger/ |
D | SkDrawCommand.cpp | 1047 SkFlattenable* xfermode = paint.getXfermode(); in apply_paint_xfermode() local 1048 if (xfermode != nullptr) { in apply_paint_xfermode() 1050 flatten(xfermode, &jsonXfermode, urlDataManager); in apply_paint_xfermode() 1180 SkXfermode* xfermode = (SkXfermode*) load_flattenable(jsonXfermode, urlDataManager); in extract_json_paint_xfermode() local 1181 if (xfermode != nullptr) { in extract_json_paint_xfermode() 1182 target->setXfermode(xfermode); in extract_json_paint_xfermode() 1183 xfermode->unref(); in extract_json_paint_xfermode() 2608 const SkPoint texCoords[4], SkXfermode* xfermode, in SkDrawPatchCommand() argument 2624 if (xfermode != nullptr) { in SkDrawPatchCommand() 2625 fXfermode.reset(SkRef(xfermode)); in SkDrawPatchCommand() [all …]
|
/external/skia/tools/json/ |
D | SkJSONRenderer.cpp | 328 SkXfermode* xfermode = (SkXfermode*) load_flattenable(jsonXfermode); in apply_paint_xfermode() local 329 if (xfermode != nullptr) { in apply_paint_xfermode() 330 target->setXfermode(xfermode); in apply_paint_xfermode() 331 xfermode->unref(); in apply_paint_xfermode()
|
D | SkJSONCanvas.cpp | 435 SkFlattenable* xfermode = paint.getXfermode(); in apply_paint_xfermode() local 436 if (xfermode != nullptr) { in apply_paint_xfermode() 438 flatten(xfermode, &jsonXfermode, sendBinaries); in apply_paint_xfermode()
|
/external/skia/samplecode/ |
D | SampleAll.cpp | 386 SkXfermode* xfermode = SkXfermode::Create(SkXfermode::kXor_Mode); in drawPicture() local 408 paint.setXfermode(xfermode)->unref(); in drawPicture()
|
/external/skia/include/core/ |
D | SkPaint.h | 537 SkXfermode* setXfermode(SkXfermode* xfermode);
|
/external/skia/src/utils/ |
D | SkLua.cpp | 1085 SkXfermode* xfermode = paint->getXfermode(); in lpaint_getXfermode() local 1086 if (xfermode) { in lpaint_getXfermode() 1087 push_ref(L, xfermode); in lpaint_getXfermode()
|