summaryrefslogtreecommitdiff
path: root/opengl/libagl/array.cpp
diff options
context:
space:
mode:
author Steven Moreland <smoreland@google.com> 2018-09-05 14:42:59 -0700
committer Steven Moreland <smoreland@google.com> 2018-09-13 07:12:53 -0700
commit9496895b1ffe985a34eae73b61dccbbc8a58b20d (patch)
treec38eebb4839685677c5fbc91b6d3bf98d0effbaf /opengl/libagl/array.cpp
parent901c745572ba3dd93fc478093577ecb8b4f96783 (diff)
libbinder_ndk: pointer equality of AIBinder.
This means that there is always a 1-1 correspondance between any object (remote or local) and its AIBinder in a given process. Two cases: 1). For local objects created by the libbinder_ndk: AIBinder_new is called once. Whenever a binder is sent and then later received, ABBinderTag is used to identify and recover the object immediately. 2). For local objects created by libbinder and all remote objects regardless of their origin (this is what this CL fixes): ABpBinderTag is used to tag the object. This tag holds a weak pointer to ABpBinder which is used to recover the object. Bug: 111445392 Test: ./ndk/runtests.sh Change-Id: I0d52ed5e356b26a62cfbc8e822f274c878d1112d
Diffstat (limited to 'opengl/libagl/array.cpp')
0 files changed, 0 insertions, 0 deletions