Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(97)

Side by Side Diff: tests/GLProgramsTest.cpp

Issue 1815823002: Move SkGLContext and some GrGLInterface implementations to skgputest module (Closed) Base URL: https://chromium.googlesource.com/skia.git@debugobject
Patch Set: rebase, readd null interface to main lib Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698