Add GM to demonstrate skbug.com/14554
Picture optimization looks for single drawing operations inside a
saveLayer with alpha. It tries to push the alpha into the drawing
operation itself. That's only valid if the draw logically touches
each pixel once. A handful of draws do not behave like that. They
instead act like repeated, independent draws. The GM demonstrates
this bug with several operations.
Bug: skia:14554
Change-Id: I7f9683cd6a53d45434d6d03dea7006aa11b0ed72
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/719999
Commit-Queue: Brian Osman <brianosman@google.com>
Reviewed-by: Jim Van Verth <jvanverth@google.com>
1 file changed