commit | 2d80c0d66f9ca869d6102f07bd236b7c4c94c205 | [log] [tgz] |
---|---|---|
author | Eino-Ville Talvala <etalvala@google.com> | Thu Mar 23 15:39:12 2017 -0700 |
committer | Eino-Ville Talvala <etalvala@google.com> | Thu Mar 30 16:11:26 2017 -0700 |
tree | 46763eb68304189bc7b37618969ab2ce02545b54 | |
parent | 2f44ec6c868b220be1b566e7ccfbb251beec70ec [diff] |
camera: Map between legacy gralloc0 usage, and HIDL gralloc1 usages Otherwise some bits will be set incorrectly. Also move device@1.0 to use ProducerUsageFlags instead of ProducerUsage, and add a compatibility workaround to set the gralloc0 HW_CAMERA_ZSL flags when ConsumerUsage::CAMERA is passed in. Test: Camera CTS passes, updated VTS tests pass Bug: 35215313 Change-Id: I981dc1a650f838f94d932944fe835fd267f2004d