diff options
author | joshualitt <joshualitt@chromium.org> | 2015-04-27 09:16:57 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-04-27 09:16:57 -0700 |
commit | 261c3ad7fde95748da92550735decc949dc73bf2 (patch) | |
tree | b3e824a2c6e59a8001dd5a9641047ff7f56acb2b /bench/SKPBench.h | |
parent | 00c2af8b731085a7fe456e689b70f019a34ef7dd (diff) |
Change to add zoom animations to nanobench
BUG=skia:
Review URL: https://codereview.chromium.org/1061323003
Diffstat (limited to 'bench/SKPBench.h')
-rw-r--r-- | bench/SKPBench.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/bench/SKPBench.h b/bench/SKPBench.h index f17281c13a..3b645e9734 100644 --- a/bench/SKPBench.h +++ b/bench/SKPBench.h @@ -30,6 +30,13 @@ protected: void onDraw(const int loops, SkCanvas* canvas) override; SkIPoint onGetSize() override; + virtual void drawMPDPicture(); + virtual void drawPicture(); + + const SkPicture* picture() const { return fPic; } + const SkTDArray<SkSurface*>& surfaces() const { return fSurfaces; } + const SkTDArray<SkIRect>& tileRects() const { return fTileRects; } + private: SkAutoTUnref<const SkPicture> fPic; const SkIRect fClip; |