display: Add color space metadata field
Add color space field in gralloc buffer metadata
for buffer producer to propogate color space
information to consumer.
This approach is more flexible in the sense
that gralloc doesn't need to depend on usage
flag to derive color space.
Issue: FP2P-432
Issue: FP2A10-47
Change-Id: I89d5a85f84a6f36dca7c5fc754dc7eb19581169a
[Port to FP2: Use next available value enum for UPDATE_COLOR_SPACE, as
0x0200 is alread in use for UPDATE_REFRESH_RATE.]
(cherry picked from commit 05b65a6744eb0c578958ce48401bfd99be6edb71)
(cherry picked from commit e1543bc641ffaf2154136940e3ee13a131e94b08)
2 files changed