DescriptionImplement multi-threaded picture playback via cloning.
The CL adds SkPicture.clone() which produces a thread-safe copy by
creating a shallow copy of the thread-safe data within the picture and
a deep copy of the data that is not (e.g. SkPaint). This implementation
re-flattens the paints when cloning instead of retaining the flattened
paints from the recording process.
Changes were also needed to various classes to ensure thread safety
Committed: https://code.google.com/p/skia/source/detail?r=5335
Patch Set 1 #
Total comments: 1
Patch Set 2 : reuse work when creating more than 1 clone #
Total comments: 12
Patch Set 3 : fixes from the code review #
Total comments: 14
Patch Set 4 : refactor based on comments #
Total comments: 1
Patch Set 5 : class to struct #
Total comments: 2
MessagesTotal messages: 11
|