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

Unified Diff: tools/VisualBench/VisualSKPBench.h

Issue 2018603003: Remove VisualBench and its Android implementation. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 4 years, 7 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 | « tools/VisualBench/VisualModule.h ('k') | tools/VisualBench/VisualSKPBench.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/VisualBench/VisualSKPBench.h
diff --git a/tools/VisualBench/VisualSKPBench.h b/tools/VisualBench/VisualSKPBench.h
deleted file mode 100644
index dc22fec79e153b35c40950307ea1bd42f158158b..0000000000000000000000000000000000000000
--- a/tools/VisualBench/VisualSKPBench.h
+++ /dev/null
@@ -1,39 +0,0 @@
-/*
- * Copyright 2015 Google Inc.
- *
- * Use of this source code is governed by a BSD-style license that can be
- * found in the LICENSE file.
- *
- */
-
-#ifndef VisualSKPBench_DEFINED
-#define VisualSKPBench_DEFINED
-
-#include "Benchmark.h"
-#include "SkCanvas.h"
-#include "SkPicture.h"
-
-/**
- * Runs an SkPicture as a benchmark by repeatedly drawing it
- */
-class VisualSKPBench : public Benchmark {
-public:
- VisualSKPBench(const char* name, const SkPicture*);
-
-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;
-
- typedef Benchmark INHERITED;
-};
-
-#endif
« no previous file with comments | « tools/VisualBench/VisualModule.h ('k') | tools/VisualBench/VisualSKPBench.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698