diff options
author | Deepanshu Gupta <deepanshu@google.com> | 2015-02-26 14:34:57 -0800 |
---|---|---|
committer | Deepanshu Gupta <deepanshu@google.com> | 2015-02-26 15:02:16 -0800 |
commit | 1a10ca7e526736b4fd143f7c9f3b29643c0062a4 (patch) | |
tree | af4ab4d14bc3e1a31d1c6ac1bf27ef0cd2a153a5 /rs/java/android/renderscript/RenderScript.java | |
parent | d68448a601687e6f1fbd44b8f8471ad06686a7fa (diff) |
Correct PorterDuff filters.
1. Remove unused modes - makes the class more manageable, and missing
modes can always be readded from the git history.
2. Reuse the existing BlendComposite instances where possible.
3. Fix incorrect alpha computation for multiply mode.
4. Change the alpha computation for all blend modes to compenstate for
the fact that the color filter image that we create extends beyond the
image it is inteded to be applied to.
Change-Id: Iedebf289a23325ee4c6d406dcad46a9edb1855c7
Diffstat (limited to 'rs/java/android/renderscript/RenderScript.java')
0 files changed, 0 insertions, 0 deletions