| 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 |
| (...skipping 438 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 449 // skbug 3330 | 449 // skbug 3330 |
| 450 #ifdef SK_BUILD_FOR_WIN | 450 #ifdef SK_BUILD_FOR_WIN |
| 451 GrAutoLocaleSetter als("sv-SE"); | 451 GrAutoLocaleSetter als("sv-SE"); |
| 452 #else | 452 #else |
| 453 GrAutoLocaleSetter als("sv_SE.UTF-8"); | 453 GrAutoLocaleSetter als("sv_SE.UTF-8"); |
| 454 #endif | 454 #endif |
| 455 | 455 |
| 456 // We suppress prints to avoid spew | 456 // We suppress prints to avoid spew |
| 457 GrContextOptions opts; | 457 GrContextOptions opts; |
| 458 opts.fSuppressPrints = true; | 458 opts.fSuppressPrints = true; |
| 459 GrContextFactory debugFactory(opts); | 459 sk_gpu_test::GrContextFactory debugFactory(opts); |
| 460 skiatest::RunWithGPUTestContexts(test_glprograms_native, skiatest::kNative_G
PUTestContexts, | 460 skiatest::RunWithGPUTestContexts(test_glprograms_native, skiatest::kNative_G
PUTestContexts, |
| 461 reporter, &debugFactory); | 461 reporter, &debugFactory); |
| 462 skiatest::RunWithGPUTestContexts(test_glprograms_other_contexts, | 462 skiatest::RunWithGPUTestContexts(test_glprograms_other_contexts, |
| 463 skiatest::kOther_GPUTestContexts, reporter,
&debugFactory); | 463 skiatest::kOther_GPUTestContexts, reporter,
&debugFactory); |
| 464 } | 464 } |
| 465 | 465 |
| 466 #endif | 466 #endif |
| OLD | NEW |