commit | e4680d7599baa9589daf8a95f6536822dd68d57b | [log] [tgz] |
---|---|---|
author | Jim Shargo <jshargo@google.com> | Mon Aug 07 16:46:45 2023 +0000 |
committer | Jim Shargo <jshargo@google.com> | Tue Oct 10 19:00:39 2023 +0000 |
tree | c5726a99fcb2d4e3723af87ebfb2e15b6c7fc625 | |
parent | 03350bc91d82d77d9d2fa10daa53c904dc5796aa [diff] [blame] |
nativewindow: Add C++/Rust benchmarks Test: atest nativewindow_buffer_benchmarks_rs nativewindow_buffer_benchmarks_cc Merged-In: Ia2898439da46e57cf65e3d64030d98f052a694c6 Change-Id: Ib5aaa97f7130f1964824a2f6c8ca85d72d61ce4f
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,