commit | 5e7fbfd9b0d6737e08ee9d8861c30ebc244396df | [log] [tgz] |
---|---|---|
author | Brian Osman <brianosman@google.com> | Fri May 03 13:13:35 2019 -0400 |
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | Mon May 06 16:29:13 2019 +0000 |
tree | e53b6b810bec5617e6392ad27c2f9d1c569af1f5 | |
parent | 7d2ad0fdef01f3fdfadd11c3082b002688b0cab0 [diff] |
Add ShaderErrorHandler to GrContextOptions Allows clients to customize behavior when shaders fail to compile. Added nicer shader error handling to viewer. Change-Id: If82b48e40d64fd786f37e88c564fd623b53c7f9d Reviewed-on: https://skia-review.googlesource.com/c/skia/+/211361 Reviewed-by: Brian Salomon <bsalomon@google.com> Commit-Queue: Brian Osman <brianosman@google.com>