58 for (
int i = 0;
i < loops; ++
i) {
static bool sect_proc(SkRegion &a, SkRegion &b)
bool(* Proc)(SkRegion &a, SkRegion &b)
bool isSuitableFor(Backend backend) override
RegionContainBench(Proc proc, const char name[])
SkIRect randrect(SkRandom &rand, int i)
void onDraw(int loops, SkCanvas *) override
const char * onGetName() override
@ kIntersect_Op
target intersected with operand
@ kXOR_Op
target exclusive or with operand
bool op(const SkIRect &rect, Op op)
bool setRect(const SkIRect &rect)
void printf(const char format[],...) SK_PRINTF_LIKE(2
const char * c_str() const
DEF_SWITCHES_START aot vmservice shared library name
static constexpr SkIRect MakeXYWH(int32_t x, int32_t y, int32_t w, int32_t h)