commit | 8237ba6696590098fadfb08295eaa327c0d7c55b | [log] [tgz] |
---|---|---|
author | Ren-Pei Zeng <kamesan@google.com> | Tue Oct 22 15:20:18 2024 +0000 |
committer | Ren-Pei Zeng <kamesan@google.com> | Tue Oct 22 15:27:08 2024 +0000 |
tree | 89575b9c8802cb3a53762638ba68d82b98985bec | |
parent | 8a482fd1ad8e53e45fd741801813a6eaad640f3d [diff] |
Add HardwareBuffer::as_raw for C FFI boundary Add method to get raw AHardwareBuffer pointer from Rust HardwareBuffer. Ownership to the buffer is not transferred to the pointer so the client can still keep the HardwareBuffer instance. Bug: 362894809 Test: m libnativewindow_rs Change-Id: Ic960301a0c2c5b6cf08f55078464da845765d10c