Optimize some alpha blending modes.
authordeanm@chromium.org <deanm@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81>
Fri, 3 Jul 2009 12:54:24 +0000 (12:54 +0000)
committerdeanm@chromium.org <deanm@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81>
Fri, 3 Jul 2009 12:54:24 +0000 (12:54 +0000)
commitda94699149a40a90731425766d3b994e34c5ba26
tree833db92481cb7021ca83c86ebef0afec46e1d3e1
parent8433b5db1a0f94cd92d2606817d5374ab899b87a
Optimize some alpha blending modes.

- Inline the component calculation helpers.
- Reorder the computation in plus_modeproc.

This doubles the performance of plus_modeproc.

Review URL: http://codereview.appspot.com/88084

git-svn-id: http://skia.googlecode.com/svn/trunk@250 2bbb7eff-a529-9590-31e7-b0007b416f81
src/core/SkXfermode.cpp