summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/Script.java
diff options
context:
space:
mode:
authorAshok Bhat <ashok.bhat@arm.com>2014-02-24 10:06:55 +0000
committerAshok Bhat <ashok.bhat@arm.com>2014-02-24 15:50:22 +0000
commit84bbeb9e0c9c185a22d4882b79e0bc8a598642ab (patch)
treeaec3070b804b96ae85e20d95fc622ef0018762c1 /rs/java/android/renderscript/Script.java
parentbbfc08b3abc0934f67659f3238eb79dcac838c17 (diff)
Use long for pointers in opengl/EGL classes
Note that files changed in this patch have been automatically generated by running frameworks/native/opengl/tools/glgen/gen script This patch updates EGL classes in frameworks/base to support 64-bit platforms. Key changes in the EGL classes include [x] EGLObjectHandle class - EGLObjectHandle class has two public methods (constructor and getHandle) that assume handles are 32-bit. They have not been changed. Instead, two new hidden methods (EGLObjectHandle(long) and getNativeHandle) have been added. [x] EG14 class - Two public methods eglGetDisplay and eglCreatePbufferFromClientBuffer assume that handles are 32-bit. They have been changed to throw unsupported operation exception on non 32-bit machines. Two new methods eglGetDisplay(long) and eglCreatePbufferFromClientBuffer(...long buffer..) have been added to support 64-bit handles. Change-Id: I9e0f064e5b33700eb0baa2e1841a21f931f7a765 Signed-off-by: Ashok Bhat <ashok.bhat@arm.com>
Diffstat (limited to 'rs/java/android/renderscript/Script.java')
0 files changed, 0 insertions, 0 deletions