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

Skip to content
Commit 4ab0fdc9 authored by Jim Shargo's avatar Jim Shargo
Browse files

nativewindow: Misc. improvements for AHardwareBuffer Rust wrapper

Changes include:

  - Rename AHardwareBuffer to HardwareBuffer
  - Expose AHardwareBuffer as a raw pointer type
  - Making HardwareBuffer Send
  - HardwareBuffer now derives Debug, PartialEq and Eq
  - Use NonNull instead of a *mut pointer
  - Adding an into_raw function to match from_raw
  - Adding a Clone impl that acquires a ref

Bug: 296449936, 296100790
Test: atest libnativewindow_rs-internal_test
Change-Id: Iaf916fabe49190f47abd1a9ed34afdb76fd20e40
parent 5dff9909
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