commit | 84bb8e4001337842fb602ddebb9713bbbf4ccbc5 | [log] [tgz] |
---|---|---|
author | Peiyong Lin <lpy@google.com> | Wed Oct 31 10:27:58 2018 -0700 |
committer | Peiyong Lin <lpy@google.com> | Wed Oct 31 10:27:58 2018 -0700 |
tree | d663f291cd7b1914523166fefa23df09f25578a7 | |
parent | 0c6b2afbf1187d648a42675b7fa11db11a274e5f [diff] |
[GLUtils] Return the correct pixel format for GL_SRGB8_ALPHA8. The pixel format for GL_SRGB8_ALPHA8 should be GL_RGBA. Previously we added support for explicitly passing in GL_SRGB8_ALPHA8 as internal format, in this patch we make sure we pick the correct pixel format. BUG: 117886297 Test: Build, flash and boot, test with hacked app Change-Id: Ied6b7a649c9f64ba2afffd6627ebb0d14154d1f6