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

Unified Diff: bench/SKPBench.h

Issue 1541983002: Add tileSKP option to nanobench (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Fix scales Created 4 years, 12 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 1f34a003b283c4a26fc54c4cae3b983ec702f207..3ffe6bbbe8931eaf34f2cef8cd133a6f7578c3d3 100644
--- a/bench/SKPBench.h
+++ b/bench/SKPBench.h
@@ -39,10 +39,12 @@ protected:
void onDraw(int loops, SkCanvas* canvas) override;
SkIPoint onGetSize() override;
+ virtual void drawPicture(SkCanvas*);
virtual void drawMPDPicture();
- virtual void drawPicture();
+ virtual void drawPictureTiled();
const SkPicture* picture() const { return fPic; }
+ SkScalar scale() const { return fScale; }
const SkTDArray<SkSurface*>& surfaces() const { return fSurfaces; }
const SkTDArray<SkIRect>& tileRects() const { return fTileRects; }
« 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