DescriptionRefactor SkRecord opts, converting playback optimizations where possible.
This adds back two optimizations from SkPicture: drawPosText strength reduction to drawPosTextH, and pointless save-foo-restore blocks are noop'd away.
The small-T optimization in SkRecord gets in the way of implementing replace(), so I removed it.
Just to keep the API focused, I removed the methods on SkRecord that iterate over i for you; it's just as efficient to do it yourself, and all of the interesting code does its own custom iteration.
BUG=skia:2378
Committed: http://code.google.com/p/skia/source/detail?r=14300
Patch Set 1 #Patch Set 2 : notes #
Total comments: 2
Patch Set 3 : apply #
Messages
Total messages: 5 (0 generated)
|