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

Unified Diff: tools/VisualBench/VisualInteractiveModule.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/VisualFlags.cpp ('k') | tools/VisualBench/VisualInteractiveModule.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/VisualBench/VisualInteractiveModule.h
diff --git a/tools/VisualBench/VisualInteractiveModule.h b/tools/VisualBench/VisualInteractiveModule.h
deleted file mode 100755
index d4f8f69b1e8784623779d0c28409f2dea151247b..0000000000000000000000000000000000000000
--- a/tools/VisualBench/VisualInteractiveModule.h
+++ /dev/null
@@ -1,38 +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 VisualInteractiveModule_DEFINED
-#define VisualInteractiveModule_DEFINED
-
-#include "VisualStreamTimingModule.h"
-
-class SkCanvas;
-
-/*
- * This module for VisualBench is designed to display stats data dynamically
- */
-class VisualInteractiveModule : public VisualStreamTimingModule {
-public:
- // TODO get rid of backpointer
- VisualInteractiveModule(VisualBench* owner);
-
- bool onHandleChar(SkUnichar c) override;
-
-private:
- void drawStats(SkCanvas*);
- void renderFrame(SkCanvas*, Benchmark*, int loops) override;
- bool timingFinished(Benchmark*, int loops, double measurement) override;
-
- static const int kMeasurementCount = 64; // should be power of 2 for fast mod
- double fMeasurements[kMeasurementCount];
- int fCurrentMeasurement;
- bool fAdvance;
-
- typedef VisualStreamTimingModule INHERITED;
-};
-
-#endif
« no previous file with comments | « tools/VisualBench/VisualFlags.cpp ('k') | tools/VisualBench/VisualInteractiveModule.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698