OLD | NEW |
1 /* | 1 /* |
2 * Copyright 2011 Google Inc. | 2 * Copyright 2011 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 // This is a GPU-backend specific test. It relies on static intializers to work | 8 // This is a GPU-backend specific test. It relies on static intializers to work |
9 | 9 |
10 #include "SkTypes.h" | 10 #include "SkTypes.h" |
(...skipping 437 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
448 // skbug 3330 | 448 // skbug 3330 |
449 #ifdef SK_BUILD_FOR_WIN | 449 #ifdef SK_BUILD_FOR_WIN |
450 GrAutoLocaleSetter als("sv-SE"); | 450 GrAutoLocaleSetter als("sv-SE"); |
451 #else | 451 #else |
452 GrAutoLocaleSetter als("sv_SE.UTF-8"); | 452 GrAutoLocaleSetter als("sv_SE.UTF-8"); |
453 #endif | 453 #endif |
454 | 454 |
455 // We suppress prints to avoid spew | 455 // We suppress prints to avoid spew |
456 GrContextOptions opts; | 456 GrContextOptions opts; |
457 opts.fSuppressPrints = true; | 457 opts.fSuppressPrints = true; |
458 GrContextFactory debugFactory(opts); | 458 sk_gpu_test::GrContextFactory debugFactory(opts); |
459 skiatest::RunWithGPUTestContexts(test_glprograms_native, skiatest::kNative_G
PUTestContexts, | 459 skiatest::RunWithGPUTestContexts(test_glprograms_native, skiatest::kNative_G
PUTestContexts, |
460 reporter, &debugFactory); | 460 reporter, &debugFactory); |
461 skiatest::RunWithGPUTestContexts(test_glprograms_other_contexts, | 461 skiatest::RunWithGPUTestContexts(test_glprograms_other_contexts, |
462 skiatest::kOther_GPUTestContexts, reporter,
&debugFactory); | 462 skiatest::kOther_GPUTestContexts, reporter,
&debugFactory); |
463 } | 463 } |
464 | 464 |
465 #endif | 465 #endif |
OLD | NEW |