commit | d4fe051c5ba5d32d4a13e069b7c8e0ab0420bfa4 | [log] [tgz] |
---|---|---|
author | John Bauman <jbauman@google.com> | Fri Oct 12 15:30:14 2018 -0700 |
committer | John Bauman <jbauman@google.com> | Fri Oct 12 16:38:15 2018 -0700 |
tree | b3f69718b5d0aa1e7049110244041fde86b25b6a | |
parent | 6ed1cd927f8e4fa87477232502184c39d610a61e [diff] |
Only import allocationSize for a fuchsia buffer This has 2 advantages: 1) The importer can be certain the size of the imported memory is at least what was asked for, so texture reads can't go outside it. 2) We can commit a smaller amount of a larger VMO, which can save time and increase flexibility. MA-498 Test: nuc:go/magma-tps#L2 Change-Id: I51392746f69a201fbb3c6f5f6779e0d8f28e2961