add translate to exercise non-identity ctm performance

BUG=skia:
GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2261063002

TBR=

Review-Url: https://codereview.chromium.org/2261063002
This commit is contained in:
reed 2016-08-21 15:03:47 -07:00 committed by Commit bot
parent ce25041865
commit 577e012e40

View File

@ -26,6 +26,8 @@ protected:
}
void onDraw(SkCanvas* canvas) override {
canvas->translate(1, 1); // want to exercise non-identity ctm performance
const SkScalar min = -20;
const SkScalar max = 800;
const SkScalar size = 20;