DescriptionAllocate SkPictureFlat::fScratch lazily.
Cuts out half to two thirds of allocations of this object.
Since we're already lazily allocating fWriteBuffer, we don't have to add any other code complexity.
BUG=http://skbug.com/1980
R=mtklein@google.com
Committed: http://code.google.com/p/skia/source/detail?r=12992
Patch Set 1 #Patch Set 2 : #
Total comments: 8
Patch Set 3 : #Messages
Total messages: 6 (0 generated)
|