commit | a4610408884bc87fadf65fae9717b4237f04dd98 | [log] [tgz] |
---|---|---|
author | Yahan Zhou <yahan@google.com> | Wed Sep 18 11:37:10 2019 -0700 |
committer | Yahan Zhou <yahan@google.com> | Wed Sep 18 14:34:03 2019 -0700 |
tree | 2cd4b632f7df1dc98987bbc5cadafc4bb610aaeb | |
parent | de7eaa79a2fb418e856224c2c9b206f783addc5d [diff] |
Don't use hardware backed gralloc buffer for blob if not asked for Camera might ask for a CPU buffer and we don't want to back it by GPU because it might be too big for GL texture. We use a flag AHARDWAREBUFFER_USAGE_GPU_DATA_BUFFER to distinguish those by requested by camera versus by Vulkan (which does need to be backed by GPU). BUG: 141183213 Change-Id: I1be9d586e4f4a0bd362d0212a81df721f826fcc8