OLD | NEW |
1 | |
2 /* | 1 /* |
3 * Copyright 2011 Google Inc. | 2 * Copyright 2011 Google Inc. |
4 * | 3 * |
5 * 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 |
6 * found in the LICENSE file. | 5 * found in the LICENSE file. |
7 */ | 6 */ |
8 | 7 |
9 // 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 |
10 | 9 |
11 #include "SkTypes.h" | 10 #include "SkTypes.h" |
(...skipping 445 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
457 GrContextOptions opts; | 456 GrContextOptions opts; |
458 opts.fSuppressPrints = true; | 457 opts.fSuppressPrints = true; |
459 GrContextFactory debugFactory(opts); | 458 GrContextFactory debugFactory(opts); |
460 skiatest::RunWithGPUTestContexts(test_glprograms_native, skiatest::kNative_G
PUTestContexts, | 459 skiatest::RunWithGPUTestContexts(test_glprograms_native, skiatest::kNative_G
PUTestContexts, |
461 reporter, &debugFactory); | 460 reporter, &debugFactory); |
462 skiatest::RunWithGPUTestContexts(test_glprograms_other_contexts, | 461 skiatest::RunWithGPUTestContexts(test_glprograms_other_contexts, |
463 skiatest::kOther_GPUTestContexts, reporter,
&debugFactory); | 462 skiatest::kOther_GPUTestContexts, reporter,
&debugFactory); |
464 } | 463 } |
465 | 464 |
466 #endif | 465 #endif |
OLD | NEW |