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

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: fix windows and android? 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
« no previous file with comments | « tests/EGLImageTest.cpp ('k') | tests/GrContextFactoryTest.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
OLDNEW
« no previous file with comments | « tests/EGLImageTest.cpp ('k') | tests/GrContextFactoryTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698