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

Unified Diff: tools/VisualBench/VisualBenchmarkStream.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/VisualBench.cpp ('k') | tools/VisualBench/VisualBenchmarkStream.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/VisualBench/VisualBenchmarkStream.h
diff --git a/tools/VisualBench/VisualBenchmarkStream.h b/tools/VisualBench/VisualBenchmarkStream.h
deleted file mode 100644
index 71b6c972f2baa4509a3bbbf48039966a40aa1480..0000000000000000000000000000000000000000
--- a/tools/VisualBench/VisualBenchmarkStream.h
+++ /dev/null
@@ -1,43 +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 VisualBenchmarkStream_DEFINED
-#define VisualBenchmarkStream_DEFINED
-
-#include "Benchmark.h"
-#include "gm.h"
-#include "SkCommandLineFlags.h"
-#include "SkPicture.h"
-
-DECLARE_string(match);
-
-class VisualBenchmarkStream {
-public:
- VisualBenchmarkStream(const SkSurfaceProps&, bool justSKP = false);
-
- static sk_sp<SkPicture> ReadPicture(const char* path);
-
- Benchmark* next();
- Benchmark* current() { return fBenchmark.get(); }
-
-private:
- Benchmark* innerNext();
-
- SkSurfaceProps fSurfaceProps;
- const BenchRegistry* fBenches;
- const skiagm::GMRegistry* fGMs;
- SkTArray<SkString> fSKPs;
- SkAutoTUnref<Benchmark> fBenchmark;
-
- const char* fSourceType; // What we're benching: bench, GM, SKP, ...
- const char* fBenchType; // How we bench it: micro, playback, ...
- int fCurrentSKP;
- bool fIsWarmedUp;
-};
-
-#endif
« no previous file with comments | « tools/VisualBench/VisualBench.cpp ('k') | tools/VisualBench/VisualBenchmarkStream.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698