diff options
author | Alexis Hetu <sugoi@google.com> | 2018-03-15 10:08:42 -0400 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2018-03-15 14:51:06 +0000 |
commit | 0e90f9849a7ba4c745478694f0b2c99736561830 (patch) | |
tree | 0b131118c36c97513e1f152033de185c8e516d8c /src/codec | |
parent | 5d389c2359518d27e4de95f962e62a709aff1080 (diff) |
Check GL_EXT_texture_format_BGRA8888 before GL_APPLE_texture_format_BGRA8888
When both GL_EXT_texture_format_BGRA8888 and GL_APPLE_texture_format_BGRA8888
extensions are present, the presence of GL_APPLE_texture_format_BGRA8888 was
preventing GL_EXT_texture_format_BGRA8888 from allowing BGRA8888 to be used
as a render target. By checking for GL_EXT_texture_format_BGRA8888 first,
this solves the issue.
The issue was encountered trying to run vr_pixeltests on top of SwiftShader
on the bots with a version of SwiftShader exposing both extension strings.
Change-Id: I446ec502a4703d24c24339708dcbbe9c334a7533
Reviewed-on: https://skia-review.googlesource.com/114495
Reviewed-by: Brian Salomon <bsalomon@google.com>
Commit-Queue: Alexis Hetu <sugoi@google.com>
Diffstat (limited to 'src/codec')
0 files changed, 0 insertions, 0 deletions