DescriptionFix two SkRecord-backed layer hoisting bugs
The two bugs are/were:
The old loop to draw the hoisted layers included the saveLayer call which caused double application of the layer's paint (This is the +1 change).
The hoisted layer is intended to be drawn in device coordinates. The old code was drawing it in the coordinate space of the saveLayer thus it was misplaced (This is the setMatrix change).
Committed: https://skia.googlesource.com/skia/+/7c0cfd4ff8f6db50a8731c886db732b106268937
Committed: https://skia.googlesource.com/skia/+/46625e06e23b65c05013fc686a8223d6d5b49050
Patch Set 1 #Patch Set 2 : Fix unit test #
Messages
Total messages: 11 (3 generated)
|