Implements the non-Porter-Duff compositing modes required for SVG's feBlend
authorsenorblanco@chromium.org <senorblanco@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81>
Wed, 22 Aug 2012 16:24:44 +0000 (16:24 +0000)
committersenorblanco@chromium.org <senorblanco@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81>
Wed, 22 Aug 2012 16:24:44 +0000 (16:24 +0000)
commitb2ee33c535720d066dd0d51f38686517efa34f2a
tree8f74dc8b9a3a49bf1e4ef2d229e5b454faef8719
parent6a9368d41154890b6c316fdae704bf56ca4c70cc
Implements the non-Porter-Duff compositing modes required for SVG's feBlend
element.  This filter has two inputs, since normal blending can't be used.  The
GPU side uses two filter stages to accomplish this:  one to sample the
background, and one to sample the foreground and blend it.

Review URL:  https://codereview.appspot.com/6463081/

git-svn-id: http://skia.googlecode.com/svn/trunk@5231 2bbb7eff-a529-9590-31e7-b0007b416f81
gm/blend.cpp [new file with mode: 0644]
gyp/effects.gypi
gyp/gmslides.gypi
include/effects/SkBlendImageFilter.h [new file with mode: 0644]
src/effects/SkBlendImageFilter.cpp [new file with mode: 0644]
src/ports/SkGlobalInitialization_default.cpp