commit | 43ef0c3d9b8fc909d45479fa92f2f91240309a81 | [log] [tgz] |
---|---|---|
author | Courtney Goeltzenleuchter <courtneygo@google.com> | Wed Apr 03 17:30:40 2019 -0600 |
committer | Courtney Goeltzenleuchter <courtneygo@google.com> | Thu Apr 04 11:02:54 2019 -0600 |
tree | bd016b499af6f97d1ffb8dc6aa5a75542994ae39 | |
parent | dd07ae579c291a2b6ffe09bd576fd908eb9e5ddd [diff] |
EGLAttrib requires special handling in JNI EGLAttrib is defined for a C / C++ interface and is intended to be the size of a pointer. That can change depending on which abi the code is built for but Java doesn't have a way of dealing with such types. Java defines EGLAttrib as a jlong, so need to convert jlong to 32bit when running on a 32bit device. Bug: 124382141 Test: atest --all-abi CtsGraphicsTestCases:EGL15Test Change-Id: I966f6a3716b2710e17d10e0d0cb58314853675e0