summaryrefslogtreecommitdiffstats
path: root/skia/include/SkPorterDuff.h
diff options
context:
space:
mode:
authordeanm@chromium.org <deanm@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-04-30 12:50:58 +0000
committerdeanm@chromium.org <deanm@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-04-30 12:50:58 +0000
commit9a136cdf89222c11b0dae86e19ff0b14956f929a (patch)
tree44f007a586303dce4a7a7024fd785eee22da61fe /skia/include/SkPorterDuff.h
parente91a73a43d79d437c59a5a44396e919628f3f707 (diff)
downloadchromium_src-9a136cdf89222c11b0dae86e19ff0b14956f929a.zip
chromium_src-9a136cdf89222c11b0dae86e19ff0b14956f929a.tar.gz
chromium_src-9a136cdf89222c11b0dae86e19ff0b14956f929a.tar.bz2
Integrate change of Skia upstream.
This is a cherry-pick of the following change: http://code.google.com/p/skia/source/detail?r=159 We introduce this change for the 'lighter' composite operation. We need kAdd_Mode, which is introduced in this change for the operation. Patch by Shinichiro Hamaji. BUG=1619 Review URL: http://codereview.chromium.org/93093 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@14938 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'skia/include/SkPorterDuff.h')
-rw-r--r--skia/include/SkPorterDuff.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/skia/include/SkPorterDuff.h b/skia/include/SkPorterDuff.h
index f03e9cb..44c5477 100644
--- a/skia/include/SkPorterDuff.h
+++ b/skia/include/SkPorterDuff.h
@@ -48,6 +48,7 @@ public:
kLighten_Mode, //!< [Sa + Da - Sa*Da, Sc*(1 - Da) + Dc*(1 - Sa) + max(Sc, Dc)]
kMultiply_Mode, //!< [Sa * Da, Sc * Dc]
kScreen_Mode, //!< [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc]
+ kAdd_Mode, //!< Saturate(S + D)
kModeCount
};