Skip to content
Snippets Groups Projects
Commit e49b696a authored by Yin-Chia Yeh's avatar Yin-Chia Yeh
Browse files

graphics: update flexible YUV format gralloc requirement

Require gralloc accept flexible YUV when SW READ/WRITE usage is
set. Also decouple flexible YUV from camera usage flag.

Bug: 22379456
Change-Id: I5a82a8360b08036c31dc03cd639d449ba1e3ed01
parent 81046166
No related branches found
No related tags found
No related merge requests found
...@@ -370,7 +370,7 @@ enum { ...@@ -370,7 +370,7 @@ enum {
* struct android_ycbcr (below) is the the struct used to describe it. * struct android_ycbcr (below) is the the struct used to describe it.
* *
* This format must be accepted by the gralloc module when * This format must be accepted by the gralloc module when
* USAGE_HW_CAMERA_WRITE and USAGE_SW_READ_* are set. * USAGE_SW_WRITE_* or USAGE_SW_READ_* are set.
* *
* This format is locked for use by gralloc's (*lock_ycbcr) method, and * This format is locked for use by gralloc's (*lock_ycbcr) method, and
* locking with the (*lock) method will return an error. * locking with the (*lock) method will return an error.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment