summaryrefslogtreecommitdiff
path: root/libs/gui/DisplayLuts.cpp
diff options
context:
space:
mode:
author Vishnu Nair <vishnun@google.com> 2024-09-16 17:43:59 +0000
committer Vishnu Nair <vishnun@google.com> 2024-09-17 15:57:58 +0000
commit879a41a8eb41297394d9b5ad04c225f23bde7a6c (patch)
tree8e91f2018223d1e99702f2b865a30755a3930890 /libs/gui/DisplayLuts.cpp
parentdec962bc0aeb487e19dddcd6d769a65248bd9a2e (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: Ifcb4ad7649b4ab7966f6378a2e71d3f1a3ea7c3e
Diffstat (limited to 'libs/gui/DisplayLuts.cpp')
0 files changed, 0 insertions, 0 deletions