Home
last modified time | relevance | path

Searched refs:xfermode (Results 1 – 25 of 36) sorted by relevance

12

/external/skia/src/pdf/
DSkPDFDevice.cpp1833 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 …]
DSkPDFGraphicState.cpp75 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()
DSkPDFDevice.h273 void finishContentEntry(SkXfermode::Mode xfermode,
/external/skia/src/core/
DSkSpriteBlitter_ARGB32.cpp127 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()
DSkRemote.h88 ID misc, patheffect, shader, xfermode, maskfilter, member
DSkRecordDraw.cpp322 SkXfermode* xfermode = paint->getXfermode(); in PaintMayAffectTransparentBlack() local
327 if (xfermode && xfermode->asMode(&mode)) { in PaintMayAffectTransparentBlack()
DSkRemote.cpp124 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/
DGrPorterDuffXferProcessor.cpp326 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/
Dlcdblendmodes.cpp82 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()
Daaxfermodes.cpp234 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()
Dlcdoverlap.cpp63 SkAutoTUnref<SkXfermode> xfermode(SkXfermode::Create(mode)); in drawTestCase() local
73 textPaint.setXfermode(i % 2 == 0 ? xfermode : xfermode2); in drawTestCase()
Dtextbloblooper.cpp169 LooperSettings xfermode[] = { in onOnceBeforeDraw() local
204 xfermode, SK_ARRAY_COUNT(xfermode))); in onOnceBeforeDraw()
/external/skia/tests/
DBlendTest.cpp83 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()
DGrPorterDuffTest.cpp70 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/
DSkDrawPaint.cpp60 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()
DSkDrawPaint.h66 int /*SkXfermode::Modes*/ xfermode; variable
/external/skia/experimental/nanomsg/
Dpicture_demo.cpp22 SkXfermode::Mode xfermode; member
29 , xfermode(SkXfermode::kSrcOver_Mode) in PictureHeader()
150 paint.setXfermodeMode(header.xfermode); in server()
/external/skia/site/user/api/
Dskcanvas.md84 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/
DSkGr.cpp495 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/
DSkDrawCommand.cpp1047 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/
DSkJSONRenderer.cpp328 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()
DSkJSONCanvas.cpp435 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/
DSampleAll.cpp386 SkXfermode* xfermode = SkXfermode::Create(SkXfermode::kXor_Mode); in drawPicture() local
408 paint.setXfermode(xfermode)->unref(); in drawPicture()
/external/skia/include/core/
DSkPaint.h537 SkXfermode* setXfermode(SkXfermode* xfermode);
/external/skia/src/utils/
DSkLua.cpp1085 SkXfermode* xfermode = paint->getXfermode(); in lpaint_getXfermode() local
1086 if (xfermode) { in lpaint_getXfermode()
1087 push_ref(L, xfermode); in lpaint_getXfermode()

12