commit | 6ae7e5fa891c1e2d6f3f8c5a30e55a8497b62207 | [log] [tgz] |
---|---|---|
author | Roman Kiryanov <rkir@google.com> | Tue Jan 31 22:17:17 2023 -0800 |
committer | Roman Kiryanov <rkir@google.com> | Wed Feb 01 09:05:34 2023 -0800 |
tree | 7798f2daffed76072bc693b7bfb13c6bfe3cca18 | |
parent | 1ccde92e5ecd2cef527dca5fbc36ba3dfbb56cd8 [diff] |
Allocate GPU buffers only when explicitly requested This will not only save GPU resources, but will also prevent syncing CPU anf GPU buffers which sometimes involves format conversion. This should also help with migrating to a third party gralloc since it might not have special assumptions on where to allocate GPU resources. Bug: 251042358 Test: presubmit Change-Id: I12b342a8628047e07d32206c13278e5cf92e8056 Signed-off-by: Roman Kiryanov <rkir@google.com>