commit | 36b9256b38e3dd5bebc600074ef474c1ac9e520e | [log] [tgz] |
---|---|---|
author | Saurabh Shah <saurshah@codeaurora.org> | Mon Dec 08 18:55:38 2014 -0800 |
committer | Gerrit - the friendly Code Review server <code-review@localhost> | Mon Dec 08 19:02:25 2014 -0800 |
tree | e419a719779268d09bfebea3abd199b21c7d9621 | |
parent | 5c1cb99f2459e4dbf1a2535afc4eaa342047481c [diff] |
gralloc: In lock use writer info from allocation time lock() can be called from a CpuConsumer with only the READ_OFTEN flag so relying only on that makes gralloc assume there are no non cpu writers. Store the writer information during allocation in private flags of handle and refer to those during lock() Change-Id: Ifbf25ebc74dbf4e422a2fdec52ec000cd75e549b