OLD | NEW |
1 /* | 1 /* |
2 * Copyright 2016 Google Inc. | 2 * Copyright 2016 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 #ifndef Request_DEFINED | 8 #ifndef Request_DEFINED |
9 #define Request_DEFINED | 9 #define Request_DEFINED |
10 | 10 |
| 11 #include "SkTypes.h" |
| 12 |
11 #if SK_SUPPORT_GPU | 13 #if SK_SUPPORT_GPU |
12 #include "GrContextFactory.h" | 14 #include "GrContextFactory.h" |
13 #endif | 15 #endif |
14 | 16 |
15 #include "SkDebugCanvas.h" | 17 #include "SkDebugCanvas.h" |
16 #include "SkPicture.h" | 18 #include "SkPicture.h" |
17 #include "SkStream.h" | 19 #include "SkStream.h" |
18 #include "SkSurface.h" | 20 #include "SkSurface.h" |
19 | 21 |
20 #include "UrlDataManager.h" | 22 #include "UrlDataManager.h" |
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
72 GrContext* getContext(); | 74 GrContext* getContext(); |
73 | 75 |
74 sk_sp<SkPicture> fPicture; | 76 sk_sp<SkPicture> fPicture; |
75 sk_gpu_test::GrContextFactory* fContextFactory; | 77 sk_gpu_test::GrContextFactory* fContextFactory; |
76 SkAutoTUnref<SkSurface> fSurface; | 78 SkAutoTUnref<SkSurface> fSurface; |
77 bool fGPUEnabled; | 79 bool fGPUEnabled; |
78 int fColorMode; | 80 int fColorMode; |
79 }; | 81 }; |
80 | 82 |
81 #endif | 83 #endif |
OLD | NEW |