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

Side by Side Diff: src/core/SkGraphics.cpp

Issue 133583003: Reduce verbosity of SkGraphics::Init in default case. (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: final rebase Created 6 years, 11 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 | Annotate | Revision Log
« no previous file with comments | « include/utils/SkRTConf.h ('k') | src/utils/SkRTConf.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 /* 2 /*
3 * Copyright 2006 The Android Open Source Project 3 * Copyright 2006 The Android Open Source Project
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 9
10 #include "SkGraphics.h" 10 #include "SkGraphics.h"
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
48 #endif 48 #endif
49 49
50 #ifdef BUILD_RADIALGRADIENT_TABLE 50 #ifdef BUILD_RADIALGRADIENT_TABLE
51 extern void SkRadialGradient_BuildTable(); 51 extern void SkRadialGradient_BuildTable();
52 #endif 52 #endif
53 53
54 void SkGraphics::Init() { 54 void SkGraphics::Init() {
55 #ifdef SK_DEVELOPER 55 #ifdef SK_DEVELOPER
56 skRTConfRegistry().possiblyDumpFile(); 56 skRTConfRegistry().possiblyDumpFile();
57 skRTConfRegistry().validate(); 57 skRTConfRegistry().validate();
58 SkDebugf("Non-default runtime configuration options:\n"); 58 if (skRTConfRegistry().hasNonDefault()) {
59 skRTConfRegistry().printNonDefault( ); 59 SkDebugf("Non-default runtime configuration options:\n");
60 skRTConfRegistry().printNonDefault();
61 }
60 #endif 62 #endif
61 63
62 #ifdef BUILD_EMBOSS_TABLE 64 #ifdef BUILD_EMBOSS_TABLE
63 SkEmbossMask_BuildTable(); 65 SkEmbossMask_BuildTable();
64 #endif 66 #endif
65 #ifdef BUILD_RADIALGRADIENT_TABLE 67 #ifdef BUILD_RADIALGRADIENT_TABLE
66 SkRadialGradient_BuildTable(); 68 SkRadialGradient_BuildTable();
67 #endif 69 #endif
68 70
69 #ifdef SK_DEBUGx 71 #ifdef SK_DEBUGx
(...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after
171 if (nextEqual) { 173 if (nextEqual) {
172 val = (size_t) atoi(nextEqual + 1); 174 val = (size_t) atoi(nextEqual + 1);
173 } 175 }
174 (gFlags[i].fFunc)(val); 176 (gFlags[i].fFunc)(val);
175 break; 177 break;
176 } 178 }
177 } 179 }
178 flags = nextSemi + 1; 180 flags = nextSemi + 1;
179 } while (nextSemi); 181 } while (nextSemi);
180 } 182 }
OLDNEW
« no previous file with comments | « include/utils/SkRTConf.h ('k') | src/utils/SkRTConf.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698