diff options
| author | 2023-09-27 22:51:58 +0000 | |
|---|---|---|
| committer | 2023-10-10 15:38:44 +0000 | |
| commit | 4ab0fdc9e67a7c18e7d87292e3969f215c4a021f (patch) | |
| tree | 2d9315cf50478187579b1034f30472c38b0096c6 /libs/ultrahdr/jpegencoderhelper.cpp | |
| parent | 5dff9909b9ab3b6a13ffbb4123603c0b9b3a5fcd (diff) | |
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
Diffstat (limited to 'libs/ultrahdr/jpegencoderhelper.cpp')
0 files changed, 0 insertions, 0 deletions