Chromium Code Reviews
DescriptionMake the canvas draw looper internal layer not part of SkCanvas save count
Image filter in a paint would leave save count in wrong state
for normal draws. This could be observed through the canvas
references during the draw call. An example of this is
inspecting the canvas during a draw looper.
Instead of recording deferred saves for each MCRec, record
the current save count when the MCRec was created. Internal
layers, i.e. layers that are created to implement a drawing
mode instead of client calling SkCanvas::saveLayer, do not
increase the save count even though they create MCRecs.
BUG=skia:3388
Patch Set 1 #Patch Set 2 : rebase #Patch Set 3 : another approach #
Messages
Total messages: 17 (6 generated)
|
||||||||||||||||||||||||||||||||||||||||||||||