commit | 9ff53a9d9f0c86a951d2097e6bb6543909b54ddb | [log] [tgz] |
---|---|---|
author | Saurabh Shah <saurshah@codeaurora.org> | Wed Sep 17 16:40:44 2014 -0700 |
committer | Gerrit - the friendly Code Review server <code-review@localhost> | Wed Sep 24 16:02:21 2014 -0700 |
tree | 089bb12f6359217ba070f466f45cc6f70e7e439c | |
parent | b8173300fa20ba97a2c3dea20f01c34e61e816de [diff] |
gralloc: Optimize ION cache clean and invalidate calls -Clients not having WRITE_OFTEN or READ_OFTEN are uncached. -Invalidate cache on lock only if CPU needs to read and there are non-CPU writers in system (camera,gpu etc) -Flush cache on unlock only if CPU writes. Since all buffers will be read in HWC(MDP) there is no need to check if readers exist. Change-Id: Icd114e60b7456bd71592b81016892e806c37cb22