commit | 3ff772317b108a78f6eee42ad8fe932553f5d9d8 | [log] [tgz] |
---|---|---|
author | Jiwen 'Steve' Cai <jwcai@google.com> | Fri Mar 31 16:34:45 2017 -0700 |
committer | Jiwen 'Steve' Cai <jwcai@google.com> | Fri Mar 31 17:08:18 2017 -0700 |
tree | d5a63e8f6a50b67f9b0e575ae79c7dd884a2f6c9 | |
parent | 34ca5f2ab8cc891957567915def5bc32a36e6d82 [diff] |
Use gralloc1 usage in AHardwareBuffer_describe GraphicBuffer->getUsage() reports gralloc0 usage bits, convert it to gralloc1 usage first then to AHardwareBuffer bits. Bug: 35114769 Test: AImageReaderCts now passes with CPU_READ_OFTEN case. Change-Id: Id461d9f9e98ccc1db8c4b4da79c61b9aedb417bf