/external/skia/src/core/ |
H A D | SkSpriteBlitter_ARGB32.cpp | 127 SkXfermode* xfermode = fXfermode; variable 137 if (xfermode) { 138 xfermode->xfer32(dst, tmp, width, nullptr); 174 SkXfermode* xfermode = fXfermode; variable 182 if (xfermode) { 183 xfermode->xfer32(dst, buffer, width, nullptr); 266 SkXfermode* xfermode = paint.getXfermode(); local 275 if (xfermode || filter) { 284 if (xfermode || filter) { 286 // this can handle xfermode o [all...] |
H A D | SkRemote.h | 88 ID misc, patheffect, shader, xfermode, maskfilter, member in struct:SkRemote::Encoder::CommonIDs
|
H A D | SkRecordDraw.cpp | 322 SkXfermode* xfermode = paint->getXfermode(); local 324 // SrcOver is ok, and is also the common case with a nullptr xfermode. 327 if (xfermode && xfermode->asMode(&mode)) {
|
H A D | SkRemote.cpp | 124 fIDs.xfermode = fEncoder->define(paint.getXfermode()); 137 fEncoder->undefine(fIDs.xfermode); 491 paint->setXfermode (fXfermode .find(common.xfermode));
|
/external/skia/tests/ |
H A D | BlendTest.cpp | 77 // No matter what xfermode we use, premul inputs should create premul outputs. 81 return; // TODO: can't create a SrcOver xfermode. 83 SkAutoTUnref<SkXfermode> xfermode(SkXfermode::Create(mode)); 84 SkASSERT(xfermode); 93 xfermode->xfer32(&dst, &src, 1, nullptr); // To keep it simple, no AA.
|
H A D | GrPorterDuffTest.cpp | 70 XPInfo(skiatest::Reporter* reporter, SkXfermode::Mode xfermode, const GrCaps& caps, argument 72 SkAutoTUnref<GrXPFactory> xpf(GrPorterDuffXPFactory::Create(xfermode)); 108 SkXfermode::Mode xfermode = static_cast<SkXfermode::Mode>(m); local 109 const GrPorterDuffTest::XPInfo xpi(reporter, xfermode, caps, opt); 111 switch (xfermode) { 282 ERRORF(reporter, "Invalid xfermode."); 300 SkXfermode::Mode xfermode = static_cast<SkXfermode::Mode>(m); local 301 const GrPorterDuffTest::XPInfo xpi(reporter, xfermode, caps, optimizations); 304 switch (xfermode) { 475 ERRORF(reporter, "Invalid xfermode 494 SkXfermode::Mode xfermode = static_cast<SkXfermode::Mode>(m); local 698 SkXfermode::Mode xfermode = static_cast<SkXfermode::Mode>(m); local 897 SkXfermode::Mode xfermode = static_cast<SkXfermode::Mode>(m); local 1200 SkXfermode::Mode xfermode = static_cast<SkXfermode::Mode>(m); local [all...] |
/external/skia/gm/ |
H A D | lcdblendmodes.cpp | 82 SkAutoTUnref<SkXfermode> xfermode(SkXfermode::Create(SkXfermode::kSrcOver_Mode)); 83 surfPaint.setXfermode(xfermode); 129 SkAutoTUnref<SkXfermode> xfermode(SkXfermode::Create(gModes[m].fMode)); 136 paint.setXfermode(xfermode);
|
H A D | lcdoverlap.cpp | 63 SkAutoTUnref<SkXfermode> xfermode(SkXfermode::Create(mode)); 73 textPaint.setXfermode(i % 2 == 0 ? xfermode : xfermode2);
|
H A D | aaxfermodes.cpp | 234 SkAutoTUnref<SkXfermode> xfermode; local 236 xfermode.reset(SkXfermode::Create(mode)); 238 xfermode.reset(SkArithmeticMode::Create(+1.0f, +0.25f, -0.5f, +0.1f)); 240 shapePaint.setXfermode(xfermode);
|
H A D | textbloblooper.cpp | 169 LooperSettings xfermode[] = { variable 204 xfermode, SK_ARRAY_COUNT(xfermode)));
|
/external/skia/src/pdf/ |
H A D | SkPDFDevice.cpp | 1833 SkXfermode::Mode xfermode = SkXfermode::kSrcOver_Mode; local 1835 paint.getXfermode()->asMode(&xfermode); 1840 if (xfermode == SkXfermode::kClear_Mode || 1841 xfermode == SkXfermode::kSrc_Mode || 1842 xfermode == SkXfermode::kSrcIn_Mode || 1843 xfermode == SkXfermode::kDstIn_Mode || 1844 xfermode == SkXfermode::kSrcOut_Mode || 1845 xfermode == SkXfermode::kDstOut_Mode || 1846 xfermode == SkXfermode::kSrcATop_Mode || 1847 xfermode 1900 finishContentEntry(SkXfermode::Mode xfermode, SkPDFFormXObject* dst, SkPath* shape) argument [all...] |
H A D | SkPDFGraphicState.cpp | 75 static SkXfermode::Mode mode_for_pdf(const SkXfermode* xfermode) { argument 77 if (xfermode) { 78 xfermode->asMode(&mode);
|
H A D | SkPDFDevice.h | 273 void finishContentEntry(SkXfermode::Mode xfermode,
|
/external/skia/src/gpu/effects/ |
H A D | GrPorterDuffXferProcessor.cpp | 226 * This table outlines the blend formulas we will use with each xfermode, with and without coverage, 326 SkXfermode::Mode xfermode) { 327 SkASSERT(xfermode >= 0 && xfermode <= SkXfermode::kLastCoeffMode); 331 return gBlendTable[colorPOI.isOpaque()][conflatesCoverage][xfermode]; 335 SkXfermode::Mode xfermode) { 336 SkASSERT(xfermode >= 0 && xfermode <= SkXfermode::kLastCoeffMode); 339 return gLCDBlendTable[xfermode]; 509 SkXfermode::Mode xfermode) [all...] |
/external/skia/src/animator/ |
H A D | SkDrawPaint.cpp | 60 SK_MEMBER(xfermode, Xfermode) 74 underline(-1), xfermode((SkXfermode::Mode) -1), fOwnsColor(false), fOwnsMaskFilter(false), 265 if (xfermode != -1) 266 paint->setXfermodeMode((SkXfermode::Mode) xfermode);
|
H A D | SkDrawPaint.h | 66 int /*SkXfermode::Modes*/ xfermode; member in class:SkDrawPaint
|
/external/skia/experimental/nanomsg/ |
H A D | picture_demo.cpp | 22 SkXfermode::Mode xfermode; member in struct:PictureHeader 29 , xfermode(SkXfermode::kSrcOver_Mode) 150 paint.setXfermodeMode(header.xfermode);
|
/external/skia/src/gpu/ |
H A D | SkGr.cpp | 492 // When the xfermode is null on the SkPaint (meaning kSrcOver) we need the XPFactory field on 495 SkXfermode* xfermode = skPaint.getXfermode(); local 496 if (xfermode) { 497 // SafeUnref in case a new xfermode is added that returns null. 499 SkSafeUnref(grPaint->setXPFactory(xfermode->asXPFactory()));
|
/external/skia/tools/debugger/ |
H A D | SkDrawCommand.cpp | 76 #define SKDEBUGCANVAS_ATTRIBUTE_XFERMODE "xfermode" 1047 SkFlattenable* xfermode = paint.getXfermode(); local 1048 if (xfermode != nullptr) { 1050 flatten(xfermode, &jsonXfermode, urlDataManager); 1180 SkXfermode* xfermode = (SkXfermode*) load_flattenable(jsonXfermode, urlDataManager); local 1181 if (xfermode != nullptr) { 1182 target->setXfermode(xfermode); 1183 xfermode->unref(); 2608 const SkPoint texCoords[4], SkXfermode* xfermode, 2624 if (xfermode ! 2607 SkDrawPatchCommand(const SkPoint cubics[12], const SkColor colors[4], const SkPoint texCoords[4], SkXfermode* xfermode, const SkPaint& paint) argument 2696 SkAutoTUnref<SkXfermode> xfermode; local 2911 SkDrawVerticesCommand(SkCanvas::VertexMode vmode, int vertexCount, const SkPoint vertices[], const SkPoint texs[], const SkColor colors[], SkXfermode* xfermode, const uint16_t indices[], int indexCount, const SkPaint& paint) argument [all...] |
H A D | SkDrawCommand.h | 601 const SkColor colors[], SkXfermode* xfermode,
|
/external/skia/tools/json/ |
H A D | SkJSONRenderer.cpp | 328 SkXfermode* xfermode = (SkXfermode*) load_flattenable(jsonXfermode); local 329 if (xfermode != nullptr) { 330 target->setXfermode(xfermode); 331 xfermode->unref();
|
H A D | SkJSONCanvas.cpp | 435 SkFlattenable* xfermode = paint.getXfermode(); local 436 if (xfermode != nullptr) { 438 flatten(xfermode, &jsonXfermode, sendBinaries);
|
/external/skia/include/core/ |
H A D | SkPaint.h | 520 /** Get the paint's xfermode object. 522 The xfermode's reference count is not affected. 523 @return the paint's xfermode (or NULL) 527 /** Set or clear the xfermode object. 529 Pass NULL to clear any previous xfermode. 531 If a previous xfermode exists, its reference count is decremented. 532 If xfermode is not NULL, its reference count is incremented. 533 @param xfermode May be NULL. The new xfermode to be installed in the 535 @return xfermode [all...] |
/external/skia/samplecode/ |
H A D | SampleAll.cpp | 386 SkXfermode* xfermode = SkXfermode::Create(SkXfermode::kXor_Mode); local 404 // line (exercises xfermode, colorShader, colorFilter, filterShader) 408 paint.setXfermode(xfermode)->unref();
|
/external/skia/src/utils/ |
H A D | SkLua.cpp | 1079 setfield_bool_if(L, "xfermode", !!paint->getXfermode()); 1085 SkXfermode* xfermode = paint->getXfermode(); local 1086 if (xfermode) { 1087 push_ref(L, xfermode);
|