diff options
author | Miao Wang <miaowang@google.com> | 2016-03-30 01:02:28 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2016-03-30 01:02:28 +0000 |
commit | 1a11efba2bf3bc12fab53df1185dad4756d6b313 (patch) | |
tree | 364a979e404bc6dbe8cf01db99ea36db3a538e79 /rs/java/android/renderscript/Allocation.java | |
parent | 4af5c34a78ab65c22fa931bd9167f18b9211fd99 (diff) | |
parent | ebfcdb935e86efcd7cda7b94785519647e135292 (diff) |
Merge changes Iaa88ac02,Ic6f8d1da,Idd07db5d
* changes:
[RenderScript] Update documentation for Allocation.setAutoPadding().
[RenderScript] Fix IntrinsicConvolve documentation.
[RenderScript] Update the documentation of Script.LaunchOptions
Diffstat (limited to 'rs/java/android/renderscript/Allocation.java')
-rw-r--r-- | rs/java/android/renderscript/Allocation.java | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/rs/java/android/renderscript/Allocation.java b/rs/java/android/renderscript/Allocation.java index 57c45a763e41..b9c5738a0936 100644 --- a/rs/java/android/renderscript/Allocation.java +++ b/rs/java/android/renderscript/Allocation.java @@ -296,8 +296,13 @@ public class Allocation extends BaseObj { } /** - * Enable/Disable AutoPadding for Vec3 elements. - * By default: Diabled. + * Enable/Disable AutoPadding for Vec3 Elements. + * + * <p> Vec3 Elements, such as {@link Element#U8_3} are treated as Vec4 Elements + * with the fourth vector element used as padding. Enabling the AutoPadding feature + * will automatically add/remove the padding when you copy to/from an Allocation + * with a Vec3 Element. + * <p> By default: Disabled. * * @param useAutoPadding True: enable AutoPadding; False: disable AutoPadding * |