commit | 3e037cf683ce58d1a1b3af73e2791359ff0d46dc | [log] [tgz] |
---|---|---|
author | Alec Mouri <alecmouri@google.com> | Mon Jan 24 08:58:28 2022 -0800 |
committer | Alec Mouri <alecmouri@google.com> | Mon Jan 24 10:58:41 2022 -0800 |
tree | 694876c8d26d0e43cf18fcfb80ca83a48e098302 | |
parent | 704402e4774b2362c5808acf95c1e334d187dea6 [diff] |
Remove stride from VTS classes Stride must be retrieved from the graphic buffer immediately prior to CPU access. The previous code was tripped up by an error-prone situation where stride was never initialized, causing UB. Also this patch sneaks in a couple of const modifiers for methods that pass-by-ref. Bug: 213493262 Test: VtsHalGraphicsComposer3_TargetTest Change-Id: Ic601cca128b71d36876ed25bd55140b02cb0ad0f