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

Side by Side Diff: tools/VisualBench/VisualInteractiveModule.h

Issue 1386933002: Cleanup timing state machine (Closed) Base URL: https://skia.googlesource.com/skia.git@vb2
Patch Set: rebase Created 5 years, 2 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 unified diff | Download patch
« no previous file with comments | « tools/VisualBench/TimingStateMachine.cpp ('k') | tools/VisualBench/VisualInteractiveModule.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright 2015 Google Inc. 2 * Copyright 2015 Google Inc.
3 * 3 *
4 * Use of this source code is governed by a BSD-style license that can be 4 * Use of this source code is governed by a BSD-style license that can be
5 * found in the LICENSE file. 5 * found in the LICENSE file.
6 * 6 *
7 */ 7 */
8 8
9 #ifndef VisualInteractiveModule_DEFINED 9 #ifndef VisualInteractiveModule_DEFINED
10 #define VisualInteractiveModule_DEFINED 10 #define VisualInteractiveModule_DEFINED
(...skipping 29 matching lines...) Expand all
40 inline void renderFrame(SkCanvas*); 40 inline void renderFrame(SkCanvas*);
41 41
42 static const int kMeasurementCount = 64; // should be power of 2 for fast m od 42 static const int kMeasurementCount = 64; // should be power of 2 for fast m od
43 double fMeasurements[kMeasurementCount]; 43 double fMeasurements[kMeasurementCount];
44 int fCurrentMeasurement; 44 int fCurrentMeasurement;
45 45
46 SkAutoTDelete<VisualBenchmarkStream> fBenchmarkStream; 46 SkAutoTDelete<VisualBenchmarkStream> fBenchmarkStream;
47 SkAutoTUnref<Benchmark> fBenchmark; 47 SkAutoTUnref<Benchmark> fBenchmark;
48 TimingStateMachine fTSM; 48 TimingStateMachine fTSM;
49 bool fAdvance; 49 bool fAdvance;
50 bool fHasBeenReset;
50 51
51 // support framework 52 // support framework
52 SkAutoTUnref<VisualBench> fOwner; 53 SkAutoTUnref<VisualBench> fOwner;
53 54
54 typedef VisualModule INHERITED; 55 typedef VisualModule INHERITED;
55 }; 56 };
56 57
57 #endif 58 #endif
OLDNEW
« no previous file with comments | « tools/VisualBench/TimingStateMachine.cpp ('k') | tools/VisualBench/VisualInteractiveModule.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698