am 37353dc1: Merge "[RenderScript] Add docs advising users about dstAtop bug."

* commit '37353dc13e11000473f5aa43d5713816f2b6a83f':
  [RenderScript] Add docs advising users about dstAtop bug.
This commit is contained in:
Miao Wang
2015-07-21 00:08:36 +00:00
committed by Android Git Automerger

View File

@@ -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