skia2/modules
Kevin Lubick a1c2117004 [canvaskit] Add drawRect4f as example 'fast path' API
I added 3 tests, one using the drawRect API naively,
one using drawRect with a Malloc'd array, and one using
the drawRect4f.

rough local measurements:
 - [baseline with tip of tree code]: 50ms
 - naive drawRect: 40ms
 - drawRect with malloc: 28ms
 - drawRect4f: 27ms

I also tried the benchmarks locally with taking in paint
as a const reference. I did not see any changes, but that
could just be small sample size. I plan to land the code
as is for now, collect a bit of data in Perf and then try
landing the const reference stuff and see if we get
something measurable.

To aid this, I added in a helper list of tests to only run
some benchmarks easily.

Change-Id: I2d8c5296e93f05be45fc12059955fb9d9e339d83
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/315143
Reviewed-by: Kevin Lubick <kjlubick@google.com>
2020-09-03 14:53:42 +00:00
..
audioplayer SFML [1] backed for SkAudioPlayer/Linux 2020-08-18 17:58:55 +00:00
canvaskit [canvaskit] Add drawRect4f as example 'fast path' API 2020-09-03 14:53:42 +00:00
particles Add GrDirectContext arg to SkImage::readPixels 2020-08-27 19:26:29 +00:00
pathkit [canvaskit,pathkit] Update to emsdk 2.0 2020-08-20 14:55:50 +00:00
skottie Replace 'typedef xxxxx INHERITED' with 'using INHERITED = xxxx;'. 2020-09-03 03:41:26 +00:00
skparagraph Replace 'typedef xxxxx INHERITED' with 'using INHERITED = xxxx;'. 2020-09-03 03:41:26 +00:00
skplaintexteditor Enable ClangTidy check readability-const-return-type. 2020-08-07 17:42:38 +00:00
skresources [skottie] Initial audio layer plumbing 2020-08-12 13:03:16 +00:00
sksg Replace 'typedef xxxxx INHERITED' with 'using INHERITED = xxxx;'. 2020-09-03 03:41:26 +00:00
skshaper Revert "Removing ICU dependencies from skparagraph BUILD.gn file" 2020-09-01 20:51:33 +00:00