Home
last modified time | relevance | path

Searched refs:fXfermode (Results 1 – 14 of 14) sorted by relevance

/external/skia/src/gpu/effects/
DGrPorterDuffXferProcessor.cpp511 , fXfermode(xfermode) { in ShaderPDXferProcessor()
519 SkXfermode::Mode getXfermode() const { return fXfermode; } in getXfermode()
531 return fXfermode == xp.fXfermode; in onIsEqual()
534 const SkXfermode::Mode fXfermode; member in ShaderPDXferProcessor
702 : fXfermode(xfermode) { in GrPorterDuffXPFactory()
703 SkASSERT(fXfermode <= SkXfermode::kLastCoeffMode); in GrPorterDuffXPFactory()
743 return new ShaderPDXferProcessor(dstTexture, hasMixedSamples, fXfermode); in onCreateXferProcessor()
747 if (SkXfermode::kSrcOver_Mode == fXfermode && in onCreateXferProcessor()
754 return PDLCDXferProcessor::Create(fXfermode, optimizations.fColorPOI); in onCreateXferProcessor()
756 blendFormula = get_lcd_blend_formula(optimizations.fCoveragePOI, fXfermode); in onCreateXferProcessor()
[all …]
/external/skia/src/core/
DSkBlitter_ARGB32.cpp328 fXfermode = paint.getXfermode(); in SkARGB32_Shader_Blitter()
329 SkSafeRef(fXfermode); in SkARGB32_Shader_Blitter()
341 if (fXfermode == nullptr) { in SkARGB32_Shader_Blitter()
347 if (fXfermode->asMode(&mode)) { in SkARGB32_Shader_Blitter()
359 SkSafeUnref(fXfermode); in ~SkARGB32_Shader_Blitter()
373 if (fXfermode) { in blitH()
374 fXfermode->xfer32(device, span, width, nullptr); in blitH()
401 SkXfermode* xfer = fXfermode; in blitRect()
437 SkXfermode* xfer = fXfermode; in blitRect()
463 if (fXfermode && !fShadeDirectlyIntoDevice) { in blitAntiH()
[all …]
DSkBlitter_A8.cpp234 if ((fXfermode = paint.getXfermode()) != nullptr) { in SkA8_Shader_Blitter()
235 fXfermode->ref(); in SkA8_Shader_Blitter()
245 if (fXfermode) SkSafeUnref(fXfermode); in ~SkA8_Shader_Blitter()
256 if ((shaderContext->getFlags() & SkShader::kOpaqueAlpha_Flag) && !fXfermode) { in blitH()
262 if (fXfermode) { in blitH()
263 fXfermode->xferA8(device, span, width, nullptr); in blitH()
288 SkXfermode* mode = fXfermode; in blitAntiH()
340 if (fXfermode) { in blitMask()
341 fXfermode->xferA8(device, span, width, alpha); in blitMask()
DSkSpriteBlitter_ARGB32.cpp66 fXfermode = paint.getXfermode(); in Sprite_D32_XferFilter()
67 SkSafeRef(fXfermode); in Sprite_D32_XferFilter()
86 SkSafeUnref(fXfermode); in ~Sprite_D32_XferFilter()
103 SkXfermode* fXfermode; member in Sprite_D32_XferFilter
127 SkXfermode* xfermode = fXfermode; in blitRect()
174 SkXfermode* xfermode = fXfermode; in blitRect()
DSkBlitter_RGB16.cpp147 SkXfermode* fXfermode; member in SkRGB16_Shader_Xfermode_Blitter
812 fXfermode = paint.getXfermode(); in SkRGB16_Shader_Xfermode_Blitter()
813 SkASSERT(fXfermode); in SkRGB16_Shader_Xfermode_Blitter()
814 fXfermode->ref(); in SkRGB16_Shader_Xfermode_Blitter()
822 fXfermode->unref(); in ~SkRGB16_Shader_Xfermode_Blitter()
833 fXfermode->xfer16(device, span, width, nullptr); in blitH()
840 SkXfermode* mode = fXfermode; in blitAntiH()
DSkRemote.cpp458 ID define(SkXfermode* v)O{return this->define(Type::kXfermode, &fXfermode, v);} in define()
477 case Type::kXfermode: return fXfermode .remove(id); in undefine()
491 paint->setXfermode (fXfermode .find(common.xfermode)); in applyCommon()
614 ReffedIDMap<SkXfermode , Type::kXfermode > fXfermode; member in SkRemote::Decoder
650 fXfermode .foreach(undef); in ~CachingEncoder()
676 ID define(SkXfermode* v) override { return this->define(&fXfermode , v); } in define()
746 RefKeyMap<SkXfermode , Type::kXfermode > fXfermode; member in SkRemote::CachingEncoder
DSkCoreBlitters.h103 SkXfermode* fXfermode;
176 SkXfermode* fXfermode;
DSkPaint.cpp51 fXfermode = nullptr; in SkPaint()
84 REF_COPY(fXfermode); in SkPaint()
111 REF_MOVE(fXfermode); in SkPaint()
135 SkSafeUnref(fXfermode); in ~SkPaint()
155 REF_COPY(fXfermode); in operator =()
188 REF_MOVE(fXfermode); in operator =()
215 && EQUAL(fXfermode) in operator ==()
2012 SkRefCnt_SafeAssign(fXfermode, mode); in setXfermode()
2017 SkSafeUnref(fXfermode); in setXfermodeMode()
2018 fXfermode = SkXfermode::Create(mode); in setXfermodeMode()
[all …]
/external/skia/bench/
DXfermodeBench.cpp20 fXfermode.reset(SkXfermode::Create(mode)); in XfermodeBench()
22 SkASSERT(fXfermode.get() || SkXfermode::kSrcOver_Mode == mode); in XfermodeBench()
28 fXfermode.reset(xferMode); in XfermodeBench()
43 paint.setXfermode(fXfermode.get()); in onDraw()
72 SkAutoTUnref<SkXfermode> fXfermode; member in XfermodeBench
/external/skia/include/gpu/effects/
DGrPorterDuffXferProcessor.h69 return fXfermode == xpf.fXfermode; in onIsEqual()
75 SkXfermode::Mode fXfermode; variable
/external/skia/include/core/
DSkPaint.h525 SkXfermode* getXfermode() const { return fXfermode; } in getXfermode()
1036 SkXfermode* fXfermode; variable
/external/skia/src/pdf/
DSkPDFDevice.cpp617 fXfermode(SkXfermode::kSrcOver_Mode), in ScopedContentEntry()
626 fXfermode(SkXfermode::kSrcOver_Mode), in ScopedContentEntry()
637 fDevice->finishContentEntry(fXfermode, fDstFormXObject, shape); in ~ScopedContentEntry()
646 switch (fXfermode) { in needShape()
664 if (fXfermode == SkXfermode::kClear_Mode) { in needSource()
681 SkXfermode::Mode fXfermode; member in ScopedContentEntry
693 paint.getXfermode()->asMode(&fXfermode); in init()
/external/skia/tools/debugger/
DSkDrawCommand.cpp2625 fXfermode.reset(SkRef(xfermode)); in SkDrawPatchCommand()
2633 canvas->drawPatch(fCubics, fColorsPtr, fTexCoordsPtr, fXfermode, fPaint); in execute()
2657 if (fXfermode.get() != nullptr) { in toJSON()
2659 flatten(fXfermode, &jsonXfermode, urlDataManager); in toJSON()
2938 fXfermode = xfermode; in SkDrawVerticesCommand()
2939 if (fXfermode) { in SkDrawVerticesCommand()
2940 fXfermode->ref(); in SkDrawVerticesCommand()
2962 SkSafeUnref(fXfermode); in ~SkDrawVerticesCommand()
2968 fTexs, fColors, fXfermode, fIndices, in execute()
DSkDrawCommand.h542 SkAutoTUnref<SkXfermode> fXfermode; variable
613 SkXfermode* fXfermode; variable