Searched refs:modeUsage (Results 1 – 4 of 4) sorted by relevance
/frameworks/base/libs/hwui/renderstate/ |
D | Blend.cpp | 81 void Blend::enable(SkXfermode::Mode mode, ModeOrderSwap modeUsage) { in enable() argument 84 getFactors(mode, modeUsage, &srcMode, &dstMode); in enable() 108 void Blend::getFactors(SkXfermode::Mode mode, ModeOrderSwap modeUsage, GLenum* outSrc, GLenum* outD… in getFactors() argument 109 *outSrc = (modeUsage == ModeOrderSwap::Swap) ? kBlendsSwap[mode].src : kBlends[mode].src; in getFactors() 110 *outDst = (modeUsage == ModeOrderSwap::Swap) ? kBlendsSwap[mode].dst : kBlends[mode].dst; in getFactors()
|
D | Blend.h | 38 void enable(SkXfermode::Mode mode, ModeOrderSwap modeUsage); 42 static void getFactors(SkXfermode::Mode mode, ModeOrderSwap modeUsage,
|
/frameworks/base/libs/hwui/ |
D | GlopBuilder.h | 70 float alpha, SkXfermode::Mode mode, Blend::ModeOrderSwap modeUsage); 103 SkXfermode::Mode mode, Blend::ModeOrderSwap modeUsage,
|
D | GlopBuilder.cpp | 223 SkXfermode::Mode mode, Blend::ModeOrderSwap modeUsage, in setFill() argument 251 Blend::getFactors(mode, modeUsage, in setFill() 261 mDescription.swapSrcDst = (modeUsage == Blend::ModeOrderSwap::Swap); in setFill() 265 Blend::getFactors(SkXfermode::kSrcOver_Mode, modeUsage, in setFill() 432 float alpha, SkXfermode::Mode mode, Blend::ModeOrderSwap modeUsage) { in setFillLayer() argument 440 setFill(SK_ColorWHITE, alpha, mode, modeUsage, nullptr, colorFilter); in setFillLayer()
|