DescriptionDo not calculate many sierpinski fractals for each nanobench run unless needed
Removes work done by the constructors of picture_nesting benches,
and moves the work to the Benchmark::onPreDraw override.
This avoids PictureNesting::sierpinsky showing up in profile traces
when profiling other benches.
Committed: https://skia.googlesource.com/skia/+/b33402bc877337e576637616b80e13d1546c7ce1
Patch Set 1 #
Total comments: 4
Patch Set 2 : address review commetns #Messages
Total messages: 7 (2 generated)
|