28 fName.printf(
"draw_coverage_%s", drawCoverage ?
"true" :
"false");
59 for (
int i = 0;
i < loops; ++
i) {
63 for (
int i = 0;
i < loops; ++
i) {
void onDraw(int loops, SkCanvas *canvas) override
DrawPathBench(bool drawCoverage)
void onDelayedSetup() override
const char * onGetName() override
void alloc(const SkImageInfo &)
void drawPath(const SkPath &path, const SkPaint &paint, const SkMatrix *prePathMatrix=nullptr, bool pathIsMutable=false) const
void drawPathCoverage(const SkPath &src, const SkPaint &paint, SkBlitter *customBlitter=nullptr) const
static const SkMatrix & I()
void setAntiAlias(bool aa)
SkPath & moveTo(SkScalar x, SkScalar y)
SkPath & quadTo(SkScalar x1, SkScalar y1, SkScalar x2, SkScalar y2)
const SkRect & getBounds() const
bool erase(SkColor color, const SkIRect &subset) const
bool setRect(const SkIRect &)
static SkImageInfo MakeA8(int width, int height)
void round(SkIRect *dst) const