Lines Matching full:blend
225 Blend::ModeOrderSwap modeUsage, const SkShader* shader,
244 mOutGlop->blend = {GL_ZERO, GL_ZERO};
247 (mOutGlop->fill.texture.texture && mOutGlop->fill.texture.texture->blend) ||
251 Blend::getFactors(mode, modeUsage, &mOutGlop->blend.src, &mOutGlop->blend.dst);
253 // These blend modes are not supported by OpenGL directly and have
256 // If the blend mode cannot be implemented using shaders, fall
257 // back to the default SrcOver blend mode instead
260 mDescription.swapSrcDst = (modeUsage == Blend::ModeOrderSwap::Swap);
264 Blend::getFactors(SkBlendMode::kSrcOver, modeUsage, &mOutGlop->blend.src,
265 &mOutGlop->blend.dst);
277 ProgramDescription::ColorFilterMode::Blend;
325 setFill(color, alphaScale, paint->getBlendMode(), Blend::ModeOrderSwap::NoSwap, shader,
331 texture.blend || mOutGlop->roundRectClipState) {
332 Blend::getFactors(SkBlendMode::kSrcOver, Blend::ModeOrderSwap::NoSwap,
333 &mOutGlop->blend.src, &mOutGlop->blend.dst);
335 mOutGlop->blend = {GL_ZERO, GL_ZERO};
359 setFill(paint.getColor(), alphaScale, paint.getBlendMode(), Blend::ModeOrderSwap::NoSwap,
374 setFill(paint.getColor(), alphaScale, paint.getBlendMode(), Blend::ModeOrderSwap::NoSwap,
397 setFill(shadowColor, alphaScale, paint.getBlendMode(), Blend::ModeOrderSwap::NoSwap,
410 setFill(SK_ColorBLACK, 1.0f, SkBlendMode::kSrcOver, Blend::ModeOrderSwap::NoSwap, nullptr,
420 setFill(SK_ColorBLACK, 1.0f, SkBlendMode::kClear, Blend::ModeOrderSwap::NoSwap, nullptr,
427 Blend::ModeOrderSwap modeUsage) {
446 setFill(SK_ColorWHITE, alpha, layer.getMode(), Blend::ModeOrderSwap::NoSwap, nullptr,
462 setFill(SK_ColorWHITE, 1.0f, SkBlendMode::kSrc, Blend::ModeOrderSwap::NoSwap, nullptr, nullptr);
607 mDescription.hasTranslucentConversion = texture->blend;
687 ALOGD("Glop blend %d %d", glop.blend.src, glop.blend.dst);