diff options
author | Pirama Arumuga Nainar <pirama@google.com> | 2016-03-01 20:37:19 -0800 |
---|---|---|
committer | Pirama Arumuga Nainar <pirama@google.com> | 2016-03-02 18:16:45 -0800 |
commit | 85e8c51dbf8dc774ecfd09981ac6a8bf1b75f464 (patch) | |
tree | 786d2dc2aa9fcb86f3d75d48a42df3e4f0088a3f /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | f51bb356deeb8a22414fb44cede4b8618c4b57ba (diff) |
[RenderScript] Enable untyped variants of Allocation-copy functions for FLOAT_16
http://b/27251511
Handle FLOAT_16 case to PER_ARRAY_TYPE macro to enable untyped variants
of Allocation-copy functions.
Untyped variants of Allocation-copy functions call
validateObjectIsPrimitiveArray(), with checkType parameter set to true,
to validate and obtain the Element type of the Allocation. When
checkType is true, validateObjectIsPrimitiveArray() returns the actual
Element type of the Allocation (instead of the canonical SIGNED type).
Because of this, FLOAT_16 element type can reach the JNI layer,
necessitating this change to PER_ARRAY_TYPE macro.
Change-Id: I3651e5ae0ab0cd6bb4ad3157841e2910ac8699dc
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions