commit | 452c84ef3d0b658109b11336dbc38dcfbe7de933 | [log] [tgz] |
---|---|---|
author | Jim Shargo <jshargo@google.com> | Mon Aug 07 16:46:45 2023 +0000 |
committer | Jim Shargo <jshargo@google.com> | Wed Aug 09 00:05:46 2023 +0000 |
tree | 873810cc1b9096759f67685d34689614f5e7975c | |
parent | ca1bc7bd1572a590a739c3539c388471d4bcec33 [diff] [blame] |
nativewindow: Add C++/Rust benchmarks Test: atest nativewindow_buffer_benchmarks_rs nativewindow_buffer_benchmarks_cc Change-Id: Ia2898439da46e57cf65e3d64030d98f052a694c6
diff --git a/libs/nativewindow/rust/src/lib.rs b/libs/nativewindow/rust/src/lib.rs index 0ed381e..a2ec57c 100644 --- a/libs/nativewindow/rust/src/lib.rs +++ b/libs/nativewindow/rust/src/lib.rs
@@ -61,6 +61,7 @@ /// program termination. /// /// Available since API level 26. + #[inline] pub fn new( width: u32, height: u32,