commit | 0c3e5fe728ce4b8606819ee919a4b82f4d9efc85 | [log] [tgz] |
---|---|---|
author | scroggo@google.com <scroggo@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | Wed Aug 01 19:34:20 2012 +0000 |
committer | scroggo@google.com <scroggo@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | Wed Aug 01 19:34:20 2012 +0000 |
tree | 137ba2eb2fa061cfc29e737f1d98de8605675c3f | |
parent | 4605a3f3ff8fa2072f98e6bcb71bc43d4c6196d6 [diff] |
Pipe factory names independently from the flattenables using them. Avoids an issue where a flattenable written twice might be written differently (the first time the flat data may have a name, whereas the second time it will have an index). Also add a test which confirms that identical flattenables will have the same SkFlatData representation. BUG=https://code.google.com/p/skia/issues/detail?id=721 TEST=FlatDataTest.cpp Review URL: https://codereview.appspot.com/6431057 git-svn-id: http://skia.googlecode.com/svn/trunk@4896 2bbb7eff-a529-9590-31e7-b0007b416f81