skia2/modules
Kevin Lubick beefcb9d38 Reland saveLayer can omit the rectangle argument.
For API simplicity, if the rectangle is to be omitted, the client
should only provide the paint. (emscripten already does parameter
count checking, so let's use that instead of doing it ourselves).

This also adds tests to help verify the new behavior.

Revert "Revert "Allow null rect for saveLayer""

This reverts commit 7957d53c80.

Bug: skia:10043
Change-Id: I9ed8caabbfc77deab1ca3d9b1a415489e012528f
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/277399
Reviewed-by: Nathaniel Nifong <nifong@google.com>
Reviewed-by: Dan Field <dnfield@google.com>
2020-03-17 17:38:54 +00:00
..
canvaskit Reland saveLayer can omit the rectangle argument. 2020-03-17 17:38:54 +00:00
particles Fix crash when editing particle scripts 2020-02-10 15:08:00 +00:00
pathkit Fix wasm builds 2020-01-28 19:03:49 +00:00
skottie [skottie] Cleanup: split animators into separate CUs 2020-03-17 15:48:17 +00:00
skparagraph Cache resolved typefaces by Unichar + SkFontStyle + locale 2020-03-06 15:58:19 +00:00
skplaintexteditor Remove SkTMin and SkTMax 2020-02-07 18:40:09 +00:00
skresources use std::make_unique 2019-12-12 22:32:45 +00:00
sksg SkShaders::Blend/GPU: treat null inputs as input color 2020-03-09 23:52:59 +00:00
skshaper Remove SkTMin and SkTMax 2020-02-07 18:40:09 +00:00