commit | fc06f981e230fb6486386af2ddec23671bfca94a | [log] [tgz] |
---|---|---|
author | Brian Salomon <bsalomon@google.com> | Tue Nov 27 13:04:21 2018 -0500 |
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | Tue Nov 27 18:36:11 2018 +0000 |
tree | d7348ba23babef0aab61e8085ee045a8eaea3eef | |
parent | df246b9c1bbd125afa8350595101b7399f7515a3 [diff] |
Clamp GL_TEXTURE_MAX_LEVEL to 1 on Android. This seems to avoid a bug when sampling from GL_TEXTURE_EXTERNAL_OES textures. Remove code to avoid sampler objects on when using GLSL ES2 on GL ES3. This was a speculative workaround that did not help. Bug: https://github.com/flutter/flutter/issues/23900 Bug: https://github.com/flutter/flutter/issues/24402 Bug: https://github.com/flutter/flutter/issues/24391 Change-Id: Id14080131e49e632949a3bdc2b15f6e3ce97bf93 Reviewed-on: https://skia-review.googlesource.com/c/172978 Commit-Queue: Brian Salomon <bsalomon@google.com> Commit-Queue: Brian Osman <brianosman@google.com> Auto-Submit: Brian Salomon <bsalomon@google.com> Reviewed-by: Brian Osman <brianosman@google.com>