Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 37e1d0ce authored by Miao Wang's avatar Miao Wang
Browse files

[RenderScript] Add docs advising users about dstAtop bug.

Bug: 22047392
Change-Id: I736a697276020687c20dff515aabb1be1776f8c0
(cherry picked from commit ffb1a9be)
parent 79a1bde2
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -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