diff options
author | Miao Wang <miaowang@google.com> | 2015-07-21 00:00:28 +0000 |
---|---|---|
committer | Android Git Automerger <android-git-automerger@android.com> | 2015-07-21 00:00:28 +0000 |
commit | c1f197ca7db5845c31e36648b3974b844bb55067 (patch) | |
tree | b3941c569b9ffa80f48019d66fd6742357be0910 /rs/java/android/renderscript/ScriptIntrinsicBlend.java | |
parent | b946ce96d2f761550e7b30286846771fa3beb74d (diff) | |
parent | 6005f9e5ae8e15e598d7bcb9667f1289e1d8c4fe (diff) |
am 6005f9e5: am 15d68941: Merge "[RenderScript] Add docs advising users about dstAtop bug." into mnc-dev
* commit '6005f9e5ae8e15e598d7bcb9667f1289e1d8c4fe':
[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 |