Lines Matching refs:foreground
56 SkBlendImageFilter::SkBlendImageFilter(SkBlendImageFilter::Mode mode, SkImageFilter* background, SkImageFilter* foreground)
57 : INHERITED(background, foreground), fMode(mode)
80 SkBitmap background, foreground = src;
87 if (foregroundInput && !foregroundInput->filterImage(proxy, src, ctm, &foreground, offset)) {
90 SkAutoLockPixels alp_foreground(foreground), alp_background(background);
91 if (!foreground.getPixels() || !background.getPixels()) {
108 canvas.drawBitmap(foreground, 0, 0, &paint);
146 GrTexture* foreground,
148 AutoEffectUnref effect(SkNEW_ARGS(GrBlendEffect, (mode, foreground, background)));
165 GrBlendEffect(SkBlendImageFilter::Mode mode, GrTexture* foreground, GrTexture* background);
183 GrTexture* foreground = (GrTexture*) foregroundBM.getTexture();
184 GrContext* context = foreground->getContext();
199 GrBlendEffect::Create(fMode, foreground, background))->unref();
209 GrTexture* foreground,
211 : fForegroundAccess(foreground)