Home
last modified time | relevance | path

Searched refs:ModeOrderSwap (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/libs/hwui/renderstate/
DBlend.h33 enum class ModeOrderSwap { enum
39 static void getFactors(SkXfermode::Mode mode, ModeOrderSwap modeUsage,
DBlend.cpp114 void Blend::getFactors(SkXfermode::Mode mode, ModeOrderSwap modeUsage, GLenum* outSrc, GLenum* outD… in getFactors()
115 *outSrc = (modeUsage == ModeOrderSwap::Swap) ? kBlendsSwap[mode].src : kBlends[mode].src; in getFactors()
116 *outDst = (modeUsage == ModeOrderSwap::Swap) ? kBlendsSwap[mode].dst : kBlends[mode].dst; in getFactors()
/frameworks/base/libs/hwui/
DGlopBuilder.cpp235 SkXfermode::Mode mode, Blend::ModeOrderSwap modeUsage, in setFill()
273 mDescription.swapSrcDst = (modeUsage == Blend::ModeOrderSwap::Swap); in setFill()
344 PaintUtils::getXfermode(paint->getXfermode()), Blend::ModeOrderSwap::NoSwap, in setFillTexturePaint()
353 Blend::getFactors(SkXfermode::kSrcOver_Mode, Blend::ModeOrderSwap::NoSwap, in setFillTexturePaint()
383 PaintUtils::getXfermode(paint.getXfermode()), Blend::ModeOrderSwap::NoSwap, in setFillPaint()
399 PaintUtils::getXfermode(paint.getXfermode()), Blend::ModeOrderSwap::NoSwap, in setFillPathTexturePaint()
423 PaintUtils::getXfermode(paint.getXfermode()), Blend::ModeOrderSwap::NoSwap, in setFillShadowTexturePaint()
436 setFill(SK_ColorBLACK, 1.0f, SkXfermode::kSrcOver_Mode, Blend::ModeOrderSwap::NoSwap, in setFillBlack()
446 setFill(SK_ColorBLACK, 1.0f, SkXfermode::kClear_Mode, Blend::ModeOrderSwap::NoSwap, in setFillClear()
452 float alpha, SkXfermode::Mode mode, Blend::ModeOrderSwap modeUsage) { in setFillLayer()
[all …]
DGlopBuilder.h71 float alpha, SkXfermode::Mode mode, Blend::ModeOrderSwap modeUsage);
114 SkXfermode::Mode mode, Blend::ModeOrderSwap modeUsage,
DOpenGLRenderer.cpp805 getLayerAlpha(layer), layer->getMode(), Blend::ModeOrderSwap::Swap) in composeLayerRectSwapped()
825 …e(), layer->getColorFilter(), getLayerAlpha(layer), layer->getMode(), Blend::ModeOrderSwap::NoSwap) in composeLayerRect()
966 …e(), layer->getColorFilter(), getLayerAlpha(layer), layer->getMode(), Blend::ModeOrderSwap::NoSwap) in composeLayerRegion()
2278 …e(), layer->getColorFilter(), getLayerAlpha(layer), layer->getMode(), Blend::ModeOrderSwap::NoSwap)
DBakedOpDispatcher.cpp815 … .setFillLayer(buffer->texture, op.colorFilter, layerAlpha, op.mode, Blend::ModeOrderSwap::NoSwap) in onLayerOp()
860 .setFillLayer(layer.texture, nullptr, 1.0f, mode, Blend::ModeOrderSwap::Swap) in onCopyFromLayerOp()