Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(94)

Unified Diff: bench/SKPBench.h

Issue 1061323003: Change to add zoom animations to nanobench (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: windows warning Created 5 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « bench/SKPAnimationBench.cpp ('k') | bench/SKPBench.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: bench/SKPBench.h
diff --git a/bench/SKPBench.h b/bench/SKPBench.h
index f17281c13a41e099243e0ccb054dc3d78e6103f3..3b645e97346df2d13bd428794caa82324ed56069 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;
« no previous file with comments | « bench/SKPAnimationBench.cpp ('k') | bench/SKPBench.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698