17 const char* onGetName()
override {
return "quick_reject"; }
20 void onDelayedSetup()
override {
22 for (
int i = 0;
i < N; ++
i) {
27 void onDraw(
int loops,
SkCanvas* canvas)
override {
29 for (
int i = 0;
i < N - 4;
i++) {
44 const char* onGetName()
override {
return "concat"; }
47 void onDelayedSetup()
override {
54 void onDraw(
int loops,
SkCanvas* canvas)
override {
void setMatrix(const SkM44 &matrix)
void concat(const SkMatrix &matrix)
bool quickReject(const SkRect &rect) const
static SkMatrix Scale(SkScalar sx, SkScalar sy)
SkMatrix & setTranslateY(SkScalar v)
SkMatrix & setScale(SkScalar sx, SkScalar sy, SkScalar px, SkScalar py)
SkMatrix & setTranslateX(SkScalar v)