diff options
author | Miao Wang <miaowang@google.com> | 2015-07-21 00:21:31 +0000 |
---|---|---|
committer | Android Git Automerger <android-git-automerger@android.com> | 2015-07-21 00:21:31 +0000 |
commit | f68c6eed147686268c846289971ee06d67d97ea0 (patch) | |
tree | 72d0c994eb3308699a9fe00a435b43ac047fedc9 /rs/java/android/renderscript/ScriptIntrinsicBlend.java | |
parent | 631cf9cdb5548b4966740f74f817775dc9f2abd1 (diff) | |
parent | c1f197ca7db5845c31e36648b3974b844bb55067 (diff) |
am c1f197ca: am 6005f9e5: am 15d68941: Merge "[RenderScript] Add docs advising users about dstAtop bug." into mnc-dev
* commit 'c1f197ca7db5845c31e36648b3974b844bb55067':
[RenderScript] Add docs advising users about dstAtop bug.
Diffstat (limited to 'rs/java/android/renderscript/ScriptIntrinsicBlend.java')
-rw-r--r-- | rs/java/android/renderscript/ScriptIntrinsicBlend.java | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/rs/java/android/renderscript/ScriptIntrinsicBlend.java b/rs/java/android/renderscript/ScriptIntrinsicBlend.java index 906e0f640a4f..6b09bb7a7741 100644 --- a/rs/java/android/renderscript/ScriptIntrinsicBlend.java +++ b/rs/java/android/renderscript/ScriptIntrinsicBlend.java @@ -360,6 +360,8 @@ public class ScriptIntrinsicBlend extends ScriptIntrinsic { /** * dst = dst.rgb * src.a + (1.0 - dst.a) * src.rgb * dst.a = src.a + * Note: Before API 23, the alpha channel was not correctly set. + * Please use with caution when targeting older APIs. * * @param ain The source buffer * @param aout The destination buffer @@ -371,6 +373,8 @@ public class ScriptIntrinsicBlend extends ScriptIntrinsic { /** * dst = dst.rgb * src.a + (1.0 - dst.a) * src.rgb * dst.a = src.a + * Note: Before API 23, the alpha channel was not correctly set. + * Please use with caution when targeting older APIs. * * @param ain The source buffer * @param aout The destination buffer |