Descriptionhave canvas send discard instead of retain if the draw would overwrite everything
Motivation:
- perf win for clients that overwrite the surface after a snapshot.
- may allow us to eliminate SkDeferredCanvas, as this was its primary advantage.
BUG=skia:
Committed: https://skia.googlesource.com/skia/+/c83a29759a5c2966da5ab973e4fd90763e4c962b
Patch Set 1 #Patch Set 2 : wip #
Total comments: 3
Patch Set 3 : use SkPaintPriv #Patch Set 4 : #
Total comments: 3
Messages
Total messages: 19 (6 generated)
|