Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 8237ba66 authored by Ren-Pei Zeng's avatar Ren-Pei Zeng
Browse files

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
parent 8a482fd1
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment