summaryrefslogtreecommitdiff
path: root/services/surfaceflinger/RegionSamplingThread.cpp
diff options
context:
space:
mode:
author Courtney Goeltzenleuchter <courtneygo@google.com> 2019-04-04 09:29:03 -0600
committer Courtney Goeltzenleuchter <courtneygo@google.com> 2019-04-04 11:03:26 -0600
commit60523213810ac74edada5c448c8056b51ecb8bd0 (patch)
treefc95c630840133294e5730053583a77c216a1b65 /services/surfaceflinger/RegionSamplingThread.cpp
parent7b5d9813aacda610b262d6773f13a21ba8a75b98 (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: I3322651cdc9d9d989b4813bc85f99e4e16fda5a0
Diffstat (limited to 'services/surfaceflinger/RegionSamplingThread.cpp')
0 files changed, 0 insertions, 0 deletions