| 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 "SkPicture.h" | 14 #include "SkPicture.h" |
| 15 #include "SkString.h" | 15 #include "SkString.h" |
| 16 #include "SkSurface.h" | 16 #include "SkSurface.h" |
| 17 #include "VisualFlags.h" | 17 #include "VisualFlags.h" |
| 18 #include "VisualModule.h" | 18 #include "VisualModule.h" |
| 19 #include "gl/GLContext.h" | 19 #include "gl/GLTestContext.h" |
| 20 | 20 |
| 21 class GrContext; | 21 class GrContext; |
| 22 struct GrGLInterface; | 22 struct GrGLInterface; |
| 23 class GrRenderTarget; | 23 class GrRenderTarget; |
| 24 class SkCanvas; | 24 class SkCanvas; |
| 25 | 25 |
| 26 /* | 26 /* |
| 27 * A Visual benchmarking tool for gpu benchmarking | 27 * A Visual benchmarking tool for gpu benchmarking |
| 28 */ | 28 */ |
| 29 class VisualBench : public SkOSWindow { | 29 class VisualBench : public SkOSWindow { |
| (...skipping 26 matching lines...) Expand all Loading... |
| 56 SkAutoTUnref<SkSurface> fSurface; | 56 SkAutoTUnref<SkSurface> fSurface; |
| 57 SkAutoTUnref<GrContext> fContext; | 57 SkAutoTUnref<GrContext> fContext; |
| 58 SkAutoTUnref<GrRenderTarget> fRenderTarget; | 58 SkAutoTUnref<GrRenderTarget> fRenderTarget; |
| 59 AttachmentInfo fAttachmentInfo; | 59 AttachmentInfo fAttachmentInfo; |
| 60 SkAutoTUnref<const GrGLInterface> fInterface; | 60 SkAutoTUnref<const GrGLInterface> fInterface; |
| 61 | 61 |
| 62 typedef SkOSWindow INHERITED; | 62 typedef SkOSWindow INHERITED; |
| 63 }; | 63 }; |
| 64 | 64 |
| 65 #endif | 65 #endif |
| OLD | NEW |