diff options
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; |