diff options
author | Ashok Bhat <ashok.bhat@arm.com> | 2014-01-17 16:02:38 +0000 |
---|---|---|
committer | Narayan Kamath <narayan@google.com> | 2014-01-31 14:14:29 +0000 |
commit | 896043d67d3ac75760bd99db8a1561e31ebee1e1 (patch) | |
tree | 8f2ca459558ed89495990bf51d967b4f05363b3e /rs/java/android/renderscript/ProgramVertex.java | |
parent | 1cadc07dd1e3711fb1e57548038e3026682c5ef8 (diff) |
AArch64: Make AssetManager and related classes 64-bit compatible
Following changes have been done:
[x] Long is used to store native pointers as pointers can be
64-bit.
[x] AssetManager openAsset native function returned -1 if
file name was empty and java function considered any
non-zero value as success. This has been fixed by native
function throwing Illegal Argument Exception as well.
[x] AssetManager incRefsLocked and decRefsLocked now accept
long as input to support 64-bit native references.
[x] AssetManager incRefsLocked method incorrecly used
'this.hashCode()' instead of the passed parameter id.
This has been fixed.
[x] Some minor changes have been done to conform with
standard JNI practice (e.g. use of jint instead of int
in JNI function prototypes)
Change-Id: I095b9f900d49e51f43ad6afc47cbc23116a6a64a
Signed-off-by: Ashok Bhat <ashok.bhat@arm.com>
Signed-off-by: Craig Barber <craig.barber@arm.com>
Signed-off-by: Kévin PETIT <kevin.petit@arm.com>
Diffstat (limited to 'rs/java/android/renderscript/ProgramVertex.java')
0 files changed, 0 insertions, 0 deletions