Chromium Code Reviews| 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 |
| 11 | 11 |
| 12 #include "SkWindow.h" | 12 #include "SkWindow.h" |
| 13 | 13 |
| 14 #include "ResultsWriter.h" | |
| 14 #include "SkPicture.h" | 15 #include "SkPicture.h" |
| 15 #include "SkString.h" | 16 #include "SkString.h" |
| 16 #include "SkSurface.h" | 17 #include "SkSurface.h" |
| 17 #include "Timer.h" | 18 #include "Timer.h" |
| 18 #include "VisualBenchmarkStream.h" | 19 #include "VisualBenchmarkStream.h" |
| 19 #include "gl/SkGLContext.h" | 20 #include "gl/SkGLContext.h" |
| 20 | 21 |
| 21 class GrContext; | 22 class GrContext; |
| 22 struct GrGLInterface; | 23 struct GrGLInterface; |
| 23 class GrRenderTarget; | 24 class GrRenderTarget; |
| (...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 99 State fState; | 100 State fState; |
| 100 SkAutoTDelete<VisualBenchmarkStream> fBenchmarkStream; | 101 SkAutoTDelete<VisualBenchmarkStream> fBenchmarkStream; |
| 101 SkAutoTUnref<Benchmark> fBenchmark; | 102 SkAutoTUnref<Benchmark> fBenchmark; |
| 102 | 103 |
| 103 // support framework | 104 // support framework |
| 104 SkAutoTUnref<SkSurface> fSurface; | 105 SkAutoTUnref<SkSurface> fSurface; |
| 105 SkAutoTUnref<GrContext> fContext; | 106 SkAutoTUnref<GrContext> fContext; |
| 106 SkAutoTUnref<GrRenderTarget> fRenderTarget; | 107 SkAutoTUnref<GrRenderTarget> fRenderTarget; |
| 107 AttachmentInfo fAttachmentInfo; | 108 AttachmentInfo fAttachmentInfo; |
| 108 SkAutoTUnref<const GrGLInterface> fInterface; | 109 SkAutoTUnref<const GrGLInterface> fInterface; |
| 110 SkAutoTDelete<ResultsWriter> fLog; | |
|
borenet
2015/08/18 17:57:54
IMO something like "fResults" would be more descri
| |
| 109 | 111 |
| 110 typedef SkOSWindow INHERITED; | 112 typedef SkOSWindow INHERITED; |
| 111 }; | 113 }; |
| 112 | 114 |
| 113 #endif | 115 #endif |
| OLD | NEW |