commit | 8c5ba3f1721daceb712f0d7acde4db1f4c4b1554 | [log] [tgz] |
---|---|---|
author | Alec Mouri <alecmouri@google.com> | Mon Apr 08 18:01:26 2024 +0000 |
committer | Alec Mouri <alecmouri@google.com> | Mon Apr 08 22:28:24 2024 +0000 |
tree | c3ba9ace0b12a24a8d4f94e0bb71ee1b8727a293 | |
parent | b2818816bb0ca9dbc83bbc6dafa0194637901fd6 [diff] |
Only pick fp16 egl config when using color mode hdr. Devices that support fp16 should only choose an fp16 egl config when color mode HDR is requested. Otherwise this causes the underlying EGLSurface to be configured with fp16 buffers, which breaks some odd API paths that apps use, like HardwareRenderer -> ImageReader. Bug: 332834976 Test: Youtube music on watch devices. Change-Id: I5db837342eeeb69ed08d1f86d98c4945497fffde