Chromium Code Reviews
DescriptionHandle shader construction failures gracefully
If we cannot instantiate a shader (due to e.g. a non-invertible local
matrix), the expectation is to not draw anything. We're currently
filling with black.
This unblocks https://skia-review.googlesource.com/c/7885/, which
prevents creation of shaders with non-invertible matrices.
R=reed@google.com
Review-Url: https://codereview.chromium.org/2677633004
Cr-Commit-Position: refs/heads/master@{#448018}
Committed: https://chromium.googlesource.com/chromium/src/+/e1e7aedf7841db60e01c5bd8574559a7bdd7f041
Patch Set 1 #Patch Set 2 : use transparent color #Patch Set 3 : comment #
Messages
Total messages: 20 (13 generated)
|
||||||||||||||||||||||||||||