skia2/modules/canvaskit/tests
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
..
assets [canvaskit] Fix support for fonts with CFF 2020-01-29 12:39:55 +00:00
canvas2d.spec.js [canvaskit] Fix shadow bugs 2020-03-06 16:14:20 +00:00
canvas.spec.js Reland saveLayer can omit the rectangle argument. 2020-03-17 17:38:54 +00:00
canvaskitinit.js [canvaskit] Move from experimental to modules 2019-03-11 21:09:52 +00:00
core.spec.js Sweep gradient support for CanvasKit 2020-03-16 16:57:03 +00:00
font.spec.js [canvaskit] Precise font measuring 2020-02-28 13:36:34 +00:00
matrix.spec.js Expose 4x4 matrices on canvas in a way similar to SimpleMatrix, add example. 2020-02-22 00:12:13 +00:00
paragraph.spec.js [canvaskit] Make font names programmatically accessible 2020-01-17 14:18:09 +00:00
path.spec.js [canvaskit] Add SkContourMeasure 2019-11-22 12:17:55 +00:00
skottie.spec.js [canvaskit] Add npm release target to ship smaller binaries 2020-01-06 13:13:06 +00:00
util.js [canvaskit] Try some things to reduce GPU test flakiness 2019-11-21 20:56:42 +00:00