| OLD | NEW |
| 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 Loading... |
| 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 |
| OLD | NEW |