DescriptionMake singleton SkColorSpaces thread safe
SkColorSpaces may be once-ptrs, so we can reuse common color spaces.
This means that they must be thread safe. SkMatrix44 is not
thread safe because it maintains a mutable type mask.
This CL ensures that we precompute the type mask so we
can use const SkMatrix44's safely.
BUG=skia:
GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2277463002
Committed: https://skia.googlesource.com/skia/+/ae6377c08e5c3735c65212ba9ff86fa51af7d68a
Patch Set 1 #Patch Set 2 : Precompute SkMatrix44 type mask #Patch Set 3 : Use getType() to force compute of type mask #
Depends on Patchset: Messages
Total messages: 22 (14 generated)
|