DescriptionUpdate GrRecordReplaceDraw to use SkTDynamicHash & add ReplaceDraw
Having hoisted layers from different pictures invalidates the assumptions of the old GrReplacements object. This is fixed by switching to a SkTDynamicHash-based back-end.
Sub-picture-layers also require that the replacement drawing occur for the sub-pictures too. The ReplaceDraw object is added to make this happen and limit the replacement lookup to saveLayer draw commands.
This is split out of (Fix sub-picture layer rendering bugs - https://codereview.chromium.org/597293002/).
BUG=skia:2315
Committed: https://skia.googlesource.com/skia/+/68cd2aa797f707a9847f8eba0758787cafd43e43
Patch Set 1 #Patch Set 2 : Updated #
Total comments: 4
Patch Set 3 : Update to ToT #Patch Set 4 : Address code review comments #Patch Set 5 : Re-add missing header #
Messages
Total messages: 19 (7 generated)
|