14 fName.
printf(
"canvas_save_restore_%d", fDepth);
25 for (
int i = 0;
i < loops; ++
i) {
26 for (
int j = 0; j < fDepth; ++j) {
31 for (
int j = 0; j <
fDepth; ++j) {
const char * onGetName() override
bool isSuitableFor(Backend backend) override
SkISize onGetSize() override
void onDraw(int loops, SkCanvas *canvas) override
CanvasSaveRestoreBench(int depth)
void drawColor(SkColor color, SkBlendMode mode=SkBlendMode::kSrcOver)
void concat(const SkMatrix &matrix)
static SkM44 Rotate(SkV3 axis, SkScalar radians)
void printf(const char format[],...) SK_PRINTF_LIKE(2
const char * c_str() const
constexpr SkColor4f kCyan