Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add GRALLOC_USAGE_HW_COMPOSER usage flag to preview streams
This CL adds GRALLOC_USAGE_HW_COMPOSER usage flag to preview streams. In Chrome Camera App (CCA), we set the format of preview stream to be HAL_PIXEL_FORMAT_YCBCR_420_888, which is identical to the format used by portrait mode. We need an additional usage for HAL to differentiate the streams. BUG=None TEST=Recompiled and redeployed Chrome and verified the usage flag in HAL adapter. Change-Id: I2b6002e87f2539ca9338af84aa0daa4927575235 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1635123 Auto-Submit: Jasmine Chen <lnishan@google.com> Commit-Queue: Jasmine Chen <lnishan@google.com> Reviewed-by: Daniel Cheng <dcheng@chromium.org> Reviewed-by: Wei Lee <wtlee@chromium.org> Cr-Commit-Position: refs/heads/master@{#667861}
- Loading branch information