commit | 62b22cb0915e5cf79e8181bf812a133ca6b9d2b3 | [log] [tgz] |
---|---|---|
author | Peiyong Lin <lpy@google.com> | Wed Jan 17 13:18:27 2018 -0800 |
committer | Peiyong Lin <lpy@google.com> | Wed Jan 17 13:18:27 2018 -0800 |
tree | cda5f325d4e40ba3fc9058386bd09ca05203cd96 | |
parent | 3fb6ea960f2cfd859c0c8207e5e5a470cb512a28 [diff] |
[GLUtils] Use GL_* types for FP16 bitmap. This patch makes sure getInternalFormat() returns GL_RGBA16F for FP16 bitmap, getType() should return GL_HALF_FLOAT per spec https://www.khronos.org/registry/OpenGL/extensions/OES/OES_vertex_half_float.txt, finally, make sure checkFormat should enforce the correct format and type. BUG: 72065799 Test: none Change-Id: I63e79e11b1668b455e64ce20c6db806a1179fb6c