commit | 8d2651e484d5090e8d067672cb82ca285b93f4a9 | [log] [tgz] |
---|---|---|
author | Chia-I Wu <olv@google.com> | Wed Jan 24 12:18:49 2018 -0800 |
committer | Chia-I Wu <olv@google.com> | Wed Jan 24 15:12:14 2018 -0800 |
tree | a1b888c0c0fae4d2e70bdb328ca0128eb7a9b294 | |
parent | ffa0ad89141c718d6604ea15b66bc87f7fd496b5 [diff] |
surfaceflinger: support BT2020_ITU_PQ Games use BT2020_PQ while videos use BT2020_ITU_PQ usually. We can support both and treat them as the same, since the YUV->RGB conversion happens before the pixel data are uploaded to texture, or happens inside the GLES driver. The only caveat is that we treat RGBA1010102/BT2020_ITU_PQ from media specially. The hack is also updated in this change. Test: manual Change-Id: I1e4b8e0d907af5e5a95cf7fde1a7ea67a4e7da0b