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

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

Issue 23021015: Initial error handling code (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: Adapting code to sk_once changes Created 7 years, 1 month 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 | « src/core/SkFlattenableSerialization.cpp ('k') | src/core/SkImageFilter.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 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 SkDebugf("Non-default runtime configuration options:\n");
59 skRTConfRegistry().printNonDefault( ); 59 skRTConfRegistry().printNonDefault( );
60 #endif 60 #endif
61 61
62 SkFlattenable::InitializeFlattenables();
63 #ifdef BUILD_EMBOSS_TABLE 62 #ifdef BUILD_EMBOSS_TABLE
64 SkEmbossMask_BuildTable(); 63 SkEmbossMask_BuildTable();
65 #endif 64 #endif
66 #ifdef BUILD_RADIALGRADIENT_TABLE 65 #ifdef BUILD_RADIALGRADIENT_TABLE
67 SkRadialGradient_BuildTable(); 66 SkRadialGradient_BuildTable();
68 #endif 67 #endif
69 68
70 #ifdef SK_DEBUGx 69 #ifdef SK_DEBUGx
71 int i; 70 int i;
72 71
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after
172 if (nextEqual) { 171 if (nextEqual) {
173 val = (size_t) atoi(nextEqual + 1); 172 val = (size_t) atoi(nextEqual + 1);
174 } 173 }
175 (gFlags[i].fFunc)(val); 174 (gFlags[i].fFunc)(val);
176 break; 175 break;
177 } 176 }
178 } 177 }
179 flags = nextSemi + 1; 178 flags = nextSemi + 1;
180 } while (nextSemi); 179 } while (nextSemi);
181 } 180 }
OLDNEW
« no previous file with comments | « src/core/SkFlattenableSerialization.cpp ('k') | src/core/SkImageFilter.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698