| 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 VisualBench_DEFINED | 9 #ifndef VisualBench_DEFINED |
| 10 #define VisualBench_DEFINED | 10 #define VisualBench_DEFINED |
| (...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 61 void preWarm(State nextState); | 61 void preWarm(State nextState); |
| 62 | 62 |
| 63 int fCurrentSample; | 63 int fCurrentSample; |
| 64 int fCurrentFrame; | 64 int fCurrentFrame; |
| 65 int fFlushes; | 65 int fFlushes; |
| 66 int fLoops; | 66 int fLoops; |
| 67 SkTArray<Record> fRecords; | 67 SkTArray<Record> fRecords; |
| 68 WallTimer fTimer; | 68 WallTimer fTimer; |
| 69 State fState; | 69 State fState; |
| 70 SkAutoTDelete<VisualBenchmarkStream> fBenchmarkStream; | 70 SkAutoTDelete<VisualBenchmarkStream> fBenchmarkStream; |
| 71 Benchmark* fBenchmark; | 71 SkAutoTUnref<Benchmark> fBenchmark; |
| 72 | 72 |
| 73 // support framework | 73 // support framework |
| 74 SkAutoTUnref<SkSurface> fSurface; | 74 SkAutoTUnref<SkSurface> fSurface; |
| 75 SkAutoTUnref<GrContext> fContext; | 75 SkAutoTUnref<GrContext> fContext; |
| 76 SkAutoTUnref<GrRenderTarget> fRenderTarget; | 76 SkAutoTUnref<GrRenderTarget> fRenderTarget; |
| 77 AttachmentInfo fAttachmentInfo; | 77 AttachmentInfo fAttachmentInfo; |
| 78 SkAutoTUnref<const GrGLInterface> fInterface; | 78 SkAutoTUnref<const GrGLInterface> fInterface; |
| 79 | 79 |
| 80 typedef SkOSWindow INHERITED; | 80 typedef SkOSWindow INHERITED; |
| 81 }; | 81 }; |
| 82 | 82 |
| 83 #endif | 83 #endif |
| OLD | NEW |