DescriptionUse Identity matrix for SkTransparentShader.
The SkTransparentShader is just a placeholder that should not
actually be used, so its CTM is not meaningful. However, it needs
to be invertible in order to not assert in SkShader::Context's
constructor. So use SkMatrix::I().
This fixes a CTS test on Android.
Committed: https://skia.googlesource.com/skia/+/ca76c55d60dfe041e30e210d41fa0feb7fb54a1f
Patch Set 1 #
Messages
Total messages: 5 (0 generated)
|