diff options
| author | 2018-01-24 12:18:49 -0800 | |
|---|---|---|
| committer | 2018-01-24 15:12:14 -0800 | |
| commit | 8d2651e484d5090e8d067672cb82ca285b93f4a9 (patch) | |
| tree | a1b888c0c0fae4d2e70bdb328ca0128eb7a9b294 /opengl/libagl/TextureObjectManager.cpp | |
| 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
Diffstat (limited to 'opengl/libagl/TextureObjectManager.cpp')
0 files changed, 0 insertions, 0 deletions