aboutsummaryrefslogtreecommitdiffhomepage
path: root/bench/SKPBench.h
diff options
context:
space:
mode:
authorGravatar joshualitt <joshualitt@chromium.org>2015-04-27 09:16:57 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2015-04-27 09:16:57 -0700
commit261c3ad7fde95748da92550735decc949dc73bf2 (patch)
treeb3e824a2c6e59a8001dd5a9641047ff7f56acb2b /bench/SKPBench.h
parent00c2af8b731085a7fe456e689b70f019a34ef7dd (diff)
Change to add zoom animations to nanobench
Diffstat (limited to 'bench/SKPBench.h')
-rw-r--r--bench/SKPBench.h7
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;