OLD | NEW |
1 /* | 1 /* |
2 * Copyright 2013 Google Inc. | 2 * Copyright 2013 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 // Include here to ensure SK_SUPPORT_GPU is set correctly before it is examined. | 8 // Include here to ensure SK_SUPPORT_GPU is set correctly before it is examined. |
9 #include "SkTypes.h" | 9 #include "SkTypes.h" |
10 | 10 |
11 #if SK_SUPPORT_GPU | 11 #if SK_SUPPORT_GPU |
12 | 12 |
13 #include "GrContext.h" | 13 #include "GrContext.h" |
14 #include "GrContextFactory.h" | 14 #include "GrContextFactory.h" |
15 #include "GrGpu.h" | 15 #include "GrGpu.h" |
16 #include "GrGpuResourceCacheAccess.h" | 16 #include "GrGpuResourceCacheAccess.h" |
17 #include "GrGpuResourcePriv.h" | 17 #include "GrGpuResourcePriv.h" |
18 #include "GrRenderTarget.h" | 18 #include "GrRenderTarget.h" |
19 #include "GrRenderTargetPriv.h" | 19 #include "GrRenderTargetPriv.h" |
20 #include "GrResourceCache.h" | 20 #include "GrResourceCache.h" |
| 21 #include "GrResourceProvider.h" |
21 #include "GrTest.h" | 22 #include "GrTest.h" |
22 #include "SkCanvas.h" | 23 #include "SkCanvas.h" |
23 #include "SkGr.h" | 24 #include "SkGr.h" |
24 #include "SkMessageBus.h" | 25 #include "SkMessageBus.h" |
25 #include "SkSurface.h" | 26 #include "SkSurface.h" |
26 #include "Test.h" | 27 #include "Test.h" |
27 | 28 |
28 static const int gWidth = 640; | 29 static const int gWidth = 640; |
29 static const int gHeight = 480; | 30 static const int gHeight = 480; |
30 | 31 |
(...skipping 1288 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1319 test_cache_chained_purge(reporter); | 1320 test_cache_chained_purge(reporter); |
1320 test_resource_size_changed(reporter); | 1321 test_resource_size_changed(reporter); |
1321 test_timestamp_wrap(reporter); | 1322 test_timestamp_wrap(reporter); |
1322 test_flush(reporter); | 1323 test_flush(reporter); |
1323 test_large_resource_count(reporter); | 1324 test_large_resource_count(reporter); |
1324 test_custom_data(reporter); | 1325 test_custom_data(reporter); |
1325 test_abandoned(reporter); | 1326 test_abandoned(reporter); |
1326 } | 1327 } |
1327 | 1328 |
1328 #endif | 1329 #endif |
OLD | NEW |