commit | 9a1095c1ed4cf6d1f2fbee4be083ff013dc8b51d | [log] [tgz] |
---|---|---|
author | Vathsala Nagaraju <vathsala.nagaraju@imgtec.com> | Tue Dec 04 13:32:25 2018 +0000 |
committer | vathsala nagaraju <vathsala.nagaraju@imgtec.com> | Thu Jan 03 16:51:57 2019 +0000 |
tree | 5d0bdfdcd4a6bebb201a31e1038a5a12cd7c8fc4 | |
parent | 97bfc00d65bbbb5a9ba9e920c48fbea6082bd72c [diff] |
Fix for gles3 glTexImage2D format Gles3 does not have support for GL_SRGB_ALPHA_EXT(0x8C42). When the internal format is GL_SRGB8_ALPHA8(0x8C43) valid format to use is GL_RGBA for gles3 as defined in https://www.khronos.org/registry/OpenGL-Refpages/es3.0/html/glTexImage2D.xhtml After this change,the test passes on gles3 Test: cts-tradefed run cts -m CtsVrTestCases --test android.vr.cts.VrExtensionBehaviorTest#testSrgbBuffer Bug: 122272984 Change-Id: I625dbbfa015aebf2f698ca45c7c76a24404d6118