25 return "ref_cnt_stack";
29 for (
int i = 0;
i < loops; ++
i) {
31 for (
int j = 0; j <
M; ++j) {
45 void operator delete(
void*) { }
59 return "ref_cnt_heap";
64 for (
int i = 0;
i < loops; ++
i) {
66 for (
int j = 0; j <
M; ++j) {
90 for (
int i = 0;
i < loops; ++
i) {
92 for (
int j = 0; j <
M; ++j) {
114 return "ref_cnt_stack_weak";
118 for (
int i = 0;
i < loops; ++
i) {
120 for (
int j = 0; j <
M; ++j) {
134 void operator delete(
void*) { }
145 return "ref_cnt_heap_weak";
150 for (
int i = 0;
i < loops; ++
i) {
152 for (
int j = 0; j <
M; ++j) {
172 return "ref_cnt_new_weak";
176 for (
int i = 0;
i < loops; ++
i) {
178 for (
int j = 0; j <
M; ++j) {
const char * onGetName() override
bool isSuitableFor(Backend backend) override
void onDraw(int loops, SkCanvas *) override
const char * onGetName() override
bool isSuitableFor(Backend backend) override
void onDraw(int loops, SkCanvas *) override
void onDraw(int loops, SkCanvas *) override
bool isSuitableFor(Backend backend) override
const char * onGetName() override
friend class SkWeakRefCnt
void onDraw(int loops, SkCanvas *) override
bool isSuitableFor(Backend backend) override
const char * onGetName() override
void onDraw(int loops, SkCanvas *) override
bool isSuitableFor(Backend backend) override
const char * onGetName() override
void onDraw(int loops, SkCanvas *) override
bool isSuitableFor(Backend backend) override
const char * onGetName() override