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

Side by Side Diff: tools/flags/SkCommonFlagsConfig.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 | « tools/flags/SkCommonFlagsConfig.h ('k') | tools/gpu/GrContextFactory.h » ('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 2015 Google Inc. 2 * Copyright 2015 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 #include "SkCommonFlagsConfig.h" 8 #include "SkCommonFlagsConfig.h"
9 9
10 #include <stdlib.h> 10 #include <stdlib.h>
11 11
12 #if SK_SUPPORT_GPU
13 using sk_gpu_test::GrContextFactory;
14 #endif
15
12 static const char defaultConfigs[] = 16 static const char defaultConfigs[] =
13 "565 8888 gpu nonrendering" 17 "565 8888 gpu nonrendering"
14 #if SK_ANGLE 18 #if SK_ANGLE
15 #ifdef SK_BUILD_FOR_WIN 19 #ifdef SK_BUILD_FOR_WIN
16 " angle" 20 " angle"
17 #endif 21 #endif
18 #endif 22 #endif
19 #ifdef SK_BUILD_FOR_ANDROID_FRAMEWORK 23 #ifdef SK_BUILD_FOR_ANDROID_FRAMEWORK
20 " hwui" 24 " hwui"
21 #endif 25 #endif
(...skipping 349 matching lines...) Expand 10 before | Expand all | Expand 10 after
371 if (extendedBackend.equals("gpu")) { 375 if (extendedBackend.equals("gpu")) {
372 parsedConfig = parse_command_line_config_gpu(tag, vias, extendedOpti ons); 376 parsedConfig = parse_command_line_config_gpu(tag, vias, extendedOpti ons);
373 } 377 }
374 #endif 378 #endif
375 if (!parsedConfig) { 379 if (!parsedConfig) {
376 parsedConfig = new SkCommandLineConfig(tag, simpleBackend, vias); 380 parsedConfig = new SkCommandLineConfig(tag, simpleBackend, vias);
377 } 381 }
378 outResult->emplace_back(parsedConfig); 382 outResult->emplace_back(parsedConfig);
379 } 383 }
380 } 384 }
OLDNEW
« no previous file with comments | « tools/flags/SkCommonFlagsConfig.h ('k') | tools/gpu/GrContextFactory.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698