commit | 4ac36f80beb958c77a92a3e1a235f6ed9daaa510 | [log] [tgz] |
---|---|---|
author | Chris Craik <ccraik@google.com> | Tue Dec 09 16:54:03 2014 -0800 |
committer | Chris Craik <ccraik@google.com> | Wed Dec 10 12:27:08 2014 -0800 |
tree | b555302a34a4a81cb32699aa3b987536c6ab2982 | |
parent | 596d4e7230ae1858aaafbae7987e46d65181f1bd [diff] |
Fix frame-allocated path lifecycles bug:18667472 Previously, we were allocating per-frame temporary paths within the PlaybackStateStruct, but these are not safe as layers allocate these transiently. Instead, move these to the OpenGLRenderer, which has better define lifecycle. Additionally, don't store SkPath objects directly in vector, since they are then subject to relocation. Change-Id: I8187ef542fcd5b030502bb75eb123ee26c0daa96