diff options
author | Ashok Bhat <ashok.bhat@arm.com> | 2014-01-13 20:41:06 +0000 |
---|---|---|
committer | David Butcher <david.butcher@arm.com> | 2014-01-16 12:55:13 +0000 |
commit | 72aa313ff4c91e7b2aae3d37067f9201b2b0fdbe (patch) | |
tree | b0b6461c32db1437344d1f553a248ddbd14718e8 /graphics/java/android/graphics/SurfaceTexture.java | |
parent | 486544f763bd27eb92c95101e23f939c79c9890e (diff) | |
download | frameworks_base-72aa313ff4c91e7b2aae3d37067f9201b2b0fdbe.zip frameworks_base-72aa313ff4c91e7b2aae3d37067f9201b2b0fdbe.tar.gz frameworks_base-72aa313ff4c91e7b2aae3d37067f9201b2b0fdbe.tar.bz2 |
AArch64: Use long for pointers in SurfaceTexture
Long is used in SurfaceTexture class to store
pointers as native pointers can be 64-bit.
In addition, 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: I771aa62c42bc865e644c63fd48f309782dd03e73
Signed-off-by: Ashok Bhat <ashok.bhat@arm.com>
Signed-off-by: Kévin PETIT <kevin.petit@arm.com>
Diffstat (limited to 'graphics/java/android/graphics/SurfaceTexture.java')
-rw-r--r-- | graphics/java/android/graphics/SurfaceTexture.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/graphics/java/android/graphics/SurfaceTexture.java b/graphics/java/android/graphics/SurfaceTexture.java index b910a24..1f8e223 100644 --- a/graphics/java/android/graphics/SurfaceTexture.java +++ b/graphics/java/android/graphics/SurfaceTexture.java @@ -69,9 +69,9 @@ public class SurfaceTexture { /** * These fields are used by native code, do not access or modify. */ - private int mSurfaceTexture; - private int mBufferQueue; - private int mFrameAvailableListener; + private long mSurfaceTexture; + private long mBufferQueue; + private long mFrameAvailableListener; /** * Callback interface for being notified that a new stream frame is available. |