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

Unified Diff: tools/VisualBench/VisualSKPBench.h

Issue 1443263002: Optimize visualbench offscreen blits (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: one more check Created 5 years, 1 month 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
Index: tools/VisualBench/VisualSKPBench.h
diff --git a/tools/VisualBench/VisualSKPBench.h b/tools/VisualBench/VisualSKPBench.h
index 6b9593b86933ca5b870aab0661210be14256eaa6..dc22fec79e153b35c40950307ea1bd42f158158b 100644
--- a/tools/VisualBench/VisualSKPBench.h
+++ b/tools/VisualBench/VisualSKPBench.h
@@ -24,10 +24,12 @@ protected:
const char* onGetName() override;
const char* onGetUniqueName() override;
bool isSuitableFor(Backend backend) override;
+ SkIPoint onGetSize() override;
void onDraw(int loops, SkCanvas* canvas) override;
private:
SkAutoTUnref<const SkPicture> fPic;
+ SkIRect fCullRect;
SkString fName;
SkString fUniqueName;

Powered by Google App Engine
This is Rietveld 408576698