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

Unified Diff: tools/VisualBench/VisualLightweightBenchModule.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/VisualInteractiveModule.cpp ('k') | tools/VisualBench/VisualLightweightBenchModule.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/VisualBench/VisualLightweightBenchModule.h
diff --git a/tools/VisualBench/VisualLightweightBenchModule.h b/tools/VisualBench/VisualLightweightBenchModule.h
deleted file mode 100644
index 7618ff2a11cc288c1917e16db84597c53ed4b3f4..0000000000000000000000000000000000000000
--- a/tools/VisualBench/VisualLightweightBenchModule.h
+++ /dev/null
@@ -1,46 +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 VisualLightweightBenchModule_DEFINED
-#define VisualLightweightBenchModule_DEFINED
-
-#include "VisualStreamTimingModule.h"
-
-#include "ResultsWriter.h"
-#include "SkPicture.h"
-#include "VisualBench.h"
-
-class SkCanvas;
-
-/*
- * This module is designed to be a minimal overhead timing module for VisualBench
- */
-class VisualLightweightBenchModule : public VisualStreamTimingModule {
-public:
- // TODO get rid of backpointer
- VisualLightweightBenchModule(VisualBench* owner);
-
- bool onHandleChar(SkUnichar c) override;
-
-private:
- void renderFrame(SkCanvas*, Benchmark*, int loops) override;
- bool timingFinished(Benchmark*, int loops, double measurement) override;
- void printStats(Benchmark*, int loops);
-
- struct Record {
- SkTArray<double> fMeasurements;
- };
- int fCurrentSample;
- SkTArray<Record> fRecords;
-
- // support framework
- SkAutoTDelete<ResultsWriter> fResults;
-
- typedef VisualStreamTimingModule INHERITED;
-};
-
-#endif
« no previous file with comments | « tools/VisualBench/VisualInteractiveModule.cpp ('k') | tools/VisualBench/VisualLightweightBenchModule.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698