Arithmetic mode now has the option of not validating the output color, which will...
authorcommit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81>
Wed, 2 Apr 2014 19:32:15 +0000 (19:32 +0000)
committercommit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81>
Wed, 2 Apr 2014 19:32:15 +0000 (19:32 +0000)
commit51a11b7f2f7c0021022004d0d4b0924a590990f9
treeeb6bda324b959a393006d23924e4d8aadf9e3147
parentdc5cd8552e787ac9563e664524332037327ba6d4
Arithmetic mode now has the option of not validating the output color, which will allow multiple arithmetic operations to be done sequentially, without intermediate clamping. This is required for mimicking blink's current behavior.

BUG=skia:
R=senorblanco@google.com, senorblanco@chromium.org, reed@google.com, bsalomon@google.com

Author: sugoi@chromium.org

Review URL: https://codereview.chromium.org/204543006

git-svn-id: http://skia.googlecode.com/svn/trunk@14031 2bbb7eff-a529-9590-31e7-b0007b416f81
include/effects/SkArithmeticMode.h
src/effects/SkArithmeticMode.cpp