summaryrefslogtreecommitdiff
path: root/libs/androidfw/StringPool.cpp
diff options
context:
space:
mode:
author Vishnu Nair <vishnun@google.com> 2024-09-16 05:19:46 +0000
committer Vishnu Nair <vishnun@google.com> 2024-09-16 17:10:14 +0000
commit3f6b1035c388e5db0232b9a4a4bf713f5df93058 (patch)
tree4c4d783194cd5c63fdd8261459dcc8fff9545b5a /libs/androidfw/StringPool.cpp
parent41f1a9f8f99272550d3e268d95960e5da23b80b9 (diff)
Add buffer release callback in NDK
Introduce a new API, ASurfaceTransaction_setBufferWithRelease, which provides C/C++ code with the ability to register a callback function that is executed when a buffer is ready to be reused. This functionality mirrors the existing Java Transaction#setBuffer API, allowing for correct buffer management if the buffer is released when its overwritten in a transaction before the transaction is applied. Flag: EXEMPT NDK Test: atest ASurfaceControlTest Bug:362513091 Change-Id: I49fd8d21adb34c193144035cfa2bee5bd6143dab
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions