OLD | NEW |
1 | 1 |
2 /* | 2 /* |
3 * Copyright 2011 Google Inc. | 3 * Copyright 2011 Google Inc. |
4 * | 4 * |
5 * Use of this source code is governed by a BSD-style license that can be | 5 * Use of this source code is governed by a BSD-style license that can be |
6 * found in the LICENSE file. | 6 * found in the LICENSE file. |
7 */ | 7 */ |
8 | 8 |
9 // This is a GPU-backend specific test. It relies on static intializers to work | 9 // This is a GPU-backend specific test. It relies on static intializers to work |
10 | 10 |
11 #include "SkTypes.h" | 11 #include "SkTypes.h" |
12 | 12 |
13 #if SK_SUPPORT_GPU && SK_ALLOW_STATIC_GLOBAL_INITIALIZERS | 13 #if SK_SUPPORT_GPU && SK_ALLOW_STATIC_GLOBAL_INITIALIZERS |
14 | 14 |
| 15 #include "GrAutoLocaleSetter.h" |
15 #include "GrContextFactory.h" | 16 #include "GrContextFactory.h" |
16 #include "GrInvariantOutput.h" | 17 #include "GrInvariantOutput.h" |
17 #include "GrPipeline.h" | 18 #include "GrPipeline.h" |
18 #include "GrTest.h" | 19 #include "GrTest.h" |
19 #include "GrXferProcessor.h" | 20 #include "GrXferProcessor.h" |
20 #include "SkChecksum.h" | 21 #include "SkChecksum.h" |
21 #include "SkRandom.h" | 22 #include "SkRandom.h" |
22 #include "Test.h" | 23 #include "Test.h" |
23 #include "effects/GrConfigConversionEffect.h" | 24 #include "effects/GrConfigConversionEffect.h" |
24 #include "effects/GrPorterDuffXferProcessor.h" | 25 #include "effects/GrPorterDuffXferProcessor.h" |
(...skipping 347 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
372 } | 373 } |
373 #endif | 374 #endif |
374 GrTestTarget target; | 375 GrTestTarget target; |
375 context->getTestTarget(&target); | 376 context->getTestTarget(&target); |
376 REPORTER_ASSERT(reporter, target.target()->programUnitTest(maxStages
)); | 377 REPORTER_ASSERT(reporter, target.target()->programUnitTest(maxStages
)); |
377 } | 378 } |
378 } | 379 } |
379 } | 380 } |
380 | 381 |
381 #endif | 382 #endif |
OLD | NEW |