22 fName.
printf(
"picture_nesting_%s_%d",
name, this->countPics());
87 int countPics()
const {
111 :
INHERITED(
"recording", maxLevel, maxPictureLevel) {
123 for (
int i = 0;
i < loops;
i++) {
138 :
INHERITED(
"playback", maxLevel, maxPictureLevel) {
154 for (
int i = 0;
i < loops;
i++) {
constexpr SkColor SK_ColorRED
SkDEBUGCODE(SK_SPI) SkThreadID SkGetThreadID()
virtual SkISize onGetSize()
virtual void onDelayedSetup()
void onDraw(int loops, SkCanvas *canvas) override
PictureNestingPlayback(int maxLevel, int maxPictureLevel)
void onDelayedSetup() override
bool isSuitableFor(Backend backend) override
void onDraw(int loops, SkCanvas *) override
PictureNestingRecording(int maxLevel, int maxPictureLevel)
const char * onGetName() override
int sierpinsky(SkCanvas *canvas, int lvl, const SkPaint &paint)
void doDraw(SkCanvas *canvas)
PictureNesting(const char *name, int maxLevel, int maxPictureLevel)
void translate(SkScalar dx, SkScalar dy)
void drawLine(SkScalar x0, SkScalar y0, SkScalar x1, SkScalar y1, const SkPaint &paint)
void scale(SkScalar sx, SkScalar sy)
void drawPicture(const SkPicture *picture)
void setStyle(Style style)
void setColor(SkColor color)
void setAntiAlias(bool aa)
@ kStroke_Style
set to stroke geometry
SkCanvas * beginRecording(const SkRect &bounds, sk_sp< SkBBoxHierarchy > bbh)
sk_sp< SkPicture > finishRecordingAsPicture()
void printf(const char format[],...) SK_PRINTF_LIKE(2
const char * c_str() const
DEF_SWITCHES_START aot vmservice shared library name
constexpr int32_t width() const
constexpr int32_t height() const