DescriptionFixing a deferred canvas optimization that purges pending draws when the canvas is cleared
It appears that the recording canvas returns a save count of 1 when the save stack is empty.
In order to pass Canvas unit tests when a clear occurs, changes to SkGPipe were necessary
to allow SkDeferredCanvas to set the device bounds on the SkGPipeCanvas. A positive
side effect of this change is that graphics primitives that fall outside of the device
bounds will now always be culled at the recording stage (as opposed playback).
BUG=http://code.google.com/p/skia/issues/detail?id=782
TEST=deferred_canvas_record bench test
Committed: https://code.google.com/p/skia/source/detail?r=5117
Patch Set 1 #Patch Set 2 : #
Total comments: 3
Patch Set 3 : #Patch Set 4 : #
Total comments: 1
MessagesTotal messages: 8
|