commit | 9b553273b94a920f3c3b8d9a8504b035fd33beea | [log] [tgz] |
---|---|---|
author | Brian Salomon <bsalomon@google.com> | Fri Jan 24 14:38:37 2020 -0500 |
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | Fri Jan 24 20:18:29 2020 +0000 |
tree | 9199dec09e523415612b4e9821250c7c10be710d | |
parent | a6272de86dc8f8d831fff64722a387e45aa24faa [diff] |
Detect implementation read formats on ES. This can allow for more efficient glReadPixels (e.g. read back of GL_R8 as GL_RED, GL_UNSIGNED_BYTE rather than GL_RGBA, GL_UNSIGNED_BYTE). skia:8962 Change-Id: Ifa219517f1ce14b79e8af88c799cd5ef35f3a24c Reviewed-on: https://skia-review.googlesource.com/c/skia/+/266567 Reviewed-by: Greg Daniel <egdaniel@google.com> Commit-Queue: Brian Salomon <bsalomon@google.com>