ui: allow R_8 for CAMERA_READ_WRITE on Chrome OS
Add a new CAMERA_READ_WRITE gfx::BufferUsage, which is used to specify buffer usage capable of CPU read/write and camera read/write. The R_8 format is used by the Chrome OS camera HAL as the underlying format for the generic blob format. Blob format is usually used to store the picture taken by the camera in JPEG format. BUG=832772 Cq-Include-Trybots: luci.chromium.try:android_optional_gpu_tests_rel;luci.chromium.try:linux_optional_gpu_tests_rel;luci.chromium.try:mac_optional_gpu_tests_rel;luci.chromium.try:win_optional_gpu_tests_rel Change-Id: Ibd8d4e193ced3c7d2a6284a8576f02a40ede74b3 Reviewed-on: https://chromium-review.googlesource.com/1018922 Commit-Queue: Ricky Liang <jcliang@chromium.org> Reviewed-by:Antoine Labour <piman@chromium.org> Reviewed-by:
Kenneth Russell <kbr@chromium.org> Reviewed-by:
Daniel Cheng <dcheng@chromium.org> Reviewed-by:
Daniele Castagna <dcastagna@chromium.org> Reviewed-by:
David Reveman <reveman@chromium.org> Cr-Commit-Position: refs/heads/master@{#554378}
Showing
Please register or sign in to comment